[package]
edition = "2015"
rust-version = "1.59.0"
name = "brotli"
version = "8.0.2"
authors = [
"Daniel Reiter Horn <danielrh@dropbox.com>",
"The Brotli Authors",
]
build = false
include = [
"/src/**/*.rs",
"/examples/**/*.rs",
"/Cargo.toml",
"/README.md",
"/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"
[dependencies.alloc-stdlib]
version = "~0.2"
optional = true
[dependencies.brotli-decompressor]
version = "~5.0"
default-features = false
[dependencies.sha2]
version = "~0.10"
optional = true
[profile.release]
lto = true
incremental = false