[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