[package] name = "git-odb" version = "0.31.0" repository = "https://github.com/Byron/gitoxide" authors = ["Sebastian Thiel "] license = "MIT/Apache-2.0" description = "Implements various git object databases" edition = "2018" include = ["src/**/*", "CHANGELOG.md"] [lib] doctest = false [features] internal-testing-git-features-parallel = ["git-features/parallel"] ## Data structures implement `serde::Serialize` and `serde::Deserialize`. serde1 = ["serde", "git-hash/serde1", "git-object/serde1", "git-pack/serde1" ] [[test]] name = "multi-threaded" path = "tests/odb-multi-threaded.rs" required-features = ["internal-testing-git-features-parallel"] [[test]] name = "single-threaded" path = "tests/odb-single-threaded.rs" required-features = [] [dependencies] git-features = { version = "^0.22.0", path = "../git-features", features = ["rustsha1", "walkdir", "zlib", "crc32" ] } git-path = { version = "^0.4.0", path = "../git-path" } git-hash = { version = "^0.9.6", path = "../git-hash" } git-quote = { version = "^0.2.0", path = "../git-quote" } git-object = { version = "^0.20.0", path = "../git-object" } git-pack = { version = "^0.21.0", path = "../git-pack" } serde = { version = "1.0.114", optional = true, default-features = false, features = ["derive"]} tempfile = "3.1.0" thiserror = "1.0.26" parking_lot = { version = "0.12.0" } arc-swap = "1.5.0" document-features = { version = "0.2.0", optional = true } [dev-dependencies] git-testtools = { path = "../tests/tools"} git-actor = { path = "../git-actor" } pretty_assertions = "1.0.0" filetime = "0.2.15" [package.metadata.docs.rs] all-features = true features = ["document-features"]