2023-08-04 22:59:19 +00:00
|
|
|
[package]
|
|
|
|
name = "jj-cli"
|
2023-08-05 22:14:11 +00:00
|
|
|
description = "Jujutsu - an experimental version control system"
|
2023-08-04 22:59:19 +00:00
|
|
|
default-run = "jj"
|
|
|
|
|
2023-08-22 16:41:42 +00:00
|
|
|
version = { workspace = true }
|
|
|
|
edition = { workspace = true }
|
|
|
|
rust-version = { workspace = true }
|
|
|
|
license = { workspace = true }
|
|
|
|
homepage = { workspace = true }
|
|
|
|
repository = { workspace = true }
|
|
|
|
documentation = { workspace = true }
|
|
|
|
keywords = { workspace = true }
|
2023-08-05 22:14:11 +00:00
|
|
|
|
2023-08-04 22:59:19 +00:00
|
|
|
[[bin]]
|
|
|
|
name = "jj"
|
|
|
|
path = "src/main.rs"
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "fake-editor"
|
|
|
|
path = "testing/fake-editor.rs"
|
2023-09-20 05:30:34 +00:00
|
|
|
required-features = ["test-fakes"]
|
2023-08-04 22:59:19 +00:00
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "fake-diff-editor"
|
|
|
|
path = "testing/fake-diff-editor.rs"
|
2023-09-20 05:30:34 +00:00
|
|
|
required-features = ["test-fakes"]
|
2023-08-04 22:59:19 +00:00
|
|
|
|
|
|
|
[build-dependencies]
|
2023-08-22 16:41:42 +00:00
|
|
|
cargo_metadata = { workspace = true }
|
2023-08-04 22:59:19 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2023-08-22 16:41:42 +00:00
|
|
|
chrono = { workspace = true }
|
|
|
|
clap = { workspace = true }
|
|
|
|
clap_complete = { workspace = true }
|
|
|
|
clap_mangen = { workspace = true }
|
|
|
|
config = { workspace = true }
|
2023-08-05 16:14:11 +00:00
|
|
|
criterion = { workspace = true, optional = true }
|
2023-08-22 16:41:42 +00:00
|
|
|
crossterm = { workspace = true }
|
|
|
|
dirs = { workspace = true }
|
|
|
|
esl01-renderdag = { workspace = true }
|
2023-10-18 23:57:19 +00:00
|
|
|
futures = { workspace = true }
|
2023-08-22 16:41:42 +00:00
|
|
|
git2 = { workspace = true }
|
2023-10-31 00:50:10 +00:00
|
|
|
gix = { workspace = true }
|
2023-08-22 16:41:42 +00:00
|
|
|
hex = { workspace = true }
|
|
|
|
indexmap = { workspace = true }
|
|
|
|
itertools = { workspace = true }
|
|
|
|
jj-lib = { workspace = true }
|
|
|
|
maplit = { workspace = true }
|
|
|
|
once_cell = { workspace = true }
|
|
|
|
pest = { workspace = true }
|
|
|
|
pest_derive = { workspace = true }
|
2023-10-28 23:15:01 +00:00
|
|
|
pollster = { workspace = true }
|
2023-08-22 16:41:42 +00:00
|
|
|
regex = { workspace = true }
|
|
|
|
rpassword = { workspace = true }
|
2023-08-29 21:13:35 +00:00
|
|
|
scm-record = { workspace = true }
|
2023-08-22 16:41:42 +00:00
|
|
|
serde = { workspace = true }
|
|
|
|
slab = { workspace = true }
|
|
|
|
tempfile = { workspace = true }
|
|
|
|
textwrap = { workspace = true }
|
|
|
|
thiserror = { workspace = true }
|
|
|
|
timeago = { workspace = true }
|
|
|
|
toml_edit = { workspace = true }
|
|
|
|
tracing = { workspace = true }
|
|
|
|
tracing-chrome = { workspace = true }
|
|
|
|
tracing-subscriber = { workspace = true }
|
2023-08-31 07:42:42 +00:00
|
|
|
unicode-width = { workspace = true }
|
2023-08-04 22:59:19 +00:00
|
|
|
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
2023-08-22 16:41:42 +00:00
|
|
|
libc = { workspace = true }
|
2023-08-04 22:59:19 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2023-08-22 16:41:42 +00:00
|
|
|
anyhow = { workspace = true }
|
|
|
|
assert_cmd = { workspace = true }
|
|
|
|
assert_matches = { workspace = true }
|
2023-11-07 07:15:31 +00:00
|
|
|
async-trait = { workspace = true }
|
2023-08-22 16:41:42 +00:00
|
|
|
insta = { workspace = true }
|
|
|
|
test-case = { workspace = true }
|
|
|
|
testutils = { workspace = true }
|
2023-09-20 05:30:34 +00:00
|
|
|
# https://github.com/rust-lang/cargo/issues/2911#issuecomment-1483256987
|
|
|
|
jj-cli = { path = ".", features = ["test-fakes"], default-features = false }
|
2023-08-04 22:59:19 +00:00
|
|
|
|
|
|
|
[features]
|
2023-09-07 16:09:59 +00:00
|
|
|
default = ["watchman"]
|
2023-09-07 16:19:33 +00:00
|
|
|
bench = ["dep:criterion"]
|
2023-09-07 16:09:59 +00:00
|
|
|
packaging = []
|
2023-09-20 05:30:34 +00:00
|
|
|
test-fakes = []
|
2023-08-04 22:59:19 +00:00
|
|
|
vendored-openssl = ["git2/vendored-openssl", "jj-lib/vendored-openssl"]
|
|
|
|
watchman = ["jj-lib/watchman"]
|
2023-09-20 05:54:42 +00:00
|
|
|
|
|
|
|
[package.metadata.binstall]
|
|
|
|
# The archive name is jj, not jj-cli. Also, `cargo binstall` gets
|
|
|
|
# confused by the `v` before versions in archive name.
|
2023-10-18 23:57:19 +00:00
|
|
|
pkg-url = "{ repo }/releases/download/v{ version }/jj-v{ version }-{ target }.{ archive-format }"
|