Adding const_type library as a dependency

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

cargo add const_type

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

const_type = "0.1.3"

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

Back to the crate overview.