Notes and demo code related to Rust learning
cargo version
[workspace] members = [ "basics", "value_demo", "persist_data", "scrape_url", "httpie" ]
cargo new <project-name> cargo new <lib-name> --lib
[dependencies] anyhow = "1"
cargo install cargo-edit cargo add anyhow colored jsonxf mime
cargo run
cargo build cargo build --quiet cargo build --release
cargo test
from https://github.com/pseudoyu/learn-rust
No comments:
Post a Comment