/rust-article

Some rust examples for an article

Primary LanguageRust

rust-article

Some rust examples for an article

cargo run --example helloworld
cargo run --example hello_closure
cargo run --example borrowchecker

cargo test --example typesystem_enums_operators

rustdoc --test ./examples/doctests.rs

docker run -it --rm -p 6379:6379 redis
cargo run --example tide_api
cd loadtest && cargo run -- --host http://127.0.0.1:8080 -u500 -r20

cargo run --example optimus_prime1

cargo test --example optimus_prime1 -- --nocapture
cargo test --example optimus_prime2 -- --nocapture

cargo expand --example macros