[go: up one dir, main page]

brotli 8.0.1

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.
Documentation
[[bin]]
doc = false
name = "brotli"
path = "src/bin/brotli.rs"

[[bin]]
doc = false
name = "catbrotli"
path = "src/bin/catbrotli.rs"

[dependencies.alloc-no-stdlib]
version = "2.0"

[dependencies.alloc-stdlib]
optional = true
version = "~0.2"

[dependencies.brotli-decompressor]
default-features = false
version = "~5.0"

[dependencies.sha2]
optional = true
version = "~0.10"

[[example]]
name = "compress"
path = "examples/compress.rs"

[[example]]
name = "decompress"
path = "examples/decompress.rs"

[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"

[package]
authors = ["Daniel Reiter Horn <danielrh@dropbox.com>", "The Brotli Authors"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["compression", "no-std"]
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."
documentation = "https://docs.rs/brotli/"
edition = "2015"
homepage = "https://github.com/dropbox/rust-brotli"
include = ["/src/**/*.rs", "/examples/**/*.rs", "/Cargo.toml", "/README.md", "/LICENSE.MIT"]
keywords = ["brotli", "decompression", "lz77", "huffman", "nostd"]
license = "BSD-3-Clause AND MIT"
name = "brotli"
readme = "README.md"
repository = "https://github.com/dropbox/rust-brotli"
rust-version = "1.59.0"
version = "8.0.1"

[profile.release]
incremental = false
lto = true