git-zero 0.2.0

Allocation-free no_std Git toolkit for objects, packs, clients and servers
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.85"
name = "git-zero"
version = "0.2.0"
build = false
include = [
    "/src/**",
    "/Cargo.toml",
    "/README.md",
    "/LICENSE-*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Allocation-free no_std Git toolkit for objects, packs, clients and servers"
documentation = "https://docs.rs/git-zero"
readme = "README.md"
keywords = [
    "git",
    "no-std",
    "http",
    "embedded",
]
categories = [
    "no-std::no-alloc",
    "development-tools",
    "network-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/no-std-rs/git-zero"

[package.metadata.docs.rs]
all-features = true

[features]
client = [
    "read",
    "dep:git-zero-client",
]
default = [
    "read",
    "write",
    "client",
    "server",
]
read = [
    "git-zero-core/read",
    "git-zero-server?/read",
]
server = [
    "write",
    "dep:git-zero-server",
]
write = ["git-zero-core/write"]

[lib]
name = "git_zero"
path = "src/lib.rs"

[dependencies.git-zero-client]
version = "0.2.0"
optional = true

[dependencies.git-zero-core]
version = "0.2.0"
default-features = false

[dependencies.git-zero-server]
version = "0.2.0"
optional = true

[dev-dependencies.sha1]
version = "0.10.7"
default-features = false

[dev-dependencies.sha2]
version = "0.10.9"
default-features = false

[lints.rust]
unsafe_op_in_unsafe_fn = "deny"

[profile.hosting]
opt-level = 3
inherits = "release"

[profile.release]
opt-level = "s"
lto = true
codegen-units = 1
panic = "abort"