forked from mirrors/jj
d858db7e85
Summary: There's no need to go around specifying `rust-version` or `edition` or `version` several times, now that we have a global workspace. Instead, inherit workspace metadata from the top-level Cargo.toml file. Signed-off-by: Austin Seipp <aseipp@pobox.com> Change-Id: Iaf905445978ed2b3377239dcdb8a6c32
79 lines
1.8 KiB
TOML
79 lines
1.8 KiB
TOML
[package]
|
|
name = "jj-cli"
|
|
description = "Jujutsu - an experimental version control system"
|
|
default-run = "jj"
|
|
|
|
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
|
|
|
|
[[bin]]
|
|
name = "jj"
|
|
path = "src/main.rs"
|
|
|
|
[[bin]]
|
|
name = "fake-editor"
|
|
path = "testing/fake-editor.rs"
|
|
|
|
[[bin]]
|
|
name = "fake-diff-editor"
|
|
path = "testing/fake-diff-editor.rs"
|
|
|
|
[build-dependencies]
|
|
cargo_metadata.workspace = true
|
|
|
|
[dependencies]
|
|
chrono.workspace = true
|
|
clap.workspace = true
|
|
clap_complete.workspace = true
|
|
clap_mangen.workspace = true
|
|
config.workspace = true
|
|
criterion = { workspace = true, optional = true }
|
|
crossterm.workspace = true
|
|
dirs.workspace = true
|
|
esl01-renderdag.workspace = true
|
|
git2.workspace = true
|
|
glob.workspace = true
|
|
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
|
|
regex.workspace = true
|
|
rpassword.workspace = true
|
|
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
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
libc.workspace = true
|
|
|
|
[dev-dependencies]
|
|
anyhow.workspace = true
|
|
assert_cmd.workspace = true
|
|
assert_matches.workspace = true
|
|
insta.workspace = true
|
|
test-case.workspace = true
|
|
testutils.workspace = true
|
|
|
|
[features]
|
|
default = []
|
|
bench = ["criterion"]
|
|
packaging = ["watchman"]
|
|
vendored-openssl = ["git2/vendored-openssl", "jj-lib/vendored-openssl"]
|
|
watchman = ["jj-lib/watchman"]
|