diff --git a/Cargo.lock b/Cargo.lock index ee09e9a03..72347c9b1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -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" diff --git a/Cargo.toml b/Cargo.toml index 0b181dadc..9c1d31a4f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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"]