48 lines
1.2 KiB
TOML
48 lines
1.2 KiB
TOML
[package]
|
||
name = "Concepts"
|
||
version = "0.1.0"
|
||
edition = "2024"
|
||
|
||
[dependencies]
|
||
|
||
|
||
|
||
# To run examples use
|
||
# cargo run --bin [Something]
|
||
|
||
[[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
|
||
|
||
[[bin]]
|
||
name = "Clone" # the name you’ll use with --bin
|
||
path = "src/clone.rs" # path to the source file
|
||
# cargo run --bin Clone
|
||
|
||
[[bin]]
|
||
name = "StackVSHeap" # the name you’ll use with --bin
|
||
path = "src/stack_vs_heap.rs" # path to the source file
|
||
# cargo run --bin StackVSHeap
|
||
|
||
[[bin]]
|
||
name = "Struct" # the name you’ll use with --bin
|
||
path = "src/struct.rs" # path to the source file
|
||
# cargo run --bin Struct
|
||
|
||
|
||
[[bin]]
|
||
name = "Enum" # the name you’ll use with --bin
|
||
path = "src/enum.rs" # path to the source file
|
||
# cargo run --bin Enum |