Initialize a new workspace
This commit is contained in:
parent
73426dd5e0
commit
71709b5058
5 changed files with 24 additions and 0 deletions
7
add/Cargo.lock
generated
Normal file
7
add/Cargo.lock
generated
Normal file
|
@ -0,0 +1,7 @@
|
|||
# This file is automatically @generated by Cargo.
|
||||
# It is not intended for manual editing.
|
||||
version = 4
|
||||
|
||||
[[package]]
|
||||
name = "adder"
|
||||
version = "0.1.0"
|
5
add/Cargo.toml
Normal file
5
add/Cargo.toml
Normal file
|
@ -0,0 +1,5 @@
|
|||
[workspace]
|
||||
|
||||
members = [
|
||||
"adder",
|
||||
]
|
6
add/adder/Cargo.toml
Normal file
6
add/adder/Cargo.toml
Normal file
|
@ -0,0 +1,6 @@
|
|||
[package]
|
||||
name = "adder"
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
|
||||
[dependencies]
|
3
add/adder/src/main.rs
Normal file
3
add/adder/src/main.rs
Normal file
|
@ -0,0 +1,3 @@
|
|||
fn main() {
|
||||
println!("Hello, world!");
|
||||
}
|
|
@ -1,5 +1,8 @@
|
|||
{
|
||||
"folders": [
|
||||
{
|
||||
"path": "./add"
|
||||
},
|
||||
{
|
||||
"path": "./minigrep"
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue