118 lines
2.8 KiB
TOML
118 lines
2.8 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 = "2015"
|
|
rust-version = "1.59.0"
|
|
name = "brotli"
|
|
version = "8.0.4"
|
|
authors = [
|
|
"Daniel Reiter Horn <danielrh@dropbox.com>",
|
|
"The Brotli Authors",
|
|
]
|
|
build = false
|
|
include = [
|
|
"/src/**/*.rs",
|
|
"/examples/**/*.rs",
|
|
"/Cargo.toml",
|
|
"/README.md",
|
|
"/LICENSE.BSD-3-Clause",
|
|
"/LICENSE.MIT",
|
|
]
|
|
autolib = false
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = "A brotli compressor and decompressor that with an interface avoiding the rust stdlib. This makes it suitable for embedded devices and kernels. It is designed with a pluggable allocator so that the standard lib's allocator may be employed. The default build also includes a stdlib allocator and stream interface. Disable this with --features=no-stdlib. All included code is safe."
|
|
homepage = "https://github.com/dropbox/rust-brotli"
|
|
documentation = "https://docs.rs/brotli/"
|
|
readme = "README.md"
|
|
keywords = [
|
|
"brotli",
|
|
"decompression",
|
|
"lz77",
|
|
"huffman",
|
|
"nostd",
|
|
]
|
|
categories = [
|
|
"compression",
|
|
"no-std",
|
|
]
|
|
license = "BSD-3-Clause AND MIT"
|
|
repository = "https://github.com/dropbox/rust-brotli"
|
|
|
|
[features]
|
|
benchmark = ["brotli-decompressor/benchmark"]
|
|
billing = []
|
|
default = ["std"]
|
|
disable-timer = ["brotli-decompressor/disable-timer"]
|
|
disallow_large_window_size = []
|
|
external-literal-probability = []
|
|
ffi-api = ["brotli-decompressor/ffi-api"]
|
|
float64 = []
|
|
floating_point_context_mixing = []
|
|
no-stdlib-ffi-binding = []
|
|
pass-through-ffi-panics = []
|
|
seccomp = ["brotli-decompressor/seccomp"]
|
|
simd = []
|
|
std = [
|
|
"alloc-stdlib",
|
|
"brotli-decompressor/std",
|
|
]
|
|
validation = ["sha2"]
|
|
vector_scratch_space = []
|
|
|
|
[lib]
|
|
name = "brotli"
|
|
path = "src/lib.rs"
|
|
|
|
[[bin]]
|
|
name = "brotli"
|
|
path = "src/bin/brotli.rs"
|
|
doc = false
|
|
|
|
[[bin]]
|
|
name = "catbrotli"
|
|
path = "src/bin/catbrotli.rs"
|
|
doc = false
|
|
|
|
[[example]]
|
|
name = "compress"
|
|
path = "examples/compress.rs"
|
|
|
|
[[example]]
|
|
name = "decompress"
|
|
path = "examples/decompress.rs"
|
|
|
|
[dependencies.alloc-no-stdlib]
|
|
version = ">=2.0.4, <3"
|
|
|
|
[dependencies.alloc-stdlib]
|
|
version = "~0.2"
|
|
optional = true
|
|
|
|
[dependencies.brotli-decompressor]
|
|
version = "~5.0"
|
|
default-features = false
|
|
|
|
[dependencies.sha2]
|
|
version = "~0.10"
|
|
optional = true
|
|
|
|
[dev-dependencies.alloc-no-stdlib]
|
|
version = ">=2.0.4, <3"
|
|
features = ["unsafe"]
|
|
|
|
[profile.release]
|
|
lto = true
|
|
incremental = false
|