Files
Learning/Rust_Concepts/Cargo.toml
2026-04-04 08:00:20 -07:00

22 lines
552 B
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]
[[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