ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/Cargo.toml
Martin von Zweigbergk 66fe23b4e9 cli: switch from clap's Builder API to its Derive API
The Derive API is easier to work with, less error-prone, and less
verbose, so it seems like a good improvement.

It was quite a bit of work to make the switch, and I'll be surprised
if I didn't make any mistakes in the translation. We unfortunately
don't have enough e2e tests to be very confident, so we'll have to fix
any problems as we discover them.

I've at least verified that the output of `jj debug completion --fish`
is unchanged, except for a few help texts I changed for different
reasons (consistency, clarity, avoiding redundancy).
2022-03-23 15:17:21 -07:00

62 lines
1.3 KiB
TOML

[package]
name = "jujutsu"
version = "0.3.3"
authors = ["Martin von Zweigbergk <martinvonz@google.com>"]
edition = "2021"
license = "Apache-2.0"
description = "Jujutsu (an experimental VCS)"
homepage = "https://github.com/martinvonz/jj"
repository = "https://github.com/martinvonz/jj"
documentation = "https://docs.rs/jujutsu"
readme = "README.md"
keywords = ["VCS", "DVCS", "SCM", "Git", "Mercurial"]
categories = ["command-line-utilities", "development-tools"]
[[bin]]
name = "jj"
path = "src/main.rs"
[[bench]]
name = "diff_bench"
harness = false
[workspace]
members = ["lib"]
[dependencies]
assert_cmd = "2.0.4"
atty = "0.2.14"
chrono = "0.4.19"
clap = { version = "3.1.6", features = ["derive"] }
clap_complete = "3.1.1"
clap_mangen = "0.1"
config = "0.12.0"
criterion = "0.3.5"
dirs = "4.0.0"
git2 = "0.14.2"
hex = "0.4.3"
indoc = "1.0.4"
insta = "1.13.0"
itertools = "0.10.3"
jujutsu-lib = { version = "=0.3.3", path = "lib"}
maplit = "1.0.2"
pest = "2.1.3"
pest_derive = "2.1.0"
predicates = "2.1.1"
rand = "0.8.5"
regex = "1.5.5"
tempfile = "3.3.0"
textwrap = "0.15.0"
thiserror = "1.0.30"
[dev-dependencies]
test-case = "2.0.1"
regex = "1.5.5"
criterion = "0.3.5"
criterion_bencher_compat = "0.3.4"
predicates = "2.1.1"
[features]
default = ["vendored-openssl"]
vendored-openssl = ["git2/vendored-openssl", "jujutsu-lib/vendored-openssl"]