Debian Codegraph @

third_party/rust/num-conv/Cargo.toml

raw
1 # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2 #
3 # When uploading crates to the registry Cargo will automatically
4 # "normalize" Cargo.toml files for maximal compatibility
5 # with all versions of Cargo and also rewrite `path` dependencies
6 # to registry (e.g., crates.io) dependencies.
7 #
8 # If you are reading this file be aware that the original Cargo.toml
9 # will likely look very different (and much more reasonable).
10 # See Cargo.toml.orig for the original contents.
11
12 [package]
13 edition = "2021"
14 rust-version = "1.57.0"
15 name = "num-conv"
16 version = "0.1.0"
17 authors = ["Jacob Pratt <[email protected]>"]
18 include = [
19 "src/**/*",
20 "LICENSE-*",
21 ]
22 description = """
23 `num_conv` is a crate to convert between integer types without using `as` casts. This provides
24 better certainty when refactoring, makes the exact behavior of code more explicit, and allows using
25 turbofish syntax.
26 """
27 readme = "README.md"
28 keywords = [
29 "cast",
30 "extend",
31 "truncate",
32 "convert",
33 "integer",
34 ]
35 categories = [
36 "no-std",
37 "no-std::no-alloc",
38 "rust-patterns",
39 ]
40 license = "MIT OR Apache-2.0"
41 repository = "https://github.com/jhpratt/num-conv"
42
43 [package.metadata.docs.rs]
44 rustdoc-args = ["--generate-link-to-definition"]
45
46 [features]
47
48 [lints.clippy]
49 alloc-instead-of-core = "deny"
50 std-instead-of-core = "deny"
51
52 [lints.rust]
53 missing-docs = "warn"
54 unreachable-pub = "warn"
55 unused = "warn"