Debian Codegraph @

.cargo/vendor/miniz_oxide/Cargo.toml.orig

raw
1 [package]
2 name = "miniz_oxide"
3 authors = ["Frommi <[email protected]>", "oyvindln <[email protected]>", "Rich Geldreich [email protected]"]
4 version = "0.8.9"
5 license = "MIT OR Zlib OR Apache-2.0"
6 readme = "Readme.md"
7 keywords = ["zlib", "miniz", "deflate", "encoding"]
8 categories = ["compression"]
9 repository = "https://github.com/Frommi/miniz_oxide/tree/master/miniz_oxide"
10 homepage = "https://github.com/Frommi/miniz_oxide/tree/master/miniz_oxide"
11 documentation = "https://docs.rs/miniz_oxide"
12 description = "DEFLATE compression and decompression library rewritten in Rust based on miniz"
13 edition = "2021"
14 exclude = ["benches/*", "tests/*"]
15
16 [lib]
17 name = "miniz_oxide"
18
19 [dependencies]
20 adler2 = { version = "2.0", default-features = false }
21 simd-adler32 = { version = "0.3.3", default-features = false, optional = true }
22 serde = { version = "1.0", features = ["derive"], optional = true }
23
24 # Internal feature, only used when building as part of libstd, not part of the
25 # stable interface of this crate.
26 core = { version = '1.0.0', optional = true, package = 'rustc-std-workspace-core' }
27 alloc = { version = '1.0.0', optional = true, package = 'rustc-std-workspace-alloc' }
28
29
30 [dev-dependencies]
31 ## Messes with minimum rust version and drags in deps just for running tests
32 ## so just comment out for now and enable manually when needed for enabling benches
33 # criterion = "0.5"
34
35 [[bench]]
36 name = "benchmark"
37 harness = false
38
39 [features]
40 default = ["with-alloc"]
41 with-alloc = []
42 std = []
43 block-boundary = []
44
45 # Internal feature, only used when building as part of libstd, not part of the
46 # stable interface of this crate.
47 rustc-dep-of-std = ['core', 'alloc', 'adler2/rustc-dep-of-std']
48
49 simd = ['simd-adler32']
50
51 # Disable unexpected cfg name warning from to !cfg(fuzzing) - compiler is not aware of the fuzzing feature since it comes from the environment
52 # see https://github.com/rust-fuzz/cargo-fuzz/issues/372
53 [lints.rust]
54 unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] }