2020-12-12 08:00:42 +00:00
|
|
|
[package]
|
2021-05-15 16:16:31 +00:00
|
|
|
name = "jujutsu-lib"
|
2022-10-18 04:45:04 +00:00
|
|
|
version = "0.5.1"
|
2020-12-12 08:00:42 +00:00
|
|
|
authors = ["Martin von Zweigbergk <martinvonz@google.com>"]
|
2021-12-14 05:38:10 +00:00
|
|
|
edition = "2021"
|
2022-05-02 15:53:50 +00:00
|
|
|
rust-version = "1.60"
|
2021-01-03 16:45:07 +00:00
|
|
|
license = "Apache-2.0"
|
2021-05-15 16:16:31 +00:00
|
|
|
description = "Library for Jujutsu (an experimental VCS)"
|
2021-01-03 16:45:07 +00:00
|
|
|
homepage = "https://github.com/martinvonz/jj"
|
|
|
|
repository = "https://github.com/martinvonz/jj"
|
2021-05-15 16:16:31 +00:00
|
|
|
documentation = "https://docs.rs/jujutsu"
|
2021-01-03 16:45:07 +00:00
|
|
|
readme = "../README.md"
|
2020-12-12 08:00:42 +00:00
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
2020-12-24 07:12:18 +00:00
|
|
|
[build-dependencies]
|
2022-09-26 15:40:10 +00:00
|
|
|
protobuf-codegen = "3.2.0"
|
2022-02-21 06:14:13 +00:00
|
|
|
version_check = "0.9.4"
|
2020-12-12 08:00:42 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2022-02-10 06:15:38 +00:00
|
|
|
backoff = "0.4.0"
|
2022-11-11 12:35:28 +00:00
|
|
|
blake2 = "0.10.5"
|
2022-11-21 15:54:01 +00:00
|
|
|
bytes = "1.3.0"
|
2021-11-30 17:14:21 +00:00
|
|
|
byteorder = "1.4.3"
|
2022-11-14 17:37:48 +00:00
|
|
|
chrono = { version = "0.4.23", default-features = false, features = ["std", "clock"] }
|
2022-10-06 00:23:55 +00:00
|
|
|
config = { version = "0.13.2", default-features = false, features = ["toml"] }
|
2022-11-17 15:15:00 +00:00
|
|
|
digest = "0.10.6"
|
2022-07-29 15:34:12 +00:00
|
|
|
git2 = "0.15.0"
|
2021-11-30 17:14:21 +00:00
|
|
|
hex = "0.4.3"
|
2022-09-20 16:55:05 +00:00
|
|
|
itertools = "0.10.5"
|
2020-12-23 17:39:09 +00:00
|
|
|
maplit = "1.0.2"
|
2022-10-31 15:56:09 +00:00
|
|
|
once_cell = "1.16.0"
|
2022-11-24 15:07:34 +00:00
|
|
|
pest = "2.5.0"
|
2022-11-25 15:07:08 +00:00
|
|
|
pest_derive = "2.5.0"
|
2022-05-02 15:53:50 +00:00
|
|
|
protobuf = { version = "3.0.1", features = ["with-bytes"] }
|
2022-03-17 04:53:28 +00:00
|
|
|
rand = "0.8.5"
|
2022-11-08 15:30:59 +00:00
|
|
|
regex = "1.7.0"
|
2022-11-24 07:32:57 +00:00
|
|
|
serde_json = "1.0.89"
|
2022-02-10 06:19:16 +00:00
|
|
|
tempfile = "3.3.0"
|
2022-09-28 15:49:46 +00:00
|
|
|
thiserror = "1.0.37"
|
2022-11-02 16:51:25 +00:00
|
|
|
# thrift v0.17.0 (specified by hash for security reasons)
|
2022-12-02 20:49:21 +00:00
|
|
|
thrift = { git = "https://github.com/apache/thrift", rev = "4d493e867b349f3475203ef9848353b315203c51", default-features = false, optional = true }
|
2022-11-15 15:07:09 +00:00
|
|
|
uuid = { version = "1.2.2", features = ["v4"] }
|
2022-09-13 15:50:20 +00:00
|
|
|
whoami = "1.2.3"
|
2022-11-24 06:36:43 +00:00
|
|
|
zstd = "0.12.0"
|
2022-11-20 03:38:25 +00:00
|
|
|
tracing = "0.1.37"
|
2020-12-12 08:00:42 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2022-02-21 05:45:09 +00:00
|
|
|
assert_matches = "1.5.0"
|
2022-11-28 15:09:47 +00:00
|
|
|
insta = "1.21.2"
|
2022-11-08 15:31:01 +00:00
|
|
|
num_cpus = "1.14.0"
|
2022-10-03 15:37:43 +00:00
|
|
|
test-case = "2.2.2"
|
2022-11-08 12:35:16 +00:00
|
|
|
testutils = { path = "testutils" }
|
2022-03-13 07:03:44 +00:00
|
|
|
|
|
|
|
[features]
|
2022-12-02 20:49:21 +00:00
|
|
|
default = ["legacy-thrift"]
|
2022-03-13 07:03:44 +00:00
|
|
|
vendored-openssl = ["git2/vendored-openssl"]
|
2022-12-02 20:49:21 +00:00
|
|
|
# Enable upgrade of repositories created with storage backends based on
|
|
|
|
# Thrift format. Only repos accessed by an unreleased jj version in the
|
|
|
|
# (0.5.1,0.6.0) range used Thrift.
|
|
|
|
legacy-thrift = ["thrift"]
|