summaryrefslogtreecommitdiffstats
path: root/third_party/rust/miniz_oxide/Cargo.toml
blob: bbb3e9adbfdbd6a5fd81d2c630c1047345ce7e6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2018"
name = "miniz_oxide"
version = "0.6.2"
authors = [
    "Frommi <daniil.liferenko@gmail.com>",
    "oyvindln <oyvindln@users.noreply.github.com>",
]
exclude = [
    "benches/*",
    "tests/*",
]
description = "DEFLATE compression and decompression library rewritten in Rust based on miniz"
homepage = "https://github.com/Frommi/miniz_oxide/tree/master/miniz_oxide"
documentation = "https://docs.rs/miniz_oxide"
readme = "Readme.md"
keywords = [
    "zlib",
    "miniz",
    "deflate",
    "encoding",
]
categories = ["compression"]
license = "MIT OR Zlib OR Apache-2.0"
repository = "https://github.com/Frommi/miniz_oxide/tree/master/miniz_oxide"

[lib]
name = "miniz_oxide"

[dependencies.adler]
version = "1.0"
default-features = false

[dependencies.alloc]
version = "1.0.0"
optional = true
package = "rustc-std-workspace-alloc"

[dependencies.compiler_builtins]
version = "0.1.2"
optional = true

[dependencies.core]
version = "1.0.0"
optional = true
package = "rustc-std-workspace-core"

[dependencies.simd-adler32]
version = "0.3"
optional = true
default-features = false

[features]
default = ["with-alloc"]
rustc-dep-of-std = [
    "core",
    "alloc",
    "compiler_builtins",
    "adler/rustc-dep-of-std",
]
simd = ["simd-adler32"]
std = []
with-alloc = []