mirror of
https://github.com/facebook/sapling.git
synced 2024-12-24 13:34:37 +03:00
mononoke/mercurial: make revlog crate OSS buildable
Reviewed By: krallin Differential Revision: D20869309 fbshipit-source-id: bc234b6cfcb575a5dabdf154969db7577ebdb5c5
This commit is contained in:
parent
4c67f27e3a
commit
c7d12b648f
@ -76,6 +76,7 @@ members = [
|
||||
"manifest",
|
||||
"manifest/test_utils",
|
||||
"megarepolib",
|
||||
"mercurial/revlog",
|
||||
"mercurial/types",
|
||||
"mercurial/types/if",
|
||||
"mercurial/types/mocks",
|
||||
|
38
eden/mononoke/mercurial/revlog/Cargo.toml
Normal file
38
eden/mononoke/mercurial/revlog/Cargo.toml
Normal file
@ -0,0 +1,38 @@
|
||||
[package]
|
||||
name = "mercurial_revlog"
|
||||
edition = "2018"
|
||||
version = "0.1.0"
|
||||
authors = ['Facebook']
|
||||
license = "GPLv2+"
|
||||
include = ["**/*.rs"]
|
||||
|
||||
[lib]
|
||||
path = "lib.rs"
|
||||
|
||||
[dependencies]
|
||||
lz4-pyframe = { path = "../../../scm/lib/lz4-pyframe" }
|
||||
mercurial_types = { path = "../types" }
|
||||
mercurial_types-mocks = { path = "../types/mocks" }
|
||||
mononoke_types = { path = "../../mononoke_types" }
|
||||
mononoke_types-thrift = { path = "../../mononoke_types/if" }
|
||||
failure_ext = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
|
||||
futures_ext = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
|
||||
anyhow = "1.0"
|
||||
ascii = "1.0"
|
||||
bitflags = "1.2"
|
||||
bytes = { version = "0.5", features = ["serde"] }
|
||||
flate2 = { version="1.0", features=["tokio", "rust_backend"], default-features=false }
|
||||
futures = "0.1"
|
||||
heapsize = "0.4"
|
||||
heapsize_derive = "0.1"
|
||||
itertools = "0.8"
|
||||
memmap = "0.7"
|
||||
nom = { version = "3", features = [ "verbose-errors" ] }
|
||||
quickcheck = "0.9"
|
||||
rand = { version = "0.7", features = ["small_rng"] }
|
||||
serde = { version = "1.0", features = ["derive", "rc"] }
|
||||
serde_derive = "1.0"
|
||||
thiserror = "1.0"
|
||||
|
||||
[dev-dependencies]
|
||||
assert_matches = "1.3"
|
@ -31,7 +31,7 @@ pub enum ErrorKind {
|
||||
/// Implementation of bookmarks as they exist in stock Mercurial inside `.hg/bookmarks`.
|
||||
/// The file has a list of entries:
|
||||
///
|
||||
/// ```
|
||||
/// ```text
|
||||
/// <hash1> <bookmark1-name>
|
||||
/// <hash2> <bookmark2-name>
|
||||
/// ...
|
||||
|
@ -1,22 +1,24 @@
|
||||
# @generated by autocargo from //eden/scm/lib/lz4-pyframe:lz4-pyframe
|
||||
[package]
|
||||
name = "lz4-pyframe"
|
||||
version = "0.1.0"
|
||||
authors = ["Facebook Source Control Team <sourcecontrol-dev@fb.com>"]
|
||||
edition = "2018"
|
||||
version = "0.1.0"
|
||||
authors = ['Facebook Source Control Team <sourcecontrol-dev@fb.com>']
|
||||
include = ["src/**/*.rs"]
|
||||
|
||||
[[bench]]
|
||||
name = "bench"
|
||||
harness = false
|
||||
|
||||
[dependencies]
|
||||
anyhow = "1.0.20"
|
||||
byteorder = "1"
|
||||
anyhow = "1.0"
|
||||
byteorder = "1.3"
|
||||
libc = "0.2"
|
||||
lz4-sys = "1"
|
||||
thiserror = "1.0.5"
|
||||
lz4-sys = "1.8"
|
||||
thiserror = "1.0"
|
||||
|
||||
[dev-dependencies]
|
||||
minibench = { path = "../minibench" }
|
||||
quickcheck = "0.9"
|
||||
rand_chacha = "0.2"
|
||||
rand_core = "0.5"
|
||||
|
||||
[[bench]]
|
||||
name = "bench"
|
||||
harness = false
|
||||
|
@ -1,6 +1,6 @@
|
||||
# @generated by autocargo from //eden/scm/lib/minibench:minibench
|
||||
[package]
|
||||
name = "minibench"
|
||||
version = "0.1.0"
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
version = "0.1.0"
|
||||
include = ["src/**/*.rs"]
|
||||
|
Loading…
Reference in New Issue
Block a user