# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.57.0" name = "num-conv" version = "0.1.0" authors = ["Jacob Pratt "] include = [ "src/**/*", "LICENSE-*", ] description = """ `num_conv` is a crate to convert between integer types without using `as` casts. This provides better certainty when refactoring, makes the exact behavior of code more explicit, and allows using turbofish syntax. """ readme = "README.md" keywords = [ "cast", "extend", "truncate", "convert", "integer", ] categories = [ "no-std", "no-std::no-alloc", "rust-patterns", ] license = "MIT OR Apache-2.0" repository = "https://github.com/jhpratt/num-conv" [package.metadata.docs.rs] rustdoc-args = ["--generate-link-to-definition"] [features] [lints.clippy] alloc-instead-of-core = "deny" std-instead-of-core = "deny" [lints.rust] missing-docs = "warn" unreachable-pub = "warn" unused = "warn"