# 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" name = "gitoid" version = "0.8.0" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Git Object Identifiers in Rust" homepage = "https://omnibor.io" readme = "README.md" keywords = [ "gitbom", "omnibor", "sbom", "gitoid", ] categories = [ "cryptography", "development-tools", ] license = "Apache-2.0" repository = "https://github.com/omnibor/omnibor-rs" [lib] name = "gitoid" path = "src/lib.rs" [[bench]] name = "benchmark" path = "benches/benchmark.rs" harness = false [dependencies.boring] version = "4.6.0" optional = true [dependencies.digest] version = "0.10.7" [dependencies.format-bytes] version = "0.3.0" optional = true [dependencies.hex] version = "0.4.3" optional = true [dependencies.openssl] version = "0.10.66" optional = true [dependencies.serde] version = "1.0.197" optional = true [dependencies.sha1] version = "0.10.6" optional = true default-features = false [dependencies.sha1collisiondetection] version = "0.3.3" features = ["digest-trait"] optional = true default-features = false [dependencies.sha2] version = "0.10.8" optional = true default-features = false [dependencies.tokio] version = "1.36.0" features = ["io-util"] optional = true [dependencies.url] version = "2.4.1" optional = true [dev-dependencies.criterion] version = "0.5.1" [dev-dependencies.serde_test] version = "1.0.176" [dev-dependencies.tokio] version = "1.36.0" features = [ "io-util", "fs", "rt", "rt-multi-thread", ] [features] async = [ "dep:tokio", "std", ] boringssl = [ "dep:boring", "sha1", "sha256", ] default = [ "async", "hex", "serde", "std", "url", "rustcrypto", "sha1", "sha1cd", "sha256", ] hex = [ "dep:hex", "std", ] openssl = [ "dep:openssl", "sha1", "sha256", ] rustcrypto = [] serde = [ "dep:serde", "url", "std", ] sha1 = ["dep:sha1"] sha1cd = ["dep:sha1collisiondetection"] sha256 = ["dep:sha2"] std = [ "digest/std", "sha1?/std", "sha1collisiondetection?/std", "sha2?/std", "dep:format-bytes", ] url = [ "dep:url", "hex", "std", ]