Adding try_from library as a dependency

Run this command in a terminal, in your project's directory:

cargo add try_from

To add it manually, edit your project's Cargo.toml file and add to the [dependencies] section:

try_from = "0.3.2"

The try_from library will be automatically available globally. Read the try_from library documentation.

Back to the crate overview.