jj/Cargo.toml
Martin von Zweigbergk ed0b23d009 cli: include commit id from build in version
This changes the version number reported by `jj version` from "0.7.0"
to something like
"0.7.0-24a512683bc921699575b6a953624b05c068d544a". The hash is added
if running in a jj repo or a git repo.
2023-04-07 17:33:44 -07:00

82 lines
2.3 KiB
TOML

[package]
name = "jujutsu"
version = "0.7.0"
authors = ["Martin von Zweigbergk <martinvonz@google.com>"]
edition = "2021"
rust-version = "1.64" # Remember to update CI, contributing.md, and flake.nix
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"]
default-run = "jj"
[[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"
[workspace]
members = ["lib", "lib/testutils", "lib/gen-protos"]
[build-dependencies]
cargo_metadata = "0.15.4"
[dependencies]
chrono = { version = "0.4.24", default-features = false, features = ["std", "clock"] }
clap = { version = "4.1.11", features = ["derive", "deprecated"] }
clap_complete = "4.2.0"
clap_mangen = "0.2.10"
config = { version = "0.13.3", default-features = false, features = ["toml"] }
criterion = {version = "0.4.0", optional = true }
crossterm = { version = "0.26", default-features = false }
dirs = "5.0.0"
esl01-renderdag = "0.3.0"
git2 = "0.17.0"
glob = "0.3.1"
hex = "0.4.3"
indexmap = "1.9.3"
itertools = "0.10.5"
jujutsu-lib = { version = "=0.7.0", path = "lib", default-features = false }
maplit = "1.0.2"
once_cell = "1.17.1"
pest = "2.5.7"
pest_derive = "2.5"
regex = "1.7.3"
rpassword = "7.2.0"
serde = { version = "1.0", features = ["derive"] }
slab = "0.4.8"
strsim = "0.10.0"
tempfile = "3.5.0"
textwrap = "0.16.0"
thiserror = "1.0.40"
timeago = { version = "0.4.1", default-features = false }
toml_edit = { version = "0.19.8", features = ["serde"] }
tracing = "0.1.37"
tracing-subscriber = { version = "0.3.16", default-features = false, features = ["std", "ansi", "env-filter", "fmt"] }
[target.'cfg(unix)'.dependencies]
libc = { version = "0.2.141" }
[dev-dependencies]
assert_cmd = "2.0.8"
assert_matches = "1.5.0"
insta = { version = "1.29.0", features = ["filters"] }
regex = "1.7.3"
testutils = { path = "lib/testutils" }
[features]
default = []
bench = ["criterion"]
vendored-openssl = ["git2/vendored-openssl", "jujutsu-lib/vendored-openssl"]