[package] name = "vach" # NOTE: Make sure spec.txt and vach::VERSION constants are all synced up version = "0.6.2" edition = "2021" authors = [ "Newton Toto ", "Jasper Fortuin ", ] description = "A simple archiving format, designed for storing assets in compact secure containers" license = "MIT" repository = "https://github.com/zeskeertwee/vach" categories = ["games", "compression"] keywords = ["archive", "filesystem", "compression", "game", "assets"] documentation = "https://docs.rs/vach" readme = "README.md" include = ["Cargo.toml", "Cargo.lock", "src/*"] [dependencies] thiserror = "1.0.63" # Authentication dependencies ed25519-dalek = { version = "2.1.1", optional = true } rand = { version = "0.8.5", optional = true } # Encryption dependencies aes-gcm = { version = "0.10.3", features = ["aes"], optional = true } # Compression dependencies lz4_flex = { version = "0.11.3", optional = true, default-features = false, features = [ "frame", ] } snap = { version = "1.1.1", optional = true } brotli = { version = "6.0.0", optional = true } [dev-dependencies] rayon = "1.10.0" [features] default = ["builder", "archive"] all = ["default", "compression", "crypto", "multithreaded"] archive = [] builder = [] crypto = ["ed25519-dalek", "aes-gcm", "rand"] multithreaded = [] compression = ["snap", "lz4_flex", "brotli"] [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "docsrs"]