Skip to content

Commit

Permalink
feat: init rust layout
Browse files Browse the repository at this point in the history
  • Loading branch information
nonzzz committed Oct 31, 2023
1 parent 4c71ddf commit 0a84c2e
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ example/**/.yarn/

coverage

internal/target
crates/target
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"editor.formatOnSave": true
},
"rust-analyzer.linkedProjects": [
".\\internal\\Cargo.toml"
".\\crates\\Cargo.toml"
]
}

7 changes: 7 additions & 0 deletions crates/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions crates/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[package]
name = "crates"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
3 changes: 3 additions & 0 deletions crates/src/main.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
fn main() {
println!("Hello, world!");
}

0 comments on commit 0a84c2e

Please sign in to comment.