Debian Codegraph @

debian/rust-vendor/hybrid-array/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 = "2024"
14 rust-version = "1.85"
15 name = "hybrid-array"
16 version = "0.4.14"
17 authors = ["RustCrypto Developers"]
18 build = false
19 autolib = false
20 autobins = false
21 autoexamples = false
22 autotests = false
23 autobenches = false
24 description = """
25 Hybrid typenum-based and const generic array types designed to provide the
26 flexibility of typenum-based expressions while also allowing interoperability
27 and a transition path to const generics
28 """
29 documentation = "https://docs.rs/hybrid-array"
30 readme = "README.md"
31 keywords = ["generic-array"]
32 categories = [
33 "no-std",
34 "data-structures",
35 ]
36 license = "MIT OR Apache-2.0"
37 repository = "https://github.com/RustCrypto/hybrid-array"
38
39 [package.metadata.docs.rs]
40 all-features = true
41
42 [features]
43 alloc = []
44 extra-sizes = []
45
46 [lib]
47 name = "hybrid_array"
48 path = "src/lib.rs"
49
50 [[test]]
51 name = "ctutils"
52 path = "tests/ctutils.rs"
53
54 [[test]]
55 name = "mod"
56 path = "tests/mod.rs"
57
58 [[test]]
59 name = "subtle"
60 path = "tests/subtle.rs"
61
62 [dependencies.arbitrary]
63 version = "1"
64 optional = true
65
66 [dependencies.bytemuck]
67 version = "1"
68 optional = true
69 default-features = false
70
71 [dependencies.ctutils]
72 version = "0.4"
73 optional = true
74
75 [dependencies.serde]
76 version = "1"
77 optional = true
78 default-features = false
79
80 [dependencies.subtle]
81 version = "2"
82 features = ["const-generics"]
83 optional = true
84 default-features = false
85
86 [dependencies.typenum]
87 version = "1.20"
88 features = ["const-generics"]
89
90 [dependencies.zerocopy]
91 version = "0.8"
92 features = ["derive"]
93 optional = true
94
95 [dependencies.zeroize]
96 version = "1.8"
97 optional = true
98 default-features = false
99
100 [dev-dependencies.serde_json]
101 version = "1"
102
103 [lints.clippy]
104 arithmetic_side_effects = "warn"
105 borrow_as_ptr = "warn"
106 cast_lossless = "warn"
107 cast_possible_truncation = "warn"
108 cast_possible_wrap = "warn"
109 cast_precision_loss = "warn"
110 cast_sign_loss = "warn"
111 checked_conversions = "warn"
112 doc_markdown = "warn"
113 from_iter_instead_of_collect = "warn"
114 implicit_saturating_sub = "warn"
115 manual_assert = "warn"
116 map_unwrap_or = "warn"
117 missing_errors_doc = "warn"
118 missing_panics_doc = "warn"
119 mod_module_files = "warn"
120 must_use_candidate = "warn"
121 panic = "warn"
122 panic_in_result_fn = "warn"
123 ptr_as_ptr = "warn"
124 redundant_closure_for_method_calls = "warn"
125 ref_as_ptr = "warn"
126 return_self_not_must_use = "warn"
127 semicolon_if_nothing_returned = "warn"
128 std_instead_of_alloc = "warn"
129 std_instead_of_core = "warn"
130 trivially_copy_pass_by_ref = "warn"
131 unwrap_in_result = "warn"
132 unwrap_used = "warn"
133
134 [lints.rust]
135 missing_copy_implementations = "warn"
136 missing_debug_implementations = "warn"
137 missing_docs = "warn"
138 trivial_casts = "warn"
139 trivial_numeric_casts = "warn"
140 unused_lifetimes = "warn"
141 unused_qualifications = "warn"