54 lines · 1.8 KB · TOML
RawDownload
[package]name = "git-ref"version = "0.21.0"repository = "https://github.com/Byron/gitoxide"license = "MIT/Apache-2.0"description = "A crate to handle git references"authors = ["Sebastian Thiel <sebastian.thiel@icloud.com>"]edition = "2021"include = ["src/**/*"] [lib]doctest = falsetest = 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.25.0", path = "../git-features", features = ["walkdir"]}git-path = { version = "^0.7.0", path = "../git-path" }git-hash = { version = "^0.10.1", path = "../git-hash" }git-object = { version = "^0.24.0", path = "../git-object" }git-validate = { version = "^0.7.1", path = "../git-validate" }git-actor = { version = "^0.15.0", path = "../git-actor" }git-lock = { version = "^3.0.0", path = "../git-lock" }git-tempfile = { version = "^3.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 refsmemmap2 = "0.5.0" document-features = { version = "0.2.1", optional = true } [dev-dependencies]git-testtools = { path = "../tests/tools" }git-discover = { path = "../git-discover" }git-worktree = { path = "../git-worktree" }git-odb = { path = "../git-odb" }tempfile = "3.2.0"  [package.metadata.docs.rs]features = ["document-features", "serde1"]rustdoc-args = ["--cfg", "docsrs"]