Thanks to visit codestin.com Credit goes to lib.rs
This crate requires a nightly (unstable, experimental) compiler version. To switch to it, you must have Rust installed via Rustup, and run:
rustup default nightly
Run rustup default stable to switch back.
rustup default stable
derive_from
Run this command in a terminal, in your project's directory:
cargo add derive_from
To add it manually, edit your project's Cargo.toml file and add to the [dependencies] section:
Cargo.toml
[dependencies]
derive_from = "0.1.1"
The derive_from library will be automatically available globally.
Back to the crate overview.