# 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 = "2021"
name = "subversion"
version = "0.1.0"
authors = ["Jelmer Vernooĳ <jelmer@apache.org>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust bindings for Subversion"
homepage = "https://github.com/jelmer/subversion-rs"
documentation = "https://docs.rs/subversion"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/jelmer/subversion-rs.git"

[package.metadata.cargo-all-features]
denylist = [
    "x509",
    "cmdline",
    "nls",
    "utf",
    "cache",
    "url",
]

[features]
cache = []
client = [
    "wc",
    "ra",
    "repos",
    "subversion-sys/client",
]
cmdline = []
default = [
    "ra",
    "wc",
    "client",
    "delta",
    "repos",
]
delta = ["subversion-sys/delta"]
nls = []
ra = [
    "delta",
    "subversion-sys/ra",
]
repos = ["delta"]
url = ["dep:url"]
utf = []
wc = [
    "delta",
    "subversion-sys/wc",
]
x509 = []

[lib]
name = "subversion"
path = "src/lib.rs"
doctest = false

[[example]]
name = "branch_merge"
path = "examples/branch_merge.rs"
required-features = [
    "client",
    "repos",
]

[[example]]
name = "cat"
path = "examples/cat.rs"
required-features = ["client"]

[[example]]
name = "checkout"
path = "examples/checkout.rs"
required-features = ["client"]

[[example]]
name = "custom_stream_backend"
path = "examples/custom_stream_backend.rs"

[[example]]
name = "merge_with_conflicts"
path = "examples/merge_with_conflicts.rs"
required-features = ["client"]

[[example]]
name = "resolve_conflicts"
path = "examples/resolve_conflicts.rs"
required-features = [
    "client",
    "repos",
]

[[example]]
name = "transaction_demo"
path = "examples/transaction_demo.rs"

[dependencies.apr]
version = "0.4.2"

[dependencies.apr-sys]
version = "0.2.1"

[dependencies.bitflags]
version = "2.10.0"

[dependencies.ctor]
version = ">=0.2.0,<0.7.0"

[dependencies.indexmap]
version = "2.12"

[dependencies.is-terminal]
version = "0.4"

[dependencies.lazy_static]
version = "1.5.0"

[dependencies.libc]
version = "0.2"

[dependencies.subversion-sys]
version = "0.1.0"
default-features = false

[dependencies.url]
version = "2.5.7"
optional = true

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