Files
Learning/Rust_Concepts/Cargo.toml
2026-04-15 23:34:55 -07:00

48 lines
1.2 KiB
TOML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
[package]
name = "Concepts"
version = "0.1.0"
edition = "2024"
[dependencies]
# To run examples use
# cargo run --bin [Something]
[[bin]]
name = "Ownership" # the name youll use with --bin
path = "src/ownership.rs" # path to the source file
# cargo run --bin Ownership
[[bin]]
name = "Borrowing" # the name youll use with --bin
path = "src/borrowing.rs" # path to the source file
# cargo run --bin Borrowing
[[bin]]
name = "MutBorrowing" # the name youll use with --bin
path = "src/mutable_borrow.rs" # path to the source file
# cargo run --bin MutBorrowing
[[bin]]
name = "Clone" # the name youll use with --bin
path = "src/clone.rs" # path to the source file
# cargo run --bin Clone
[[bin]]
name = "StackVSHeap" # the name youll use with --bin
path = "src/stack_vs_heap.rs" # path to the source file
# cargo run --bin StackVSHeap
[[bin]]
name = "Struct" # the name youll use with --bin
path = "src/struct.rs" # path to the source file
# cargo run --bin Struct
[[bin]]
name = "Enum" # the name youll use with --bin
path = "src/enum.rs" # path to the source file
# cargo run --bin Enum