32 lines
873 B
TOML
32 lines
873 B
TOML
[package]
|
|
name = "num-conv"
|
|
version = "0.2.2"
|
|
authors = ["Jacob Pratt <jacob@jhpratt.dev>"]
|
|
edition = "2021"
|
|
rust-version = "1.57.0"
|
|
repository = "https://github.com/jhpratt/num-conv"
|
|
keywords = ["cast", "extend", "truncate", "convert", "integer"]
|
|
categories = ["no-std", "no-std::no-alloc", "rust-patterns"]
|
|
readme = "README.md"
|
|
license = "MIT OR Apache-2.0"
|
|
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.
|
|
"""
|
|
include = ["src/**/*", "LICENSE-*"]
|
|
|
|
[package.metadata.docs.rs]
|
|
rustdoc-args = ["--generate-link-to-definition"]
|
|
|
|
[features]
|
|
|
|
[lints.rust]
|
|
missing-docs = "warn"
|
|
unreachable-pub = "warn"
|
|
unused = "warn"
|
|
|
|
[lints.clippy]
|
|
alloc-instead-of-core = "deny"
|
|
std-instead-of-core = "deny"
|