https://github.com/davideuler/rust-quick-start
rust quick start with examples
https://github.com/davideuler/rust-quick-start
cheat-sheet cheatsheet learning-rust quick-start rust
Last synced: 2 months ago
JSON representation
rust quick start with examples
- Host: GitHub
- URL: https://github.com/davideuler/rust-quick-start
- Owner: davideuler
- License: apache-2.0
- Created: 2022-11-20T08:26:13.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-04-14T12:10:42.000Z (about 2 years ago)
- Last Synced: 2025-02-14T22:32:33.691Z (4 months ago)
- Topics: cheat-sheet, cheatsheet, learning-rust, quick-start, rust
- Language: Rust
- Homepage:
- Size: 59.6 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Run the main.rs
cargo run
## Build and run other program
```
cargo run --bin result_test
cargo run --bin trait_and_dyn
cargo run --bin borrow_test
cargo run --bin box_and_rc
cargo run --bin struct_impl_and_lambda
cargo run --bin struct_impl_simple
```## Run rust jupyter notebooks
```
docker run --name jupyter-rust -d -p 8899:8899 -v `pwd`:/opt/notebooks --platform=linux/amd64 davideuler/jupyter-rust:1.0
docker logs jupyter-rust
```Then you can access the URL for jupyter with rust support as prompted by the running log of the application:
http://localhost:8899/lab?token=xxxxxxxx