-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
31 lines (27 loc) · 873 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
[package]
name = "num-conv"
version = "0.1.0"
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"