forked from mirrors/jj
cargo: get renderdag from crates.io
Now that the `renderdag` crate is available on crates.io (thanks, @quark-zju!), let's get it from there. It has no optional features, so we don't need `default-features = false`. I should have done that when we switched from the `dag` crate to the `renderdag` crate.
This commit is contained in:
parent
9336a4518a
commit
06348807f0
2 changed files with 13 additions and 13 deletions
22
Cargo.lock
generated
22
Cargo.lock
generated
|
@ -535,6 +535,16 @@ dependencies = [
|
|||
"libc",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "esl01-renderdag"
|
||||
version = "0.3.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "3a1840969ab8be31e186bb6d2f672d586dcd203dd4019a80dc1277a14686eca9"
|
||||
dependencies = [
|
||||
"bitflags",
|
||||
"itertools",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "fastrand"
|
||||
version = "1.8.0"
|
||||
|
@ -796,6 +806,7 @@ dependencies = [
|
|||
"criterion_bencher_compat",
|
||||
"crossterm",
|
||||
"dirs",
|
||||
"esl01-renderdag",
|
||||
"git2",
|
||||
"glob",
|
||||
"hex",
|
||||
|
@ -810,7 +821,6 @@ dependencies = [
|
|||
"pest_derive",
|
||||
"predicates",
|
||||
"regex",
|
||||
"renderdag",
|
||||
"rpassword",
|
||||
"serde",
|
||||
"slab",
|
||||
|
@ -1502,16 +1512,6 @@ dependencies = [
|
|||
"winapi",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "renderdag"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/facebook/sapling?rev=c8b66c68991066b3e8731630ef757e94cd03ff36#c8b66c68991066b3e8731630ef757e94cd03ff36"
|
||||
dependencies = [
|
||||
"bitflags",
|
||||
"itertools",
|
||||
"serde",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "roff"
|
||||
version = "0.2.1"
|
||||
|
|
|
@ -40,9 +40,9 @@ clap_complete = "4.0.7"
|
|||
clap_mangen = "0.2.6"
|
||||
config = { version = "0.13.3", default-features = false, features = ["toml"] }
|
||||
crossterm = { version = "0.25", default-features = false }
|
||||
renderdag = { git = "https://github.com/facebook/sapling", rev = "c8b66c68991066b3e8731630ef757e94cd03ff36", optional = true, default-features = false }
|
||||
dirs = "4.0.0"
|
||||
git2 = "0.16.1"
|
||||
esl01-renderdag = { version = "0.3.0", optional = true }
|
||||
glob = "0.3.1"
|
||||
hex = "0.4.3"
|
||||
itertools = "0.10.5"
|
||||
|
@ -77,6 +77,6 @@ test-case = "2.2.2"
|
|||
testutils = { path = "lib/testutils" }
|
||||
|
||||
[features]
|
||||
sapling = ["renderdag"]
|
||||
sapling = ["esl01-renderdag"]
|
||||
default = ["jujutsu-lib/legacy-thrift"]
|
||||
vendored-openssl = ["git2/vendored-openssl", "jujutsu-lib/vendored-openssl"]
|
||||
|
|
Loading…
Reference in a new issue