OXYGENHUB
◆ push-notes oxygen / vendor / crc-fast / Cargo.toml
2.9 KiB · last changed Strata: the cloud stores send through ureq, so every release target links 1 month ago source blame history raw
2cd40ea1 Andy McCall ↶ 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.89"
15
name = "crc-fast"
16
version = "1.10.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 = ["lib"]
77
path = "src/lib.rs"
78
bench = false
79
80
[dependencies.digest]
81
version = "0.10"
82
features = ["alloc"]
83
optional = true
84
default-features = false
85
86
[dependencies.hashbrown]
87
version = "0.16.0"
88
optional = true
89
90
[dependencies.spin]
91
version = "0.10.0"
92
features = [
93
    "once",
94
    "rwlock",
95
    "mutex",
96
    "spin_mutex",
97
]
98
optional = true
99
default-features = false
100
101
[dev-dependencies.cbindgen]
102
version = "0.29"
103
104
[dev-dependencies.crc]
105
version = "3.4"
106
107
[dev-dependencies.criterion]
108
version = "0.7"
109
110
[dev-dependencies.proptest]
111
version = "1.9"
112
113
[dev-dependencies.rand]
114
version = "0.9"
115
116
[dev-dependencies.regex]
117
version = "1.12"
118
119
[dev-dependencies.wasm-bindgen-test]
120
version = "0.3"
121
122
[target.'cfg(target_arch = "aarch64")'.dependencies.spin]
123
version = "0.10.0"
124
features = [
125
    "once",
126
    "rwlock",
127
    "mutex",
128
    "spin_mutex",
129
]
130
default-features = false
131
132
[target.'cfg(target_arch = "x86")'.dependencies.spin]
133
version = "0.10.0"
134
features = [
135
    "once",
136
    "rwlock",
137
    "mutex",
138
    "spin_mutex",
139
]
140
default-features = false
141
142
[target.'cfg(target_arch = "x86_64")'.dependencies.spin]
143
version = "0.10.0"
144
features = [
145
    "once",
146
    "rwlock",
147
    "mutex",
148
    "spin_mutex",
149
]
150
default-features = false
151
152
[profile.release]
153
opt-level = 3
154
lto = true
155
codegen-units = 1
156
strip = true