# 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 = "2024"
rust-version = "1.89.0"
name = "simd-brotli"
version = "9.1.2"
authors = [
"Mikhail Panfilov <mihan@panfilov.biz>",
"Daniel Reiter Horn <danielrh@dropbox.com>",
"The Brotli Authors",
]
build = false
include = [
"/src/**/*.rs",
"/examples/**/*.rs",
"/Cargo.toml",
"/README.md",
"/CHANGELOG.md",
"/LICENSE.BSD-3-Clause",
"/LICENSE.MIT",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A brotli compressor and decompressor with an interface avoiding the rust stdlib, so it suits embedded devices and kernels. A fork of `brotli` whose encoder hot paths are vectorized with `fearless_simd`, giving runtime-dispatched SIMD on stable Rust with no unsafe code. 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/Mnwa/rust-brotli"
documentation = "https://docs.rs/simd-brotli/"
readme = "README.md"
keywords = [
"brotli",
"compression",
"simd",
"lz77",
"nostd",
]
categories = [
"compression",
"no-std",
]
license = "BSD-3-Clause AND MIT"
repository = "https://github.com/Mnwa/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 = []
hotpath = [
"dep:hotpath",
"hotpath/hotpath",
"std",
]
hotpath-alloc = [
"hotpath",
"hotpath/hotpath-alloc",
]
hotpath-cpu = [
"hotpath",
"hotpath/hotpath-cpu",
]
no-stdlib-ffi-binding = []
pass-through-ffi-panics = []
seccomp = ["brotli-decompressor/seccomp"]
std = [
"alloc-stdlib",
"brotli-decompressor/std",
"fearless_simd/std",
]
validation = ["sha2"]
vector_scratch_space = []
[lib]
name = "simd_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.fearless_simd]
version = "~0.7"
features = ["libm"]
default-features = false
[dependencies.hotpath]
version = "~0.23"
optional = true
[dependencies.sha2]
version = "~0.11"
optional = true
[dev-dependencies.alloc-no-stdlib]
version = ">=2.0.4, <3"
features = ["unsafe"]
[profile.release]
lto = true
incremental = false