[package] name = "askalono" version = "0.5.0" edition = "2021" description = "a library to detect the contents of license files" license = "Apache-2.0" repository = "https://github.com/jpeddicord/askalono" authors = ["Jacob Peddicord "] readme = "README.md" include = [ "/Cargo.toml", "/examples/**/*", "/LICENSE", "/NOTICE", "/README.md", "/src/**/*", ] [dependencies] anyhow = "1.0.44" lazy_static = "1.3.0" log = "0.4.6" regex = "1.1.7" rmp-serde = "1.1.1" serde = { version = "1.0.92", features = ["derive"] } unicode-normalization = "0.1.8" # spdx deps serde_json = { version = "1.0.39", optional = true } # gzip via flate2 is available via feature flag if you prefer that over # zstd. it's also enabled for wasm32 builds, as zstd doesn't yet compile for # that target. in order to build a gzip cache, you'll need the flag enabled # on your build machine too. [target.'cfg(not(target_arch = "wasm32"))'.dependencies] rayon = "1.2" zstd = "0.13" flate2 = { version = "1.0.14", optional = true } [target.'cfg(target_arch = "wasm32")'.dependencies] flate2 = "1.0.14" [dev-dependencies] env_logger = "0.11" [lib] name = "askalono" path = "src/lib.rs" [features] default = ["spdx"] gzip = ["flate2"] spdx = ["serde_json"]