[package]
edition = "2024"
rust-version = "1.88"
name = "vcs-core"
version = "0.3.0"
authors = ["Anton Zhelezniakou"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Unified facade over vcs-git and vcs-jj: repo detection and a backend-agnostic VCS handle."
readme = "README.md"
license = "MIT"
repository = "https://github.com/ZelAnton/vcs-toolkit-rs"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
cancellation = [
"vcs-git/cancellation",
"vcs-jj/cancellation",
]
serde = [
"dep:serde",
"vcs-diff/serde",
]
tracing = [
"vcs-git/tracing",
"vcs-jj/tracing",
]
[lib]
name = "vcs_core"
path = "src/lib.rs"
[[test]]
name = "repo"
path = "tests/repo.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.processkit]
version = "0.8"
[dependencies.serde]
version = "1"
features = ["derive"]
optional = true
[dependencies.vcs-cli-support]
version = "0.1"
[dependencies.vcs-diff]
version = "0.1"
[dependencies.vcs-git]
version = "0.5"
[dependencies.vcs-jj]
version = "0.5"
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
]
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(docsrs)"]