[package] name = "gix-revision" version = "0.27.2" repository = "https://github.com/Byron/gitoxide" license = "MIT OR Apache-2.0" description = "A crate of the gitoxide project dealing with finding names for revisions and parsing specifications" authors = ["Sebastian Thiel "] edition = "2021" include = ["src/**/*", "LICENSE-*", "README.md"] rust-version = "1.65" [lib] doctest = false [features] default = ["describe"] ## `git describe` functionality describe = ["dep:gix-trace", "dep:gix-hashtable"] ## Data structures implement `serde::Serialize` and `serde::Deserialize`. serde = [ "dep:serde", "gix-hash/serde", "gix-object/serde" ] [dependencies] gix-hash = { version = "^0.14.2", path = "../gix-hash" } gix-object = { version = "^0.42.3", path = "../gix-object" } gix-date = { version = "^0.8.7", path = "../gix-date" } gix-hashtable = { version = "^0.5.2", path = "../gix-hashtable", optional = true } gix-revwalk = { version = "^0.13.2", path = "../gix-revwalk" } gix-trace = { version = "^0.1.8", path = "../gix-trace", optional = true } bstr = { version = "1.3.0", default-features = false, features = ["std"]} thiserror = "1.0.26" serde = { version = "1.0.114", optional = true, default-features = false, features = ["derive"] } document-features = { version = "0.2.1", optional = true } [dev-dependencies] gix-odb = { path = "../gix-odb" } gix-testtools = { path = "../tests/tools" } gix-commitgraph = { path = "../gix-commitgraph" } [package.metadata.docs.rs] all-features = true features = ["document-features"]