license 2.0.0

Provides embedded license information from SPDX.
docs.rs failed to build license-2.0.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: license-3.3.1

license

Travis Crates.io Docs

Provides embedded license information from SPDX.

let apache2 = "Apache-2.0".parse::<&dyn License>().unwrap();
assert_eq!(apache2.name(), "Apache License 2.0");

License exceptions are also supported.

let gcc = "GCC-exception-3.1".parse::<&dyn Exception>().unwrap();
assert_eq!(gcc.name(), "GCC Runtime Library exception 3.1");

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.