| 1 |
[package] |
| 2 |
name = "num-conv" |
| 3 |
version = "0.2.0" |
| 4 |
authors = ["Jacob Pratt <[email protected]>"] |
| 5 |
edition = "2021" |
| 6 |
rust-version = "1.57.0" |
| 7 |
repository = "https://github.com/jhpratt/num-conv" |
| 8 |
keywords = ["cast", "extend", "truncate", "convert", "integer"] |
| 9 |
categories = ["no-std", "no-std::no-alloc", "rust-patterns"] |
| 10 |
readme = "README.md" |
| 11 |
license = "MIT OR Apache-2.0" |
| 12 |
description = """ |
| 13 |
`num_conv` is a crate to convert between integer types without using `as` casts. This provides |
| 14 |
better certainty when refactoring, makes the exact behavior of code more explicit, and allows using |
| 15 |
turbofish syntax. |
| 16 |
""" |
| 17 |
include = ["src/**/*", "LICENSE-*"] |
| 18 |
|
| 19 |
[package.metadata.docs.rs] |
| 20 |
rustdoc-args = ["--generate-link-to-definition"] |
| 21 |
|
| 22 |
[features] |
| 23 |
|
| 24 |
[lints.rust] |
| 25 |
missing-docs = "warn" |
| 26 |
unreachable-pub = "warn" |
| 27 |
unused = "warn" |
| 28 |
|
| 29 |
[lints.clippy] |
| 30 |
alloc-instead-of-core = "deny" |
| 31 |
std-instead-of-core = "deny" |