[package] name = "git-ref" version = "0.16.0" repository = "https://github.com/Byron/gitoxide" license = "MIT/Apache-2.0" description = "A crate to handle git references" authors = ["Sebastian Thiel "] edition = "2018" include = ["src/**/*"] [lib] doctest = false test = true [features] ## Data structures implement `serde::Serialize` and `serde::Deserialize`. serde1 = ["serde", "git-hash/serde1", "git-actor/serde1", "git-object/serde1"] internal-testing-git-features-parallel = ["git-features/parallel"] # test sorted parallel loose file traversal [[test]] name = "refs-parallel-fs-traversal" path = "tests/refs-parallel.rs" required-features = ["internal-testing-git-features-parallel"] [dependencies] git-features = { version = "^0.22.5", path = "../git-features", features = ["walkdir"]} git-path = { version = "^0.5.0", path = "../git-path" } git-hash = { version = "^0.9.10", path = "../git-hash" } git-object = { version = "^0.21.0", path = "../git-object" } git-validate = { version = "^0.6.0", path = "../git-validate" } git-actor = { version = "^0.12.0", path = "../git-actor" } git-lock = { version = "^2.0.0", path = "../git-lock" } git-tempfile = { version = "^2.0.0", path = "../git-tempfile" } thiserror = "1.0.34" nom = { version = "7", default-features = false, features = ["std"]} serde = { version = "1.0.114", optional = true, default-features = false, features = ["derive"]} # packed refs memmap2 = "0.5.0" document-features = { version = "0.2.1", optional = true } [dev-dependencies] git-testtools = { path = "../tests/tools" } git-discover = { path = "../git-discover" } git-odb = { path = "../git-odb" } tempfile = "3.2.0" [package.metadata.docs.rs] features = ["document-features", "serde1"] rustdoc-args = ["--cfg", "docsrs"]