[package]
edition = "2024"
rust-version = "1.88"
name = "vcs-core"
version = "0.6.0"
authors = ["Anton Zhelezniakou"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "One async Rust API over Git and Jujutsu: repo auto-detection plus a unified, backend-agnostic VCS handle (status, branches, worktrees, snapshots)."
readme = "README.md"
keywords = [
"git",
"jujutsu",
"vcs",
"version-control",
"async",
]
categories = [
"command-line-utilities",
"api-bindings",
"asynchronous",
"development-tools",
]
license = "MIT"
repository = "https://github.com/ZelAnton/vcs-toolkit-rs"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
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 = "1"
[dependencies.serde]
version = "1"
features = ["derive"]
optional = true
[dependencies.vcs-cli-support]
version = "0.4"
[dependencies.vcs-diff]
version = "0.4"
[dependencies.vcs-git]
version = "0.8"
[dependencies.vcs-jj]
version = "0.8"
[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)"]