create src

This commit is contained in:
awfixer
2026-03-11 02:04:19 -07:00
commit 52f7a22bf2
2595 changed files with 402870 additions and 0 deletions

34
src-shallow/Cargo.toml Normal file
View File

@@ -0,0 +1,34 @@
lints.workspace = true
[package]
name = "src-shallow"
version = "0.9.0"
repository = "https://github.com/GitoxideLabs/gitoxide"
authors = ["Sebastian Thiel <sebastian.thiel@icloud.com>"]
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"]