first commit
This commit is contained in:
22
Rust_Concepts/Cargo.toml
Normal file
22
Rust_Concepts/Cargo.toml
Normal file
@@ -0,0 +1,22 @@
|
||||
[package]
|
||||
name = "Concepts"
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
|
||||
[[bin]]
|
||||
name = "Ownership" # the name you’ll use with --bin
|
||||
path = "src/ownership.rs" # path to the source file
|
||||
# cargo run --bin Ownership
|
||||
|
||||
[[bin]]
|
||||
name = "Borrowing" # the name you’ll use with --bin
|
||||
path = "src/borrowing.rs" # path to the source file
|
||||
# cargo run --bin Borrowing
|
||||
|
||||
|
||||
[[bin]]
|
||||
name = "MutBorrowing" # the name you’ll use with --bin
|
||||
path = "src/mutable_borrow.rs" # path to the source file
|
||||
# cargo run --bin MutBorrowing
|
||||
Reference in New Issue
Block a user