readonly
Struct fields that are made read-only accessible to other modules
File Explorer
Download Latest Version (.zip)- ci.yml
- FUNDING.yml
- expand.rs
- lib.rs
- enum.rs
- enum.stderr
- readme.rs
- readme.stderr
- readonly-meta.rs
- readonly-meta.stderr
- unit-struct.rs
- unit-struct.stderr
- compiletest.rs
- readme.rs
- .gitignore
- Cargo.toml
- LICENSE-APACHE
- LICENSE-MIT
- README.md
# Installation Guide
1. Get the code
git clone https://github.com/dtolnay/readonly
Downloads the entire project code from GitHub to your computer.
cd readonly
Moves into the project folder you just downloaded.
2. Rust
Medium RecommendedPrerequisites
- Git Needed to download the project code from GitHub.
- Rust (rustup) Installing via rustup also installs cargo.
cargo build --release
Compiles the Rust project.
cargo run
Builds and then immediately runs the program.
If cargo build finishes without errors, it worked. The executable is created under target/.
// repository documentation
Was this content helpful?
(0 ratings)
