From 684c4c4cb8a4cb9aa1ad6258b917b3aa253fd560 Mon Sep 17 00:00:00 2001 From: Mikkeli Date: Fri, 4 Sep 2026 17:15:58 +0900 Subject: [PATCH] Add language scaffolding: manifest, gitignore, editorconfig Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_013kj58Jugkic783b8ZrtTVZ --- .editorconfig | 17 +++++++++++++++++ .gitignore | 4 ++++ Cargo.toml | 8 ++++++++ rust-toolchain.toml | 2 ++ src/main.rs | 3 +++ 5 files changed, 34 insertions(+) create mode 100644 .editorconfig create mode 100644 .gitignore create mode 100644 Cargo.toml create mode 100644 rust-toolchain.toml create mode 100644 src/main.rs diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..27c7aab --- /dev/null +++ b/.editorconfig @@ -0,0 +1,17 @@ +root = true + +[*] +charset = utf-8 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true +indent_style = space + +[*.{rs,toml}] +indent_size = 4 + +[*.{py,dart,json,yaml,yml}] +indent_size = 2 + +[*.md] +trim_trailing_whitespace = false diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..734cc5a --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +/target +*.pdb + +# Cargo.lock IS committed: these crates build binaries, not libraries. diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..917176c --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,8 @@ +[package] +name = "svc-nav" +version = "0.1.0" +edition = "2021" +description = "Navigation service: routing and guidance" +publish = false + +[dependencies] diff --git a/rust-toolchain.toml b/rust-toolchain.toml new file mode 100644 index 0000000..292fe49 --- /dev/null +++ b/rust-toolchain.toml @@ -0,0 +1,2 @@ +[toolchain] +channel = "stable" diff --git a/src/main.rs b/src/main.rs new file mode 100644 index 0000000..563cee7 --- /dev/null +++ b/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("{} is not implemented yet", env!("CARGO_PKG_NAME")); +}