# 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 = "2021" rust-version = "1.80" name = "precompress_static" version = "0.1.1" authors = ["Jerome David "] build = false include = [ "Cargo.toml", "src", "LICENSE", "README.md", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Brotli pre-compression for http static content" readme = "README.md" keywords = [ "static", "compression", "brotli", ] categories = ["compression"] license = "MIT" repository = "https://github.com/programingjd/precompress" [lib] name = "precompress_static" path = "src/lib.rs" [[bin]] name = "br" path = "src/br.rs" required-features = ["sync"] [[bin]] name = "br-async" path = "src/br-async.rs" required-features = ["async"] [dependencies.brotli] version = "6.0" features = [ "std", "disable-timer", "simd", ] default-features = false [dependencies.clap] version = "4.5" features = [ "std", "derive", "help", "usage", "color", ] default-features = false [dependencies.highway] version = "1.2" features = [] default-features = false [dependencies.rayon] version = "1.10" features = [] optional = true default-features = false [dependencies.tokio] version = "1.39" features = [ "fs", "rt-multi-thread", "io-util", ] optional = true default-features = false [features] async = ["dep:tokio"] default = ["sync"] sync = ["dep:rayon"]