Debian Codegraph @

debian/rust-vendor/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.2.2"
17 authors = ["Jacob Pratt <[email protected]>"]
18 build = false
19 include = [
20 "src/**/*",
21 "LICENSE-*",
22 ]
23 autolib = false
24 autobins = false
25 autoexamples = false
26 autotests = false
27 autobenches = false
28 description = """
29 `num_conv` is a crate to convert between integer types without using `as` casts. This provides
30 better certainty when refactoring, makes the exact behavior of code more explicit, and allows using
31 turbofish syntax.
32 """
33 readme = "README.md"
34 keywords = [
35 "cast",
36 "extend",
37 "truncate",
38 "convert",
39 "integer",
40 ]
41 categories = [
42 "no-std",
43 "no-std::no-alloc",
44 "rust-patterns",
45 ]
46 license = "MIT OR Apache-2.0"
47 repository = "https://github.com/jhpratt/num-conv"
48
49 [package.metadata.docs.rs]
50 rustdoc-args = ["--generate-link-to-definition"]
51
52 [features]
53
54 [lib]
55 name = "num_conv"
56 path = "src/lib.rs"
57
58 [lints.clippy]
59 alloc-instead-of-core = "deny"
60 std-instead-of-core = "deny"
61
62 [lints.rust]
63 missing-docs = "warn"
64 unreachable-pub = "warn"
65 unused = "warn"