[package] name = "git-features" description = "A crate to integrate various capabilities using compile-time feature flags" repository = "https://github.com/Byron/git-oxide" version = "0.2.0" authors = ["Sebastian Thiel "] license = "MIT" edition = "2018" [lib] doctest = false test = false [features] parallel = ["crossbeam-utils", "crossbeam-channel", "num_cpus"] fast-sha1 = ["fastsha1"] progress-log = ["log"] progress-prodash = ["prodash"] [[test]] name = "parallel" path = "tests/parallel.rs" required-features = ["parallel"] [[test]] name = "hash" path = "tests/hash.rs" required-features = ["fast-sha1"] [[test]] name = "slow-hash" path = "tests/hash.rs" required-features = [] [dependencies] # 'parallel' feature crossbeam-utils = { version = "0.7.2", optional = true } crossbeam-channel = { version = "0.4.2", optional = true } num_cpus = { version = "1.13.0", optional = true } # hashing and 'fast-sha1' feature sha1 = "0.6.0" crc = "1.8.1" fastsha1 = { package = "sha-1", version = "0.9.1", optional = true } # progress log = { version = "0.4.8", optional = true } prodash = { version = "7.0.2", optional = true, default-features = false } [package.metadata.docs.rs] all-features = true