# 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.96"
name = "sley-formats"
version = "0.3.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Native-Rust readers and writers for Git's on-disk and wire formats: reftables, commit-graph, bundles, and repository layout."
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/HeddleCo/sley"

[features]
default = ["zlib-rs"]
pure-rust = ["flate2/rust_backend"]
zlib-rs = ["flate2/zlib-rs"]

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

[dependencies.flate2]
version = "1"
default-features = false

[dependencies.sley-config]
version = "0.3.1"

[dependencies.sley-core]
version = "0.3.1"

[dependencies.sley-index]
version = "0.3.1"

[dependencies.sley-object]
version = "0.3.1"

[lints.clippy]
clone_on_copy = "allow"
dbg_macro = "deny"
todo = "deny"
unwrap_used = "deny"

[lints.rust]
unsafe_code = "forbid"
