# 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 = "panproto-git"
version = "0.50.7"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Bidirectional git ↔ panproto-vcs translation bridge"
readme = "README.md"
license = "MIT"
repository = "https://github.com/panproto/panproto"

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

[[example]]
name = "import_mini_git_repo"
path = "examples/import_mini_git_repo.rs"
required-features = ["panproto-parse/lang-protobuf"]

[[bench]]
name = "git_bench"
path = "benches/git_bench.rs"
harness = false
required-features = ["panproto-parse/lang-protobuf"]

[dependencies.git2]
version = "0.20"

[dependencies.miette]
version = "7.6.0"
features = ["fancy"]

[dependencies.panproto-gat]
version = "0.50.7"

[dependencies.panproto-parse]
version = "0.50.7"

[dependencies.panproto-project]
version = "0.50.7"

[dependencies.panproto-protocols]
version = "0.50.7"

[dependencies.panproto-schema]
version = "0.50.7"

[dependencies.panproto-vcs]
version = "0.50.7"

[dependencies.rustc-hash]
version = "2.1.2"

[dependencies.serde_json]
version = "1.0.149"

[dependencies.thiserror]
version = "2.0.18"

[dev-dependencies.divan]
version = "0.1.21"

[dev-dependencies.tempfile]
version = "3"

[lints.clippy]
expect_used = "warn"
unwrap_used = "deny"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.clippy.nursery]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
missing_docs = "warn"
unsafe_code = "deny"
