Debian Codegraph @

debian/rust-vendor/crc-fast/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.81"
15 name = "crc-fast"
16 version = "1.9.0"
17 authors = ["Don MacAskill"]
18 build = false
19 autolib = false
20 autobins = false
21 autoexamples = false
22 autotests = false
23 autobenches = false
24 description = "World's fastest generic CRC16, CRC32, and CRC64 calculator using SIMD. Supplies a C-compatible shared library for use in other languages."
25 readme = "README.md"
26 keywords = [
27 "crc",
28 "checksum",
29 "simd",
30 "accelerated",
31 "fast",
32 ]
33 categories = [
34 "algorithms",
35 "encoding",
36 "hardware-support",
37 ]
38 license = "MIT OR Apache-2.0"
39 repository = "https://github.com/awesomized/crc-fast-rust"
40
41 [package.metadata.docs.rs]
42 features = ["std"]
43 rustdoc-args = [
44 "--cfg",
45 "docsrs",
46 ]
47
48 [features]
49 alloc = ["digest"]
50 cache = [
51 "alloc",
52 "hashbrown",
53 "spin",
54 ]
55 cli = ["std"]
56 default = [
57 "std",
58 "panic-handler",
59 "ffi",
60 ]
61 ffi = []
62 optimize_crc32_auto = []
63 optimize_crc32_avx512_v4s3x3 = []
64 optimize_crc32_avx512_vpclmulqdq_v3x2 = []
65 optimize_crc32_neon_blended = []
66 optimize_crc32_neon_eor3_v9s3x2e_s3 = []
67 optimize_crc32_neon_v12e_v1 = []
68 optimize_crc32_neon_v3s4x2e_v2 = []
69 optimize_crc32_sse_v4s3x3 = []
70 panic-handler = []
71 std = ["alloc"]
72 vpclmulqdq = []
73
74 [lib]
75 name = "crc_fast"
76 crate-type = [
77 "lib",
78 "cdylib",
79 "staticlib",
80 ]
81 path = "src/lib.rs"
82 bench = true
83
84 [[bin]]
85 name = "arch-check"
86 path = "src/bin/arch-check.rs"
87 required-features = ["cli"]
88
89 [[bin]]
90 name = "checksum"
91 path = "src/bin/checksum.rs"
92 required-features = ["cli"]
93
94 [[bin]]
95 name = "get-custom-params"
96 path = "src/bin/get-custom-params.rs"
97 required-features = ["cli"]
98
99 [[test]]
100 name = "checksum_integration_tests"
101 path = "tests/checksum_integration_tests.rs"
102 required-features = ["cli"]
103
104 [[test]]
105 name = "no_std_tests"
106 path = "tests/no_std_tests.rs"
107
108 [[test]]
109 name = "wasm_tests"
110 path = "tests/wasm_tests.rs"
111
112 [[bench]]
113 name = "benchmark"
114 path = "benches/benchmark.rs"
115 harness = false
116 required-features = ["std"]
117
118 [dependencies.crc]
119 version = "~3.3"
120
121 [dependencies.digest]
122 version = "0.10"
123 features = ["alloc"]
124 optional = true
125 default-features = false
126
127 [dependencies.hashbrown]
128 version = "0.16.0"
129 optional = true
130
131 [dependencies.indexmap]
132 version = ">=2.11.0, <2.12.0"
133 optional = true
134
135 [dependencies.rustversion]
136 version = "1.0"
137
138 [dependencies.spin]
139 version = "0.10.0"
140 features = [
141 "once",
142 "rwlock",
143 "mutex",
144 "spin_mutex",
145 ]
146 optional = true
147 default-features = false
148
149 [dev-dependencies.cbindgen]
150 version = "0.29"
151
152 [dev-dependencies.criterion]
153 version = "0.7"
154
155 [dev-dependencies.proptest]
156 version = "~1.8"
157
158 [dev-dependencies.rand]
159 version = "0.9"
160
161 [dev-dependencies.regex]
162 version = "1.12"
163
164 [dev-dependencies.wasm-bindgen-test]
165 version = "0.3"
166
167 [target.'cfg(target_arch = "aarch64")'.dependencies.spin]
168 version = "0.10.0"
169 features = [
170 "once",
171 "rwlock",
172 "mutex",
173 "spin_mutex",
174 ]
175 default-features = false
176
177 [target.'cfg(target_arch = "x86")'.dependencies.spin]
178 version = "0.10.0"
179 features = [
180 "once",
181 "rwlock",
182 "mutex",
183 "spin_mutex",
184 ]
185 default-features = false
186
187 [target.'cfg(target_arch = "x86_64")'.dependencies.spin]
188 version = "0.10.0"
189 features = [
190 "once",
191 "rwlock",
192 "mutex",
193 "spin_mutex",
194 ]
195 default-features = false
196
197 [profile.release]
198 opt-level = 3
199 lto = true
200 codegen-units = 1
201 strip = true