101 lines
2.0 KiB
TOML
101 lines
2.0 KiB
TOML
# 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 = "ruzstd"
|
|
version = "0.8.1"
|
|
authors = ["Moritz Borcherding <moritz.borcherding@web.de>"]
|
|
build = false
|
|
exclude = [
|
|
"decodecorpus_files/*",
|
|
"dict_tests/*",
|
|
"fuzz_decodecorpus/*",
|
|
]
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = "A decoder for the zstd compression format"
|
|
homepage = "https://github.com/KillingSpark/zstd-rs"
|
|
readme = "Readme.md"
|
|
keywords = [
|
|
"zstd",
|
|
"zstandard",
|
|
"decompression",
|
|
]
|
|
categories = ["compression"]
|
|
license = "MIT"
|
|
repository = "https://github.com/KillingSpark/zstd-rs"
|
|
|
|
[lib]
|
|
name = "ruzstd"
|
|
path = "src/lib.rs"
|
|
|
|
[[bin]]
|
|
name = "zstd"
|
|
path = "src/bin/zstd.rs"
|
|
required-features = ["std"]
|
|
|
|
[[bin]]
|
|
name = "zstd_stream"
|
|
path = "src/bin/zstd_stream.rs"
|
|
required-features = ["std"]
|
|
|
|
[[bench]]
|
|
name = "decode_all"
|
|
path = "benches/decode_all.rs"
|
|
harness = 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.twox-hash]
|
|
version = "2.0"
|
|
features = ["xxhash64"]
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dev-dependencies.criterion]
|
|
version = "0.5"
|
|
|
|
[dev-dependencies.rand]
|
|
version = "0.8.5"
|
|
features = ["small_rng"]
|
|
|
|
[dev-dependencies.zstd]
|
|
version = "0.13.2"
|
|
|
|
[features]
|
|
default = [
|
|
"hash",
|
|
"std",
|
|
]
|
|
fuzz_exports = []
|
|
hash = ["dep:twox-hash"]
|
|
rustc-dep-of-std = [
|
|
"dep:compiler_builtins",
|
|
"dep:core",
|
|
"dep:alloc",
|
|
]
|
|
std = []
|