lints.workspace = true [package] name = "src-shallow" version = "0.9.0" repository = "https://github.com/GitoxideLabs/gitoxide" authors = ["Sebastian Thiel "] license = "MIT OR Apache-2.0" description = "Handle files specifying the shallow boundary" edition = "2021" include = ["src/**/*", "LICENSE-*"] rust-version = "1.82" [lib] doctest = false test = false [features] ## Enable support for the SHA-1 hash by enabling the respective feature in the `src-hash` crate. sha1 = ["src-hash/sha1"] ## Data structures implement `serde::Serialize` and `serde::Deserialize`. serde = ["dep:serde", "src-hash/serde", "nonempty/serialize"] [dependencies] src-hash = { version = "^0.22.1", path = "../src-hash" } src-lock = { version = "^21.0.0", path = "../src-lock" } thiserror = "2.0.18" bstr = { version = "1.12.0", default-features = false } nonempty = "0.12.0" serde = { version = "1.0.114", optional = true, default-features = false, features = ["std", "derive"] } [package.metadata.docs.rs] features = ["sha1"]