diff --git a/eden/fs/cli_rs/Cargo.toml b/eden/fs/cli_rs/Cargo.toml deleted file mode 100644 index 725f3caa15cad..0000000000000 --- a/eden/fs/cli_rs/Cargo.toml +++ /dev/null @@ -1,23 +0,0 @@ -[patch.crates-io] -daemonize = { git = "https://github.com/krallin/daemonize", rev = "f7be28efa1b4a70e43bb37b5f4ff4d664992edca" } -lru-disk-cache = { git = "https://github.com/mozilla/sccache", rev = "033ebaae69beeb0ac04e8c35d6ff1103487bd9a3" } -prost = { git = "https://github.com/gabrielrussoc/prost", branch = "protoc-runtime" } -prost-derive = { git = "https://github.com/gabrielrussoc/prost", branch = "protoc-runtime" } -prost-types = { git = "https://github.com/gabrielrussoc/prost", branch = "protoc-runtime" } -quickcheck = { git = "https://github.com/jakoschiko/quickcheck", rev = "6ecdf5bb4b0132ce66670b4d46453aa022ea892c" } -reqwest = { git = "https://github.com/vmagro/reqwest", rev = "b08239c2b6c837321a697c5bb2be394d276b59ca" } -rustfilt = { git = "https://github.com/jsgf/rustfilt.git", rev = "8141fa7f1caee562ee8daffb2ddeca3d1f0d36e5" } -shellexpand = { git = "https://github.com/fanzeyi/shellexpand.git", rev = "179447a3f8fccd765acfd2eed15a54c716c49cfe" } -toml = { git = "https://github.com/fbsource/toml", branch = "dotted-table-0.5.8" } - -[workspace] -members = [ - "edenfs-client", - "edenfs-commands", - "edenfs-config", - "edenfs-error", - "edenfs-utils", - "edenfsctl", - "stack-config", - "stack-config-derive", -] diff --git a/eden/fs/cli_rs/edenfs-client/Cargo.toml b/eden/fs/cli_rs/edenfs-client/Cargo.toml deleted file mode 100644 index fd472f0251b04..0000000000000 --- a/eden/fs/cli_rs/edenfs-client/Cargo.toml +++ /dev/null @@ -1,27 +0,0 @@ -# @generated by autocargo - -[package] -name = "edenfs-client" -version = "0.1.0" -authors = ["Facebook Source Control Team "] -edition = "2021" -license = "GPLv2+" - -[dependencies] -anyhow = "1.0.51" -byteorder = "1.3" -edenfs-config = { version = "0.1.0", path = "../edenfs-config" } -edenfs-error = { version = "0.1.0", path = "../edenfs-error" } -edenfs-utils = { version = "0.1.0", path = "../edenfs-utils" } -fbthrift_socket = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "main" } -regex = "1.5.4" -serde = { version = "1.0.126", features = ["derive", "rc"] } -serde_json = { version = "1.0.64", features = ["float_roundtrip", "unbounded_depth"] } -subprocess = "0.2.7" -sysinfo = "=0.17.2" -thrift-types = { version = "0.1.0", path = "../../../scm/lib/thrift-types" } -tokio = { version = "1.15", features = ["full", "test-util", "tracing"] } -tokio-uds-compat = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "main" } -toml = "=0.5.8" -tracing = "0.1.29" -uuid = { version = "0.8.1", features = ["serde", "v4", "v5"] } diff --git a/eden/fs/cli_rs/edenfs-commands/Cargo.toml b/eden/fs/cli_rs/edenfs-commands/Cargo.toml deleted file mode 100644 index a3078bb0d3406..0000000000000 --- a/eden/fs/cli_rs/edenfs-commands/Cargo.toml +++ /dev/null @@ -1,31 +0,0 @@ -# @generated by autocargo - -[package] -name = "edenfs-commands" -version = "0.1.0" -authors = ["Facebook Source Control Team "] -edition = "2021" -license = "GPLv2+" - -[dependencies] -anyhow = "1.0.51" -async-trait = "0.1.51" -colored = "1.9" -comfy-table = "4.0.1" -crossterm = { version = "0.20.0", features = ["event-stream"] } -dirs = "2.0" -edenfs-client = { version = "0.1.0", path = "../edenfs-client" } -edenfs-error = { version = "0.1.0", path = "../edenfs-error" } -edenfs-utils = { version = "0.1.0", path = "../edenfs-utils" } -once_cell = "1.8" -serde = { version = "1.0.126", features = ["derive", "rc"] } -serde_json = { version = "1.0.64", features = ["float_roundtrip", "unbounded_depth"] } -shlex = "1.0" -structopt = "0.3.23" -subprocess = "0.2.7" -termwiz = { version = "0.15", features = ["widgets"] } -thrift-types = { version = "0.1.0", path = "../../../scm/lib/thrift-types" } -tokio = { version = "1.15", features = ["full", "test-util", "tracing"] } -toml = "=0.5.8" -tracing = "0.1.29" -util = { version = "0.1.0", path = "../../../scm/lib/util" } diff --git a/eden/fs/cli_rs/edenfs-utils/Cargo.toml b/eden/fs/cli_rs/edenfs-utils/Cargo.toml deleted file mode 100644 index afead5fcf608c..0000000000000 --- a/eden/fs/cli_rs/edenfs-utils/Cargo.toml +++ /dev/null @@ -1,19 +0,0 @@ -# @generated by autocargo - -[package] -name = "edenfs-utils" -version = "0.1.0" -authors = ["Facebook Source Control Team "] -edition = "2021" -license = "GPLv2+" - -[dependencies] -anyhow = "1.0.51" -edenfs-error = { version = "0.1.0", path = "../edenfs-error" } -subprocess = "0.2.7" - -[target.'cfg(target_os = "linux")'.dependencies] -nix = "0.22" - -[target.'cfg(target_os = "macos")'.dependencies] -nix = "0.22" diff --git a/eden/fs/cli_rs/edenfsctl/Cargo.toml b/eden/fs/cli_rs/edenfsctl/Cargo.toml deleted file mode 100644 index e1c3c54a1076f..0000000000000 --- a/eden/fs/cli_rs/edenfsctl/Cargo.toml +++ /dev/null @@ -1,20 +0,0 @@ -# @generated by autocargo - -[package] -name = "edenfsctl" -version = "0.1.0" -authors = ["Facebook Source Control Team "] -edition = "2021" -license = "GPLv2+" - -[dependencies] -anyhow = "1.0.51" -edenfs-commands = { version = "0.1.0", path = "../edenfs-commands" } -fbinit = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "main" } -structopt = "0.3.23" -sysinfo = "=0.17.2" -tracing = "0.1.29" -tracing-subscriber = { version = "0.3.3", features = ["ansi", "env-filter", "fmt", "json", "parking_lot", "registry"] } - -[target.'cfg(target_os = "linux")'.dependencies] -hostcaps = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "main" } diff --git a/eden/fs/cli_rs/stack-config/Cargo.toml b/eden/fs/cli_rs/stack-config/Cargo.toml deleted file mode 100644 index cbbf159ccd94b..0000000000000 --- a/eden/fs/cli_rs/stack-config/Cargo.toml +++ /dev/null @@ -1,16 +0,0 @@ -# @generated by autocargo - -[package] -name = "stack-config" -version = "0.1.0" -authors = ["Facebook Source Control Team "] -edition = "2021" -license = "GPLv2+" - -[[example]] -name = "parse" -path = "example/parse.rs" - -[dependencies] -serde_derive = "1.0" -stack-config-derive = { version = "0.1.0", path = "../stack-config-derive" } diff --git a/eden/scm/lib/Cargo.toml b/eden/scm/lib/Cargo.toml new file mode 100644 index 0000000000000..bd565ff82e42a --- /dev/null +++ b/eden/scm/lib/Cargo.toml @@ -0,0 +1,108 @@ +[patch.crates-io] +daemonize = { git = "https://github.com/krallin/daemonize", rev = "f7be28efa1b4a70e43bb37b5f4ff4d664992edca" } +lru-disk-cache = { git = "https://github.com/mozilla/sccache", rev = "033ebaae69beeb0ac04e8c35d6ff1103487bd9a3" } +prost = { git = "https://github.com/gabrielrussoc/prost", branch = "protoc-runtime" } +prost-derive = { git = "https://github.com/gabrielrussoc/prost", branch = "protoc-runtime" } +prost-types = { git = "https://github.com/gabrielrussoc/prost", branch = "protoc-runtime" } +quickcheck = { git = "https://github.com/jakoschiko/quickcheck", rev = "6ecdf5bb4b0132ce66670b4d46453aa022ea892c" } +reqwest = { git = "https://github.com/vmagro/reqwest", rev = "b08239c2b6c837321a697c5bb2be394d276b59ca" } +rustfilt = { git = "https://github.com/jsgf/rustfilt.git", rev = "8141fa7f1caee562ee8daffb2ddeca3d1f0d36e5" } +shellexpand = { git = "https://github.com/fanzeyi/shellexpand.git", rev = "179447a3f8fccd765acfd2eed15a54c716c49cfe" } +toml = { git = "https://github.com/fbsource/toml", branch = "dotted-table-0.5.8" } + +[workspace] +members = [ + "async-runtime", + "atomicfile", + "auth", + "backingstore", + "blackbox", + "blackbox/serde_alt", + "cats", + "checkout", + "clidispatch", + "clientinfo", + "cliparser", + "commitcloudsubscriber", + "configmodel", + "configparser", + "cpython-async", + "cpython-ext", + "dag", + "dag/bindag", + "dag/dag-types", + "dag/gitdag", + "debugtop", + "dev-logger", + "drawdag", + "eagerepo", + "edenapi", + "edenapi/ext", + "edenapi/trait", + "edenapi/types", + "edenapi/types/proc_macros", + "edenfs-client", + "encoding", + "fsinfo", + "fsyncglob", + "gitstore", + "hg-http", + "hg-metrics", + "hgcommands", + "hgcommits", + "hgtime", + "http-client", + "indexedlog", + "insta_ext", + "io", + "lz4-pyframe", + "manifest", + "manifest-tree", + "metalog", + "metrics", + "metrics/render", + "mincode", + "minibench", + "minibytes", + "mpatch", + "mpatch-sys", + "mutationstore", + "nodemap", + "nonblocking", + "pathhistory", + "pathmatcher", + "pprint", + "procinfo", + "progress/model", + "progress/render", + "radixbuf", + "refencode", + "renderdag", + "repo", + "revisionstore", + "revisionstore/types", + "revlogindex", + "runlog", + "spawn-ext", + "status", + "storemodel", + "streams", + "taggederror", + "taggederror-util", + "thrift-types", + "tracing-analyzer", + "tracing-collector", + "tracing-runtime-callsite", + "tracing-sampler", + "treestate", + "types", + "util", + "version", + "vfs", + "vlqencoding", + "workingcopy", + "xdiff", + "xdiff-sys", + "zstdelta", + "zstore", +] diff --git a/eden/scm/lib/async-runtime/Cargo.toml b/eden/scm/lib/async-runtime/Cargo.toml new file mode 100644 index 0000000000000..4e5a94ac08066 --- /dev/null +++ b/eden/scm/lib/async-runtime/Cargo.toml @@ -0,0 +1,13 @@ +# @generated by autocargo + +[package] +name = "async-runtime" +version = "0.1.0" +authors = ["Facebook Source Control Team "] +edition = "2021" + +[dependencies] +futures = { version = "0.3.13", features = ["async-await", "compat"] } +num_cpus = "1.11" +once_cell = "1.8" +tokio = { version = "1.15", features = ["full", "test-util", "tracing"] } diff --git a/eden/scm/lib/atomicfile/Cargo.toml b/eden/scm/lib/atomicfile/Cargo.toml new file mode 100644 index 0000000000000..d5f7500c539a3 --- /dev/null +++ b/eden/scm/lib/atomicfile/Cargo.toml @@ -0,0 +1,10 @@ +# @generated by autocargo + +[package] +name = "atomicfile" +version = "0.1.0" +edition = "2021" + +[dependencies] +tempfile = "3.2" +tracing = "0.1.29" diff --git a/eden/scm/lib/auth/Cargo.toml b/eden/scm/lib/auth/Cargo.toml new file mode 100644 index 0000000000000..70d513c69d224 --- /dev/null +++ b/eden/scm/lib/auth/Cargo.toml @@ -0,0 +1,22 @@ +# @generated by autocargo + +[package] +name = "auth" +version = "0.1.0" +edition = "2021" + +[dependencies] +anyhow = "1.0.51" +chrono = { version = "0.4", features = ["clock", "serde", "std"], default-features = false } +configmodel = { version = "0.1.0", path = "../configmodel" } +indexmap = { version = "1.8.0", features = ["rayon", "serde-1"] } +pem = "0.8" +simple_asn1 = "0.4" +thiserror = "1.0.29" +tracing = "0.1.29" +url = "2.2.2" +util = { version = "0.1.0", path = "../util" } + +[dev-dependencies] +configparser = { version = "0.1.0", path = "../configparser" } +once_cell = "1.8" diff --git a/eden/scm/lib/backingstore/Cargo.toml b/eden/scm/lib/backingstore/Cargo.toml new file mode 100644 index 0000000000000..d0befa2fe2f7c --- /dev/null +++ b/eden/scm/lib/backingstore/Cargo.toml @@ -0,0 +1,30 @@ +# @generated by autocargo + +[package] +name = "backingstore" +version = "0.1.0" +authors = ["Facebook Source Control Team "] +edition = "2021" + +[lib] +crate-type = ["lib", "staticlib"] + +[dependencies] +anyhow = "1.0.51" +bytes = { version = "1.1", features = ["serde"] } +configparser = { version = "0.1.0", path = "../configparser" } +edenapi = { version = "0.1.0", path = "../edenapi" } +env_logger = "0.7" +libc = "0.2.98" +log = { version = "0.4.14", features = ["kv_unstable", "kv_unstable_std"] } +manifest = { version = "0.1.0", path = "../manifest" } +manifest-tree = { version = "0.1.0", path = "../manifest-tree" } +parking_lot = { version = "0.11.2", features = ["send_guard"] } +revisionstore = { version = "0.1.0", path = "../revisionstore" } +tracing = "0.1.29" +tracing-collector = { version = "0.1.0", path = "../tracing-collector" } +tracing-subscriber = { version = "0.3.3", features = ["ansi", "env-filter", "fmt", "json", "parking_lot", "registry"] } +types = { version = "0.1.0", path = "../types" } + +[features] +fb = ["configparser/fb", "edenapi/fb"] diff --git a/eden/scm/lib/blackbox/Cargo.toml b/eden/scm/lib/blackbox/Cargo.toml new file mode 100644 index 0000000000000..daff7fd13bcb4 --- /dev/null +++ b/eden/scm/lib/blackbox/Cargo.toml @@ -0,0 +1,27 @@ +# @generated by autocargo + +[package] +name = "blackbox" +version = "0.1.0" +edition = "2021" + +[[bench]] +name = "blackbox" +harness = false + +[dependencies] +anyhow = "1.0.51" +byteorder = "1.3" +indexedlog = { version = "0.1.0", path = "../indexedlog" } +lazy_static = "1.0" +libc = "0.2.98" +parking_lot = { version = "0.11.2", features = ["send_guard"] } +serde = { version = "1.0.126", features = ["derive", "rc"] } +serde_alt = { version = "0.1.0", path = "serde_alt" } +serde_cbor = "0.11" +serde_derive = "1.0" +serde_json = { version = "1.0.64", features = ["float_roundtrip", "unbounded_depth"] } + +[dev-dependencies] +minibench = { version = "0.1.0", path = "../minibench" } +tempfile = "3.2" diff --git a/eden/scm/lib/blackbox/serde_alt/Cargo.toml b/eden/scm/lib/blackbox/serde_alt/Cargo.toml new file mode 100644 index 0000000000000..a7bf9a564b773 --- /dev/null +++ b/eden/scm/lib/blackbox/serde_alt/Cargo.toml @@ -0,0 +1,11 @@ +# @generated by autocargo + +[package] +name = "serde_alt" +version = "0.1.0" +edition = "2021" + +[lib] +test = false +doctest = false +proc-macro = true diff --git a/eden/scm/lib/cats/Cargo.toml b/eden/scm/lib/cats/Cargo.toml new file mode 100644 index 0000000000000..dbfdc43b3e73a --- /dev/null +++ b/eden/scm/lib/cats/Cargo.toml @@ -0,0 +1,17 @@ +# @generated by autocargo + +[package] +name = "cats" +version = "0.1.0" +edition = "2021" + +[dependencies] +anyhow = "1.0.51" +configmodel = { version = "0.1.0", path = "../configmodel" } +indexmap = { version = "1.8.0", features = ["rayon", "serde-1"] } +serde = { version = "1.0.126", features = ["derive", "rc"] } +serde_derive = "1.0" +serde_json = { version = "1.0.64", features = ["float_roundtrip", "unbounded_depth"] } +thiserror = "1.0.29" +tracing = "0.1.29" +util = { version = "0.1.0", path = "../util" } diff --git a/eden/scm/lib/checkout/Cargo.toml b/eden/scm/lib/checkout/Cargo.toml new file mode 100644 index 0000000000000..0423b817189b9 --- /dev/null +++ b/eden/scm/lib/checkout/Cargo.toml @@ -0,0 +1,30 @@ +# @generated by autocargo + +[package] +name = "checkout" +version = "0.1.0" +edition = "2021" + +[dependencies] +anyhow = "1.0.51" +configmodel = { version = "0.1.0", path = "../configmodel" } +futures = { version = "0.3.13", features = ["async-await", "compat"] } +manifest = { version = "0.1.0", path = "../manifest", features = ["for-tests"] } +minibytes = { version = "0.1.0", path = "../minibytes" } +parking_lot = { version = "0.11.2", features = ["send_guard"] } +pathmatcher = { version = "0.1.0", path = "../pathmatcher" } +progress-model = { version = "0.1.0", path = "../progress/model" } +status = { version = "0.1.0", path = "../status" } +storemodel = { version = "0.1.0", path = "../storemodel" } +tokio = { version = "1.15", features = ["full", "test-util", "tracing"] } +tracing = "0.1.29" +treestate = { version = "0.1.0", path = "../treestate" } +types = { version = "0.1.0", path = "../types" } +vfs = { version = "0.1.0", path = "../vfs" } + +[dev-dependencies] +async-trait = "0.1.51" +manifest-tree = { version = "0.1.0", path = "../manifest-tree", features = ["for-tests"] } +quickcheck = "1.0" +tempfile = "3.2" +walkdir = "2.3" diff --git a/eden/scm/lib/clidispatch/Cargo.toml b/eden/scm/lib/clidispatch/Cargo.toml new file mode 100644 index 0000000000000..aac4942a9792c --- /dev/null +++ b/eden/scm/lib/clidispatch/Cargo.toml @@ -0,0 +1,22 @@ +# @generated by autocargo + +[package] +name = "clidispatch" +version = "0.1.0" +authors = ["Facebook Source Control Team "] +edition = "2021" + +[dependencies] +anyhow = "1.0.51" +blackbox = { version = "0.1.0", path = "../blackbox" } +cliparser = { version = "0.1.0", path = "../cliparser" } +configparser = { version = "0.1.0", path = "../configparser" } +indexedlog = { version = "0.1.0", path = "../indexedlog" } +io = { version = "0.1.0", path = "../io" } +repo = { version = "0.1.0", path = "../repo" } +taggederror = { version = "0.1.0", path = "../taggederror" } +taggederror-util = { version = "0.1.0", path = "../taggederror-util" } +thiserror = "1.0.29" +thrift-types = { version = "0.1.0", path = "../thrift-types" } +tracing = "0.1.29" +util = { version = "0.1.0", path = "../util" } diff --git a/eden/scm/lib/clientinfo/Cargo.toml b/eden/scm/lib/clientinfo/Cargo.toml new file mode 100644 index 0000000000000..6d4c02b2d7aab --- /dev/null +++ b/eden/scm/lib/clientinfo/Cargo.toml @@ -0,0 +1,17 @@ +# @generated by autocargo + +[package] +name = "clientinfo" +version = "0.1.0" +edition = "2021" + +[dependencies] +anyhow = "1.0.51" +configmodel = { version = "0.1.0", path = "../configmodel" } +hostname = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "main" } +serde = { version = "1.0.126", features = ["derive", "rc"] } +serde_json = { version = "1.0.64", features = ["float_roundtrip", "unbounded_depth"] } + +[features] +default = [] +fb = ["hostname/fb"] diff --git a/eden/scm/lib/cliparser/Cargo.toml b/eden/scm/lib/cliparser/Cargo.toml new file mode 100644 index 0000000000000..8647ea7df6aca --- /dev/null +++ b/eden/scm/lib/cliparser/Cargo.toml @@ -0,0 +1,19 @@ +# @generated by autocargo + +[package] +name = "cliparser" +version = "0.1.0" +authors = ["Facebook Source Control Team "] +edition = "2021" + +[dependencies] +anyhow = "1.0.51" +cpython = { version = "0.7", optional = true, default-features = false } +cpython_ext = { version = "0.1.0", path = "../cpython-ext", optional = true, default-features = false } +lazy_static = "1.0" +shlex = "1.0" +thiserror = "1.0.29" + +[features] +default = [] +python = ["cpython", "cpython_ext"] diff --git a/eden/scm/lib/commitcloudsubscriber/Cargo.toml b/eden/scm/lib/commitcloudsubscriber/Cargo.toml new file mode 100644 index 0000000000000..0bde7ca2720ab --- /dev/null +++ b/eden/scm/lib/commitcloudsubscriber/Cargo.toml @@ -0,0 +1,38 @@ +# @generated by autocargo + +[package] +name = "commitcloudsubscriber" +version = "0.1.0" +edition = "2021" +description = ''' + Cross platform client for subscribing to Commit Cloud eventsource (http server-sent events) + The workflow is the following: + * define 'subscription' as a unique [repo_name, workspace] pair + * read set of 'subscribers', defined as [repo_name, workspace, repo_root] + * runs a Commit Cloud eventsource listener in a separate thread for every 'subscription' + (and a set of 'subscribers' (repo_roots)) + * triggers `hg cloud sync` command on notifications in all 'subscribers' (repo_roots) + for a given 'subscription' + * the library also contains a module to find OAuth token, + this logic should be in sync with `hg cloud auth` command. +''' + +[dependencies] +anyhow = "1.0.51" +eventsource = "0.5" +filetime = "0.2.9" +hostcaps = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "main" } +lazy_static = "1.0" +log = { version = "0.4.14", features = ["kv_unstable", "kv_unstable_std"] } +regex = "1.5.4" +reqwest = { version = "0.11.4", features = ["blocking", "json", "rustls-tls", "rustls-tls-native-roots", "stream", "trust-dns-optional"] } +rust-ini = { version = "0.17", features = ["inline-comment"] } +serde = { version = "1.0.126", features = ["derive", "rc"] } +serde_json = { version = "1.0.64", features = ["float_roundtrip", "unbounded_depth"] } +thiserror = "1.0.29" + +[dev-dependencies] +tempfile = "3.2" + +[features] +default = [] diff --git a/eden/scm/lib/configmodel/Cargo.toml b/eden/scm/lib/configmodel/Cargo.toml new file mode 100644 index 0000000000000..910867cf920bb --- /dev/null +++ b/eden/scm/lib/configmodel/Cargo.toml @@ -0,0 +1,11 @@ +# @generated by autocargo + +[package] +name = "configmodel" +version = "0.1.0" +edition = "2021" + +[dependencies] +minibytes = { version = "0.1.0", path = "../minibytes" } +thiserror = "1.0.29" +util = { version = "0.1.0", path = "../util" } diff --git a/eden/scm/lib/configparser/Cargo.toml b/eden/scm/lib/configparser/Cargo.toml new file mode 100644 index 0000000000000..b04548f34ac70 --- /dev/null +++ b/eden/scm/lib/configparser/Cargo.toml @@ -0,0 +1,50 @@ +# @generated by autocargo + +[package] +name = "configparser" +version = "0.1.0" +edition = "2021" + +[lib] +crate-type = ["lib", "staticlib"] + +[[bench]] +name = "bench" +harness = false + +[dependencies] +anyhow = "1.0.51" +configmodel = { version = "0.1.0", path = "../configmodel" } +dirs = "2.0" +filetime = { version = "0.2.9", optional = true } +hgtime = { version = "0.1.0", path = "../hgtime", optional = true } +hostcaps = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "main", optional = true } +hostname = "0.3" +http-client = { version = "0.1.0", path = "../http-client", optional = true } +indexmap = { version = "1.8.0", features = ["rayon", "serde-1"] } +minibytes = { version = "0.1.0", path = "../minibytes" } +os_info = { version = "3.0.7", optional = true } +pest = "2.1" +regex = { version = "1.5.4", optional = true } +serde = { version = "1.0.126", features = ["derive", "rc"], optional = true } +serde_json = { version = "1.0.64", features = ["float_roundtrip", "unbounded_depth"], optional = true } +serde_urlencoded = { version = "0.5", optional = true } +sha2 = { version = "0.8", optional = true } +tempfile = { version = "3.2", optional = true } +tracing = "0.1.29" +types = { version = "0.1.0", path = "../types", optional = true } +url = "2.2.2" +util = { version = "0.1.0", path = "../util" } +version = { version = "0.1.0", path = "../version" } +zstd = { version = "=0.8.0+zstd.1.4.9", optional = true } + +[dev-dependencies] +lazy_static = "1.0" +minibench = { version = "0.1.0", path = "../minibench" } +parking_lot = { version = "0.11.2", features = ["send_guard"] } +tempdir = "0.3" +tempfile = "3.2" + +[features] +default = [] +fb = ["filetime", "hgtime", "hostcaps", "hostcaps/fb", "http-client", "os_info", "regex", "serde", "serde_json", "serde_urlencoded", "sha2", "sha2", "tempfile", "types", "zstd"] diff --git a/eden/scm/lib/cpython-async/Cargo.toml b/eden/scm/lib/cpython-async/Cargo.toml new file mode 100644 index 0000000000000..3a4f4b7498649 --- /dev/null +++ b/eden/scm/lib/cpython-async/Cargo.toml @@ -0,0 +1,22 @@ +# @generated by autocargo + +[package] +name = "cpython_async" +version = "0.1.0" +edition = "2021" + +[dependencies] +anyhow = "1.0.51" +async-runtime = { version = "0.1.0", path = "../async-runtime" } +cpython = { version = "0.7", default-features = false } +cpython_ext = { version = "0.1.0", path = "../cpython-ext", default-features = false } +futures = { version = "0.3.13", features = ["async-await", "compat"] } +itertools = "0.10.3" + +[dev-dependencies] +tokio = { version = "1.15", features = ["full", "test-util", "tracing"] } + +[features] +default = ["python3"] +python2 = ["cpython_ext/python2"] +python3 = ["cpython_ext/python3"] diff --git a/eden/scm/lib/cpython-ext/Cargo.toml b/eden/scm/lib/cpython-ext/Cargo.toml new file mode 100644 index 0000000000000..dfdebb889b863 --- /dev/null +++ b/eden/scm/lib/cpython-ext/Cargo.toml @@ -0,0 +1,31 @@ +# @generated by autocargo + +[package] +name = "cpython_ext" +version = "0.1.0" +edition = "2021" + +[dependencies] +anyhow = "1.0.51" +cpython = { version = "0.7", default-features = false } +encoding = { version = "0.1.0", path = "../encoding" } +io = { version = "0.1.0", path = "../io" } +libc = "0.2.98" +once_cell = "1.8" +parking_lot = { version = "0.11.2", features = ["send_guard"] } +python27-sys = { version = "0.7", optional = true } +python3-sys = { version = "0.7", optional = true } +serde = { version = "1.0.126", features = ["derive", "rc"] } +taggederror = { version = "0.1.0", path = "../taggederror" } +taggederror-util = { version = "0.1.0", path = "../taggederror-util" } +thiserror = "1.0.29" +types = { version = "0.1.0", path = "../types" } + +[dev-dependencies] +serde_bytes = "0.11" +serde_cbor = "0.11" + +[features] +default = ["python3"] +python2 = ["cpython/python27-sys", "python27-sys"] +python3 = ["cpython/python3-sys", "python3-sys"] diff --git a/eden/scm/lib/dag/Cargo.toml b/eden/scm/lib/dag/Cargo.toml new file mode 100644 index 0000000000000..7b036a1e6c635 --- /dev/null +++ b/eden/scm/lib/dag/Cargo.toml @@ -0,0 +1,64 @@ +# @generated by autocargo + +[package] +name = "dag" +version = "0.1.0" +edition = "2021" + +[[bench]] +name = "dag_ops" +harness = false + +[[bench]] +name = "inprocess_iddag_serde" +harness = false + +[[bench]] +name = "segment_sizes" +harness = false + +[[bench]] +name = "spanset" +harness = false + +[dependencies] +anyhow = "1.0.51" +async-trait = "0.1.51" +bitflags = "1.3" +byteorder = "1.3" +dag-types = { version = "0.1.0", path = "dag-types" } +drawdag = { version = "0.1.0", path = "../drawdag" } +fail = { version = "0.4", features = ["failpoints"] } +fs2 = { version = "0.4", optional = true } +futures = { version = "0.3.13", features = ["async-await", "compat"] } +indexedlog = { version = "0.1.0", path = "../indexedlog", optional = true } +indexmap = { version = "1.8.0", features = ["rayon", "serde-1"] } +itertools = "0.10.3" +mincode = { version = "0.1.0", path = "../mincode" } +minibytes = { version = "0.1.0", path = "../minibytes" } +nonblocking = { version = "0.1.0", path = "../nonblocking" } +parking_lot = { version = "0.11.2", features = ["send_guard"] } +quickcheck = { version = "1.0", optional = true } +rand = { version = "0.8", features = ["small_rng"] } +serde = { version = "1.0.126", features = ["derive", "rc"] } +tempfile = { version = "3.2", optional = true } +thiserror = "1.0.29" +tracing = "0.1.29" +vlqencoding = { version = "0.1.0", path = "../vlqencoding" } + +[dev-dependencies] +bindag = { version = "0.1.0", path = "bindag" } +dag-types = { version = "0.1.0", path = "dag-types", features = ["for-tests"] } +dev-logger = { version = "0.1.0", path = "../dev-logger" } +fs2 = "0.4" +indexedlog = { version = "0.1.0", path = "../indexedlog" } +minibench = { version = "0.1.0", path = "../minibench" } +once_cell = "1.8" +quickcheck = "1.0" +tokio = { version = "1.15", features = ["full", "test-util", "tracing"] } +unicode-width = "0.1" + +[features] +default = ["for-tests", "indexedlog-backend"] +for-tests = ["quickcheck"] +indexedlog-backend = ["fs2", "indexedlog", "tempfile"] diff --git a/eden/scm/lib/dag/bindag/Cargo.toml b/eden/scm/lib/dag/bindag/Cargo.toml new file mode 100644 index 0000000000000..4047dd950e857 --- /dev/null +++ b/eden/scm/lib/dag/bindag/Cargo.toml @@ -0,0 +1,13 @@ +# @generated by autocargo + +[package] +name = "bindag" +version = "0.1.0" +edition = "2021" + +[dependencies] +dag = { version = "0.1.0", path = ".." } +drawdag = { version = "0.1.0", path = "../../drawdag" } +nonblocking = { version = "0.1.0", path = "../../nonblocking" } +tempfile = "3.2" +vlqencoding = { version = "0.1.0", path = "../../vlqencoding" } diff --git a/eden/scm/lib/dag/dag-types/Cargo.toml b/eden/scm/lib/dag/dag-types/Cargo.toml new file mode 100644 index 0000000000000..7fcc00a6cfbb5 --- /dev/null +++ b/eden/scm/lib/dag/dag-types/Cargo.toml @@ -0,0 +1,19 @@ +# @generated by autocargo + +[package] +name = "dag-types" +version = "0.1.0" +edition = "2021" + +[dependencies] +abomonation = "0.7" +abomonation_derive = "0.5" +minibytes = { version = "0.1.0", path = "../../minibytes" } +quickcheck = { version = "1.0", optional = true } +serde = { version = "1.0.126", features = ["derive", "rc"] } + +[dev-dependencies] +quickcheck = "1.0" + +[features] +for-tests = ["quickcheck"] diff --git a/eden/scm/lib/dag/gitdag/Cargo.toml b/eden/scm/lib/dag/gitdag/Cargo.toml new file mode 100644 index 0000000000000..c91231ec89f7d --- /dev/null +++ b/eden/scm/lib/dag/gitdag/Cargo.toml @@ -0,0 +1,14 @@ +# @generated by autocargo + +[package] +name = "gitdag" +version = "0.1.0" +edition = "2021" + +[dependencies] +anyhow = "1.0.51" +dag = { version = "0.1.0", path = ".." } +git2 = "0.13" +nonblocking = { version = "0.1.0", path = "../../nonblocking" } +parking_lot = { version = "0.11.2", features = ["send_guard"] } +tracing = "0.1.29" diff --git a/eden/scm/lib/debugtop/Cargo.toml b/eden/scm/lib/debugtop/Cargo.toml new file mode 100644 index 0000000000000..d0a3516a51ee9 --- /dev/null +++ b/eden/scm/lib/debugtop/Cargo.toml @@ -0,0 +1,11 @@ +# @generated by autocargo + +[package] +name = "debugtop" +version = "0.1.0" +edition = "2021" + +[dependencies] +anyhow = "1.0.51" +chrono = { version = "0.4", features = ["clock", "serde", "std"], default-features = false } +runlog = { version = "0.1.0", path = "../runlog" } diff --git a/eden/scm/lib/dev-logger/Cargo.toml b/eden/scm/lib/dev-logger/Cargo.toml new file mode 100644 index 0000000000000..fb73f951a2be3 --- /dev/null +++ b/eden/scm/lib/dev-logger/Cargo.toml @@ -0,0 +1,11 @@ +# @generated by autocargo + +[package] +name = "dev-logger" +version = "0.1.0" +edition = "2021" + +[dependencies] +ctor = "0.1" +tracing = "0.1.29" +tracing-subscriber = { version = "0.3.3", features = ["ansi", "env-filter", "fmt", "json", "parking_lot", "registry"] } diff --git a/eden/scm/lib/drawdag/Cargo.toml b/eden/scm/lib/drawdag/Cargo.toml new file mode 100644 index 0000000000000..ab6a5b1a522c9 --- /dev/null +++ b/eden/scm/lib/drawdag/Cargo.toml @@ -0,0 +1,6 @@ +# @generated by autocargo + +[package] +name = "drawdag" +version = "0.1.0" +edition = "2021" diff --git a/eden/scm/lib/eagerepo/Cargo.toml b/eden/scm/lib/eagerepo/Cargo.toml new file mode 100644 index 0000000000000..946b05c51b661 --- /dev/null +++ b/eden/scm/lib/eagerepo/Cargo.toml @@ -0,0 +1,24 @@ +# @generated by autocargo + +[package] +name = "eagerepo" +version = "0.1.0" +edition = "2021" + +[dependencies] +anyhow = "1.0.51" +async-trait = "0.1.51" +dag = { version = "0.1.0", path = "../dag" } +edenapi_trait = { version = "0.1.0", path = "../edenapi/trait" } +futures = { version = "0.3.13", features = ["async-await", "compat"] } +http = "0.2" +metalog = { version = "0.1.0", path = "../metalog" } +minibytes = { version = "0.1.0", path = "../minibytes" } +nonblocking = { version = "0.1.0", path = "../nonblocking" } +thiserror = "1.0.29" +tracing = "0.1.29" +zstore = { version = "0.1.0", path = "../zstore" } + +[dev-dependencies] +tempfile = "3.2" +tokio = { version = "1.15", features = ["full", "test-util", "tracing"] } diff --git a/eden/scm/lib/edenapi/Cargo.toml b/eden/scm/lib/edenapi/Cargo.toml new file mode 100644 index 0000000000000..cfbcada6cfc59 --- /dev/null +++ b/eden/scm/lib/edenapi/Cargo.toml @@ -0,0 +1,39 @@ +# @generated by autocargo + +[package] +name = "edenapi" +version = "0.1.0" +edition = "2021" + +[dependencies] +anyhow = "1.0.51" +async-runtime = { version = "0.1.0", path = "../async-runtime" } +async-trait = "0.1.51" +auth = { version = "0.1.0", path = "../auth" } +bytes = { version = "1.1", features = ["serde"] } +chrono = { version = "0.4", features = ["clock", "serde", "std"], default-features = false } +configmodel = { version = "0.1.0", path = "../configmodel" } +edenapi_trait = { version = "0.1.0", path = "trait" } +edenapi_types = { version = "0.1.0", path = "types" } +futures = { version = "0.3.13", features = ["async-await", "compat"] } +hg-http = { version = "0.1.0", path = "../hg-http" } +http-client = { version = "0.1.0", path = "../http-client" } +itertools = "0.10.3" +metrics = { version = "0.1.0", path = "../metrics" } +minibytes = { version = "0.1.0", path = "../minibytes" } +once_cell = "1.8" +parking_lot = { version = "0.11.2", features = ["send_guard"] } +percent-encoding = "2.1" +pprint = { version = "0.1.0", path = "../pprint" } +progress-model = { version = "0.1.0", path = "../progress/model" } +serde = { version = "1.0.126", features = ["derive", "rc"] } +serde_cbor = "0.11" +serde_json = { version = "1.0.64", features = ["float_roundtrip", "unbounded_depth"] } +tokio = { version = "1.15", features = ["full", "test-util", "tracing"] } +tracing = "0.1.29" +types = { version = "0.1.0", path = "../types" } +url = "2.2.2" +version = { version = "0.1.0", path = "../version" } + +[features] +fb = ["hg-http/fb"] diff --git a/eden/scm/lib/edenapi/ext/Cargo.toml b/eden/scm/lib/edenapi/ext/Cargo.toml new file mode 100644 index 0000000000000..9757ba68aab01 --- /dev/null +++ b/eden/scm/lib/edenapi/ext/Cargo.toml @@ -0,0 +1,19 @@ +# @generated by autocargo + +[package] +name = "edenapi_ext" +version = "0.1.0" +edition = "2021" + +[dependencies] +anyhow = "1.0.51" +blake2 = "0.9" +crossbeam = "0.8" +edenapi = { version = "0.1.0", path = ".." } +edenapi_types = { version = "0.1.0", path = "../types" } +futures = { version = "0.3.13", features = ["async-await", "compat"] } +itertools = "0.10.3" +minibytes = { version = "0.1.0", path = "../../minibytes" } +tokio = { version = "1.15", features = ["full", "test-util", "tracing"] } +types = { version = "0.1.0", path = "../../types" } +vfs = { version = "0.1.0", path = "../../vfs" } diff --git a/eden/scm/lib/edenapi/trait/Cargo.toml b/eden/scm/lib/edenapi/trait/Cargo.toml new file mode 100644 index 0000000000000..c42897bc1b098 --- /dev/null +++ b/eden/scm/lib/edenapi/trait/Cargo.toml @@ -0,0 +1,21 @@ +# @generated by autocargo + +[package] +name = "edenapi_trait" +version = "0.1.0" +edition = "2021" + +[dependencies] +anyhow = "1.0.51" +async-trait = "0.1.51" +auth = { version = "0.1.0", path = "../../auth" } +configmodel = { version = "0.1.0", path = "../../configmodel" } +edenapi_types = { version = "0.1.0", path = "../types" } +futures = { version = "0.3.13", features = ["async-await", "compat"] } +http = "0.2" +http-client = { version = "0.1.0", path = "../../http-client" } +minibytes = { version = "0.1.0", path = "../../minibytes" } +serde_cbor = "0.11" +thiserror = "1.0.29" +types = { version = "0.1.0", path = "../../types" } +url = "2.2.2" diff --git a/eden/scm/lib/edenapi/types/Cargo.toml b/eden/scm/lib/edenapi/types/Cargo.toml new file mode 100644 index 0000000000000..3ec7fc7f4911a --- /dev/null +++ b/eden/scm/lib/edenapi/types/Cargo.toml @@ -0,0 +1,33 @@ +# @generated by autocargo + +[package] +name = "edenapi_types" +version = "0.1.0" +edition = "2021" + +[[test]] +name = "macro_test" +path = "test/basic_test.rs" + +[dependencies] +anyhow = "1.0.51" +bytes = { version = "1.1", features = ["serde"] } +dag-types = { version = "0.1.0", path = "../../dag/dag-types", features = ["for-tests"] } +paste = "1.0" +quickcheck = "1.0" +revisionstore_types = { version = "0.1.0", path = "../../revisionstore/types" } +serde = { version = "1.0.126", features = ["derive", "rc"] } +serde_bytes = "0.11" +serde_derive = "1.0" +thiserror = "1.0.29" +type_macros = { version = "0.1.0", path = "proc_macros" } +types = { version = "0.1.0", path = "../../types" } + +[dev-dependencies] +insta_ext = { version = "0.1.0", path = "../../insta_ext" } +quickcheck_macros = "1.0" +serde_json = { version = "1.0.64", features = ["float_roundtrip", "unbounded_depth"] } + +[features] +default = ["for-tests"] +for-tests = [] diff --git a/eden/fs/cli_rs/stack-config-derive/Cargo.toml b/eden/scm/lib/edenapi/types/proc_macros/Cargo.toml similarity index 62% rename from eden/fs/cli_rs/stack-config-derive/Cargo.toml rename to eden/scm/lib/edenapi/types/proc_macros/Cargo.toml index c3d4e9333167d..3cb7eb5fe7f65 100644 --- a/eden/fs/cli_rs/stack-config-derive/Cargo.toml +++ b/eden/scm/lib/edenapi/types/proc_macros/Cargo.toml @@ -1,20 +1,18 @@ # @generated by autocargo [package] -name = "stack-config-derive" +name = "type_macros" version = "0.1.0" -authors = ["Facebook Source Control Team "] edition = "2021" -license = "GPLv2+" [lib] +path = "lib.rs" test = false doctest = false proc-macro = true [dependencies] -darling = "0.12.0" -proc-macro-error = "1.0" +proc-macro-crate = "1.1.0" proc-macro2 = "1.0" quote = "1.0" syn = { version = "1.0", features = ["extra-traits", "fold", "full", "visit", "visit-mut"] } diff --git a/eden/scm/lib/edenfs-client/Cargo.toml b/eden/scm/lib/edenfs-client/Cargo.toml new file mode 100644 index 0000000000000..c44cf28af2ac8 --- /dev/null +++ b/eden/scm/lib/edenfs-client/Cargo.toml @@ -0,0 +1,20 @@ +# @generated by autocargo + +[package] +name = "edenfs_client" +version = "0.1.0" +edition = "2021" + +[dependencies] +anyhow = "1.0.51" +byteorder = "1.3" +chrono = { version = "0.4", features = ["clock", "serde", "std"], default-features = false } +clidispatch = { version = "0.1.0", path = "../clidispatch" } +fbthrift_socket = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "main" } +sha2 = "0.8" +thrift-types = { version = "0.1.0", path = "../thrift-types" } +tokio = { version = "1.15", features = ["full", "test-util", "tracing"] } +tokio-uds-compat = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "main" } + +[dev-dependencies] +telemetry = { path = "../../../../scm/telemetry/telemetry" } diff --git a/eden/scm/lib/encoding/Cargo.toml b/eden/scm/lib/encoding/Cargo.toml new file mode 100644 index 0000000000000..70c51316d5018 --- /dev/null +++ b/eden/scm/lib/encoding/Cargo.toml @@ -0,0 +1,14 @@ +# @generated by autocargo + +[package] +name = "encoding" +version = "0.1.0" +edition = "2021" + +[dependencies] +types = { version = "0.1.0", path = "../types" } + +[target.'cfg(windows)'.dependencies] +kernel32-sys = "0.2.2" +local-encoding = "*" +winapi = "0.2.7" diff --git a/eden/scm/lib/fsinfo/Cargo.toml b/eden/scm/lib/fsinfo/Cargo.toml new file mode 100644 index 0000000000000..28ab67fb045ad --- /dev/null +++ b/eden/scm/lib/fsinfo/Cargo.toml @@ -0,0 +1,13 @@ +# @generated by autocargo + +[package] +name = "fsinfo" +version = "0.1.0" +edition = "2021" + +[dependencies] +anyhow = "1.0.51" +libc = "0.2.98" + +[target.'cfg(windows)'.dependencies] +winapi = { version = "0.3", features = ["fileapi", "handleapi", "ioapiset", "minwindef", "winbase", "winerror", "winioctl"] } diff --git a/eden/scm/lib/fsyncglob/Cargo.toml b/eden/scm/lib/fsyncglob/Cargo.toml new file mode 100644 index 0000000000000..35c4f3988adf3 --- /dev/null +++ b/eden/scm/lib/fsyncglob/Cargo.toml @@ -0,0 +1,13 @@ +# @generated by autocargo + +[package] +name = "fsyncglob" +version = "0.1.0" +edition = "2021" + +[dependencies] +glob = "0.3" +tracing = "0.1.29" + +[dev-dependencies] +tempfile = "3.2" diff --git a/eden/scm/lib/gitstore/Cargo.toml b/eden/scm/lib/gitstore/Cargo.toml new file mode 100644 index 0000000000000..597c81b9cdec3 --- /dev/null +++ b/eden/scm/lib/gitstore/Cargo.toml @@ -0,0 +1,23 @@ +# @generated by autocargo + +[package] +name = "gitstore" +version = "0.1.0" +edition = "2021" + +[[bench]] +name = "read_obj" +harness = false + +[dependencies] +anyhow = "1.0.51" +async-trait = "0.1.51" +bytes = { version = "1.1", features = ["serde"] } +futures = { version = "0.3.13", features = ["async-await", "compat"] } +git2 = "0.13" +minibytes = { version = "0.1.0", path = "../minibytes" } +storemodel = { version = "0.1.0", path = "../storemodel" } +types = { version = "0.1.0", path = "../types" } + +[dev-dependencies] +minibench = { version = "0.1.0", path = "../minibench" } diff --git a/eden/scm/lib/hg-http/Cargo.toml b/eden/scm/lib/hg-http/Cargo.toml new file mode 100644 index 0000000000000..5a296fb656eec --- /dev/null +++ b/eden/scm/lib/hg-http/Cargo.toml @@ -0,0 +1,19 @@ +# @generated by autocargo + +[package] +name = "hg-http" +version = "0.1.0" +edition = "2021" + +[dependencies] +async-runtime = { version = "0.1.0", path = "../async-runtime" } +auth = { version = "0.1.0", path = "../auth" } +clientinfo = { version = "0.1.0", path = "../clientinfo" } +configmodel = { version = "0.1.0", path = "../configmodel" } +hg-metrics = { version = "0.1.0", path = "../hg-metrics" } +http-client = { version = "0.1.0", path = "../http-client" } +once_cell = "1.8" +progress-model = { version = "0.1.0", path = "../progress/model" } + +[features] +fb = ["clientinfo/fb"] diff --git a/eden/scm/lib/hg-metrics/Cargo.toml b/eden/scm/lib/hg-metrics/Cargo.toml new file mode 100644 index 0000000000000..0ac7b36a6779f --- /dev/null +++ b/eden/scm/lib/hg-metrics/Cargo.toml @@ -0,0 +1,10 @@ +# @generated by autocargo + +[package] +name = "hg-metrics" +version = "0.1.0" +edition = "2021" + +[dependencies] +once_cell = "1.8" +parking_lot = { version = "0.11.2", features = ["send_guard"] } diff --git a/eden/scm/lib/hgcommands/Cargo.toml b/eden/scm/lib/hgcommands/Cargo.toml new file mode 100644 index 0000000000000..c8ae68f6e4dd3 --- /dev/null +++ b/eden/scm/lib/hgcommands/Cargo.toml @@ -0,0 +1,63 @@ +# @generated by autocargo + +[package] +name = "hgcommands" +version = "0.1.0" +edition = "2021" + +[dependencies] +anyhow = "1.0.51" +async-runtime = { version = "0.1.0", path = "../async-runtime" } +bindings = { path = "../../edenscmnative/bindings", default-features = false } +blackbox = { version = "0.1.0", path = "../blackbox" } +chrono = { version = "0.4", features = ["clock", "serde", "std"], default-features = false } +clidispatch = { version = "0.1.0", path = "../clidispatch" } +cliparser = { version = "0.1.0", path = "../cliparser", features = ["python"] } +comfy-table = "4.0.1" +configparser = { version = "0.1.0", path = "../configparser" } +cpython = { version = "0.7", default-features = false } +cpython_ext = { version = "0.1.0", path = "../cpython-ext", default-features = false } +dag = { version = "0.1.0", path = "../dag" } +debugtop = { version = "0.1.0", path = "../debugtop" } +eagerepo = { version = "0.1.0", path = "../eagerepo" } +edenapi = { version = "0.1.0", path = "../edenapi" } +edenfs_client = { version = "0.1.0", path = "../edenfs-client" } +encoding = { version = "0.1.0", path = "../encoding" } +fail = { version = "0.4", features = ["failpoints"] } +flate2 = { version = "1.0", features = ["rust_backend", "tokio"], default-features = false } +fsyncglob = { version = "0.1.0", path = "../fsyncglob" } +hg-http = { version = "0.1.0", path = "../hg-http" } +hgtime = { version = "0.1.0", path = "../hgtime" } +indexedlog = { version = "0.1.0", path = "../indexedlog" } +libc = "0.2.98" +metrics-render = { version = "0.1.0", path = "../metrics/render" } +mincode = { version = "0.1.0", path = "../mincode" } +once_cell = "1.8" +parking_lot = { version = "0.11.2", features = ["send_guard"] } +procinfo = { version = "0.1.0", path = "../procinfo" } +progress-model = { version = "0.1.0", path = "../progress/model" } +progress-render = { version = "0.1.0", path = "../progress/render" } +python27-sys = { version = "0.7", optional = true } +python3-sys = { version = "0.7", optional = true } +pytracing = { path = "../../edenscmnative/bindings/modules/pytracing", default-features = false } +rand = { version = "0.8", features = ["small_rng"] } +repo = { version = "0.1.0", path = "../repo" } +revisionstore = { version = "0.1.0", path = "../revisionstore" } +runlog = { version = "0.1.0", path = "../runlog" } +serde_json = { version = "1.0.64", features = ["float_roundtrip", "unbounded_depth"] } +taggederror = { version = "0.1.0", path = "../taggederror" } +terminal_size = "0.1" +tracing = "0.1.29" +tracing-collector = { version = "0.1.0", path = "../tracing-collector" } +tracing-sampler = { version = "0.1.0", path = "../tracing-sampler" } +tracing-subscriber = { version = "0.3.3", features = ["ansi", "env-filter", "fmt", "json", "parking_lot", "registry"] } +types = { version = "0.1.0", path = "../types" } +util = { version = "0.1.0", path = "../util" } +version = { version = "0.1.0", path = "../version" } +zstd = "=0.8.0+zstd.1.4.9" + +[features] +default = ["python3"] +fb = ["configparser/fb", "hg-http/fb", "version/generated"] +python2 = ["bindings/python2", "cpython/python27-sys", "cpython_ext/python2", "python27-sys", "pytracing/python2"] +python3 = ["bindings/python3", "cpython/python3-sys", "cpython_ext/python3", "python3-sys", "pytracing/python3"] diff --git a/eden/scm/lib/hgcommits/Cargo.toml b/eden/scm/lib/hgcommits/Cargo.toml new file mode 100644 index 0000000000000..a9baa93f2e22e --- /dev/null +++ b/eden/scm/lib/hgcommits/Cargo.toml @@ -0,0 +1,26 @@ +# @generated by autocargo + +[package] +name = "hgcommits" +version = "0.1.0" +edition = "2021" + +[dependencies] +anyhow = "1.0.51" +async-trait = "0.1.51" +dag = { version = "0.1.0", path = "../dag", features = ["for-tests", "indexedlog-backend"] } +edenapi = { version = "0.1.0", path = "../edenapi" } +futures = { version = "0.3.13", features = ["async-await", "compat"] } +gitdag = { version = "0.1.0", path = "../dag/gitdag" } +metalog = { version = "0.1.0", path = "../metalog" } +minibytes = { version = "0.1.0", path = "../minibytes", features = ["frombytes"] } +parking_lot = { version = "0.11.2", features = ["send_guard"] } +refencode = { version = "0.1.0", path = "../refencode" } +revlogindex = { version = "0.1.0", path = "../revlogindex" } +serde = { version = "1.0.126", features = ["derive", "rc"] } +storemodel = { version = "0.1.0", path = "../storemodel" } +streams = { version = "0.1.0", path = "../streams" } +thiserror = "1.0.29" +tracing = "0.1.29" +types = { version = "0.1.0", path = "../types" } +zstore = { version = "0.1.0", path = "../zstore" } diff --git a/eden/scm/lib/hgtime/Cargo.toml b/eden/scm/lib/hgtime/Cargo.toml new file mode 100644 index 0000000000000..6490d031a03a3 --- /dev/null +++ b/eden/scm/lib/hgtime/Cargo.toml @@ -0,0 +1,10 @@ +# @generated by autocargo + +[package] +name = "hgtime" +version = "0.1.0" +edition = "2021" + +[dependencies] +chrono = { version = "0.4", features = ["clock", "serde", "std"], default-features = false } +humantime = "2.1" diff --git a/eden/scm/lib/http-client/Cargo.toml b/eden/scm/lib/http-client/Cargo.toml new file mode 100644 index 0000000000000..09f8178753282 --- /dev/null +++ b/eden/scm/lib/http-client/Cargo.toml @@ -0,0 +1,43 @@ +# @generated by autocargo + +[package] +name = "http-client" +version = "0.1.0" +edition = "2021" + +[[bin]] +name = "http_cli" +path = "src/bin/cli.rs" + +[dependencies] +anyhow = "1.0.51" +async-compression = { version = "0.3.8", features = ["all-implementations", "brotli", "bzip2", "deflate", "gzip", "zlib", "zstd"] } +atty = "0.2" +curl = { version = "0.4.41", features = ["http2"] } +curl-sys = "0.4.51" +env_logger = "0.7" +futures = { version = "0.3.13", features = ["async-await", "compat"] } +http = "0.2" +lru-cache = "0.1.2" +maplit = "1.0" +once_cell = "1.8" +openssl = "0.10.35" +parking_lot = { version = "0.11.2", features = ["send_guard"] } +paste = "1.0" +pin-project = "0.4.28" +regex = "1.5.4" +serde = { version = "1.0.126", features = ["derive", "rc"] } +serde_cbor = "0.11" +serde_json = { version = "1.0.64", features = ["float_roundtrip", "unbounded_depth"] } +structopt = "0.3.23" +thiserror = "1.0.29" +tokio = { version = "1.15", features = ["full", "test-util", "tracing"] } +tokio-util = { version = "0.6", features = ["full"] } +tracing = "0.1.29" +url = "2.2.2" + +[dev-dependencies] +assert_matches = "1.5" +crossbeam = "0.8" +mockito = "0.25" +zstd = "=0.8.0+zstd.1.4.9" diff --git a/eden/scm/lib/indexedlog/Cargo.toml b/eden/scm/lib/indexedlog/Cargo.toml new file mode 100644 index 0000000000000..1a0a342c92cbd --- /dev/null +++ b/eden/scm/lib/indexedlog/Cargo.toml @@ -0,0 +1,39 @@ +# @generated by autocargo + +[package] +name = "indexedlog" +version = "0.1.0" +edition = "2021" + +[[bench]] +name = "index" +harness = false + +[[bench]] +name = "log" +harness = false + +[[bench]] +name = "misc" +harness = false + +[dependencies] +atomicfile = { version = "0.1.0", path = "../atomicfile" } +byteorder = "1.3" +fs2 = "0.4" +hex = "0.4.3" +libc = "0.2.98" +memmap = "0.7" +minibytes = { version = "0.1.0", path = "../minibytes" } +once_cell = "1.8" +rand = { version = "0.8", features = ["small_rng"] } +tempfile = "3.2" +tracing = "0.1.29" +twox-hash = "1.6.1" +vlqencoding = { version = "0.1.0", path = "../vlqencoding" } + +[dev-dependencies] +dev-logger = { version = "0.1.0", path = "../dev-logger" } +minibench = { version = "0.1.0", path = "../minibench" } +quickcheck = "1.0" +rand_chacha = "0.3" diff --git a/eden/scm/lib/insta_ext/Cargo.toml b/eden/scm/lib/insta_ext/Cargo.toml new file mode 100644 index 0000000000000..9dacdc8615d39 --- /dev/null +++ b/eden/scm/lib/insta_ext/Cargo.toml @@ -0,0 +1,9 @@ +# @generated by autocargo + +[package] +name = "insta_ext" +version = "0.1.0" +edition = "2021" + +[dependencies] +insta = "1" diff --git a/eden/scm/lib/io/Cargo.toml b/eden/scm/lib/io/Cargo.toml new file mode 100644 index 0000000000000..c945acb2533e5 --- /dev/null +++ b/eden/scm/lib/io/Cargo.toml @@ -0,0 +1,16 @@ +# @generated by autocargo + +[package] +name = "io" +version = "0.1.0" +authors = ["Facebook Source Control Team "] +edition = "2021" + +[dependencies] +atty = "0.2" +configmodel = { version = "0.1.0", path = "../configmodel" } +configparser = { version = "0.1.0", path = "../configparser" } +once_cell = "1.8" +parking_lot = { version = "0.11.2", features = ["send_guard"] } +pipe = "0.2" +streampager = { version = "0.10", default-features = false } diff --git a/eden/scm/lib/lz4-pyframe/Cargo.toml b/eden/scm/lib/lz4-pyframe/Cargo.toml new file mode 100644 index 0000000000000..e82d21d070bbf --- /dev/null +++ b/eden/scm/lib/lz4-pyframe/Cargo.toml @@ -0,0 +1,20 @@ +# @generated by autocargo + +[package] +name = "lz4-pyframe" +version = "0.1.0" +authors = ["Facebook Source Control Team "] +edition = "2021" + +[[bench]] +name = "bench" +harness = false + +[dependencies] +byteorder = "1.3" +libc = "0.2.98" +lz4-sys = "1.8" +thiserror = "1.0.29" + +[dev-dependencies] +quickcheck = "1.0" diff --git a/eden/scm/lib/manifest-tree/Cargo.toml b/eden/scm/lib/manifest-tree/Cargo.toml new file mode 100644 index 0000000000000..eeeed1c4a22ba --- /dev/null +++ b/eden/scm/lib/manifest-tree/Cargo.toml @@ -0,0 +1,44 @@ +# @generated by autocargo + +[package] +name = "manifest-tree" +version = "0.1.0" +authors = ["Facebook Source Control Team "] +edition = "2021" + +[[bench]] +name = "bench" +harness = false +required-features = ["for-tests"] + +[dependencies] +anyhow = "1.0.51" +async-runtime = { version = "0.1.0", path = "../async-runtime" } +bytes = { version = "1.1", features = ["serde"] } +futures = { version = "0.3.13", features = ["async-await", "compat"] } +futures-batch = "0.6" +manifest = { version = "0.1.0", path = "../manifest" } +once_cell = "1.8" +parking_lot = { version = "0.11.2", features = ["send_guard"], optional = true } +pathmatcher = { version = "0.1.0", path = "../pathmatcher" } +progress-model = { version = "0.1.0", path = "../progress/model" } +quickcheck = { version = "1.0", optional = true } +rand = { version = "0.8", features = ["small_rng"], optional = true } +sha-1 = "0.8" +storemodel = { version = "0.1.0", path = "../storemodel" } +thiserror = "1.0.29" +tracing = "0.1.29" +types = { version = "0.1.0", path = "../types" } + +[dev-dependencies] +manifest = { version = "0.1.0", path = "../manifest", features = ["for-tests"], default-features = false } +minibench = { version = "0.1.0", path = "../minibench" } +parking_lot = { version = "0.11.2", features = ["send_guard"] } +quickcheck = "1.0" +rand = { version = "0.8", features = ["small_rng"] } +rand_chacha = "0.3" +types = { version = "0.1.0", path = "../types", features = ["for-tests"], default-features = false } + +[features] +default = [] +for-tests = ["parking_lot", "quickcheck", "rand"] diff --git a/eden/scm/lib/manifest/Cargo.toml b/eden/scm/lib/manifest/Cargo.toml new file mode 100644 index 0000000000000..723db2ace285e --- /dev/null +++ b/eden/scm/lib/manifest/Cargo.toml @@ -0,0 +1,21 @@ +# @generated by autocargo + +[package] +name = "manifest" +version = "0.1.0" +authors = ["Facebook Source Control Team "] +edition = "2021" + +[dependencies] +anyhow = "1.0.51" +pathmatcher = { version = "0.1.0", path = "../pathmatcher" } +quickcheck = { version = "1.0", optional = true } +types = { version = "0.1.0", path = "../types" } + +[dev-dependencies] +quickcheck = "1.0" +types = { version = "0.1.0", path = "../types", features = ["for-tests"], default-features = false } + +[features] +default = [] +for-tests = ["quickcheck"] diff --git a/eden/scm/lib/metalog/Cargo.toml b/eden/scm/lib/metalog/Cargo.toml new file mode 100644 index 0000000000000..87aa4b56e8cc4 --- /dev/null +++ b/eden/scm/lib/metalog/Cargo.toml @@ -0,0 +1,25 @@ +# @generated by autocargo + +[package] +name = "metalog" +version = "0.1.0" +edition = "2021" + +[dependencies] +anyhow = "1.0.51" +git2 = "0.13" +indexedlog = { version = "0.1.0", path = "../indexedlog" } +lazy_static = "1.0" +mincode = { version = "0.1.0", path = "../mincode" } +minibytes = { version = "0.1.0", path = "../minibytes" } +parking_lot = { version = "0.11.2", features = ["send_guard"] } +serde = { version = "1.0.126", features = ["derive", "rc"] } +tracing = "0.1.29" +types = { version = "0.1.0", path = "../types" } +zstore = { version = "0.1.0", path = "../zstore" } + +[dev-dependencies] +quickcheck = "1.0" +rand_chacha = "0.3" +rand_core = "0.6" +tempfile = "3.2" diff --git a/eden/scm/lib/metrics/Cargo.toml b/eden/scm/lib/metrics/Cargo.toml new file mode 100644 index 0000000000000..565c5a7c736f2 --- /dev/null +++ b/eden/scm/lib/metrics/Cargo.toml @@ -0,0 +1,10 @@ +# @generated by autocargo + +[package] +name = "metrics" +version = "0.1.0" +edition = "2021" + +[dependencies] +futures = { version = "0.3.13", features = ["async-await", "compat"] } +once_cell = "1.8" diff --git a/eden/scm/lib/metrics/render/Cargo.toml b/eden/scm/lib/metrics/render/Cargo.toml new file mode 100644 index 0000000000000..53c0c284c6f0a --- /dev/null +++ b/eden/scm/lib/metrics/render/Cargo.toml @@ -0,0 +1,13 @@ +# @generated by autocargo + +[package] +name = "metrics-render" +version = "0.1.0" +edition = "2021" + +[dependencies] +async-runtime = { version = "0.1.0", path = "../../async-runtime" } +metrics = { version = "0.1.0", path = ".." } +once_cell = "1.8" +progress-model = { version = "0.1.0", path = "../../progress/model" } +tracing = "0.1.29" diff --git a/eden/scm/lib/mincode/Cargo.toml b/eden/scm/lib/mincode/Cargo.toml new file mode 100644 index 0000000000000..fc03496e099cd --- /dev/null +++ b/eden/scm/lib/mincode/Cargo.toml @@ -0,0 +1,18 @@ +# @generated by autocargo + +[package] +name = "mincode" +version = "0.1.0" +authors = ["David Tolnay ", "Facebook Source Control Team "] +edition = "2021" +description = "Minimal serialization format" +license = "GPL-2.0-only" +include = ["Cargo.toml", "src/**/*.rs"] + +[dependencies] +byteorder = "1.3" +serde = { version = "1.0.126", features = ["derive", "rc"] } +vlqencoding = { version = "0.1.0", path = "../vlqencoding" } + +[dev-dependencies] +quickcheck = "1.0" diff --git a/eden/scm/lib/minibench/Cargo.toml b/eden/scm/lib/minibench/Cargo.toml new file mode 100644 index 0000000000000..fb278d231c7ee --- /dev/null +++ b/eden/scm/lib/minibench/Cargo.toml @@ -0,0 +1,6 @@ +# @generated by autocargo + +[package] +name = "minibench" +version = "0.1.0" +edition = "2021" diff --git a/eden/scm/lib/minibytes/Cargo.toml b/eden/scm/lib/minibytes/Cargo.toml new file mode 100644 index 0000000000000..ab8f84109e09a --- /dev/null +++ b/eden/scm/lib/minibytes/Cargo.toml @@ -0,0 +1,18 @@ +# @generated by autocargo + +[package] +name = "minibytes" +version = "0.1.0" +edition = "2021" + +[dependencies] +bytes = { version = "1.1", features = ["serde"], optional = true } +memmap = "0.7" +serde = { version = "1.0.126", features = ["derive", "rc"] } + +[dev-dependencies] +quickcheck = "1.0" + +[features] +default = ["frombytes"] +frombytes = ["bytes"] diff --git a/eden/scm/lib/mpatch-sys/Cargo.toml b/eden/scm/lib/mpatch-sys/Cargo.toml new file mode 100644 index 0000000000000..cf4cb0f23e7e0 --- /dev/null +++ b/eden/scm/lib/mpatch-sys/Cargo.toml @@ -0,0 +1,9 @@ +# @generated by autocargo + +[package] +name = "mpatch-sys" +version = "0.1.0" +edition = "2021" + +[build-dependencies] +cc = "1.0" diff --git a/eden/scm/lib/mpatch/Cargo.toml b/eden/scm/lib/mpatch/Cargo.toml new file mode 100644 index 0000000000000..af9ad2ca5ca7e --- /dev/null +++ b/eden/scm/lib/mpatch/Cargo.toml @@ -0,0 +1,10 @@ +# @generated by autocargo + +[package] +name = "mpatch" +version = "0.1.0" +edition = "2021" + +[dependencies] +libc = "0.2.98" +mpatch-sys = { version = "0.1.0", path = "../mpatch-sys" } diff --git a/eden/scm/lib/mutationstore/Cargo.toml b/eden/scm/lib/mutationstore/Cargo.toml new file mode 100644 index 0000000000000..1fd62ea2d54b5 --- /dev/null +++ b/eden/scm/lib/mutationstore/Cargo.toml @@ -0,0 +1,23 @@ +# @generated by autocargo + +[package] +name = "mutationstore" +version = "0.1.0" +edition = "2021" + +[dependencies] +anyhow = "1.0.51" +bitflags = "1.3" +dag = { version = "0.1.0", path = "../dag" } +futures = { version = "0.3.13", features = ["async-await", "compat"] } +indexedlog = { version = "0.1.0", path = "../indexedlog" } +types = { version = "0.1.0", path = "../types" } +vlqencoding = { version = "0.1.0", path = "../vlqencoding" } + +[dev-dependencies] +drawdag = { version = "0.1.0", path = "../drawdag" } +rand = { version = "0.8", features = ["small_rng"] } +rand_chacha = "0.3" +renderdag = { version = "0.1.0", path = "../renderdag" } +tempdir = "0.3" +types = { version = "0.1.0", path = "../types", features = ["for-tests"], default-features = false } diff --git a/eden/scm/lib/nodemap/Cargo.toml b/eden/scm/lib/nodemap/Cargo.toml new file mode 100644 index 0000000000000..136fe199661bf --- /dev/null +++ b/eden/scm/lib/nodemap/Cargo.toml @@ -0,0 +1,18 @@ +# @generated by autocargo + +[package] +name = "nodemap" +version = "0.1.0" +authors = ["Facebook Source Control Team "] +edition = "2021" + +[dependencies] +anyhow = "1.0.51" +indexedlog = { version = "0.1.0", path = "../indexedlog" } +thiserror = "1.0.29" +types = { version = "0.1.0", path = "../types" } + +[dev-dependencies] +quickcheck = "1.0" +tempfile = "3.2" +types = { version = "0.1.0", path = "../types", features = ["for-tests"], default-features = false } diff --git a/eden/scm/lib/nonblocking/Cargo.toml b/eden/scm/lib/nonblocking/Cargo.toml new file mode 100644 index 0000000000000..a07b8586c637f --- /dev/null +++ b/eden/scm/lib/nonblocking/Cargo.toml @@ -0,0 +1,9 @@ +# @generated by autocargo + +[package] +name = "nonblocking" +version = "0.1.0" +edition = "2021" + +[dev-dependencies] +futures = { version = "0.3.13", features = ["async-await", "compat"] } diff --git a/eden/scm/lib/pathhistory/Cargo.toml b/eden/scm/lib/pathhistory/Cargo.toml new file mode 100644 index 0000000000000..0d78850947c92 --- /dev/null +++ b/eden/scm/lib/pathhistory/Cargo.toml @@ -0,0 +1,21 @@ +# @generated by autocargo + +[package] +name = "pathhistory" +version = "0.1.0" +edition = "2021" + +[dependencies] +anyhow = "1.0.51" +async-runtime = { version = "0.1.0", path = "../async-runtime" } +dag = { version = "0.1.0", path = "../dag" } +manifest-tree = { version = "0.1.0", path = "../manifest-tree" } +storemodel = { version = "0.1.0", path = "../storemodel" } +tracing = "0.1.29" +types = { version = "0.1.0", path = "../types" } + +[dev-dependencies] +async-trait = "0.1.51" +dev-logger = { version = "0.1.0", path = "../dev-logger" } +manifest = { version = "0.1.0", path = "../manifest" } +tokio = { version = "1.15", features = ["full", "test-util", "tracing"] } diff --git a/eden/scm/lib/pathmatcher/Cargo.toml b/eden/scm/lib/pathmatcher/Cargo.toml new file mode 100644 index 0000000000000..2da0730abe267 --- /dev/null +++ b/eden/scm/lib/pathmatcher/Cargo.toml @@ -0,0 +1,16 @@ +# @generated by autocargo + +[package] +name = "pathmatcher" +version = "0.1.0" +edition = "2021" + +[dependencies] +anyhow = "1.0.51" +bitflags = "1.3" +globset = "0.4.7" +ignore = "0.4" +types = { version = "0.1.0", path = "../types" } + +[dev-dependencies] +tempfile = "3.2" diff --git a/eden/scm/lib/pprint/Cargo.toml b/eden/scm/lib/pprint/Cargo.toml new file mode 100644 index 0000000000000..7b0ef9c0b2981 --- /dev/null +++ b/eden/scm/lib/pprint/Cargo.toml @@ -0,0 +1,10 @@ +# @generated by autocargo + +[package] +name = "pprint" +version = "0.1.0" +edition = "2021" + +[dependencies] +serde = { version = "1.0.126", features = ["derive", "rc"] } +serde_cbor = "0.11" diff --git a/eden/scm/lib/procinfo/Cargo.toml b/eden/scm/lib/procinfo/Cargo.toml new file mode 100644 index 0000000000000..772b3aca80792 --- /dev/null +++ b/eden/scm/lib/procinfo/Cargo.toml @@ -0,0 +1,15 @@ +# @generated by autocargo + +[package] +name = "procinfo" +version = "0.1.0" +edition = "2021" + +[dependencies] +libc = "0.2.98" + +[target.'cfg(target_os = "macos")'.build-dependencies] +cc = "1.0" + +[target.'cfg(windows)'.dependencies] +winapi = { version = "0.3", features = ["handleapi", "minwindef", "processthreadsapi", "psapi", "tlhelp32"] } diff --git a/eden/scm/lib/progress/model/Cargo.toml b/eden/scm/lib/progress/model/Cargo.toml new file mode 100644 index 0000000000000..167e3c1eed151 --- /dev/null +++ b/eden/scm/lib/progress/model/Cargo.toml @@ -0,0 +1,17 @@ +# @generated by autocargo + +[package] +name = "progress-model" +version = "0.1.0" +edition = "2021" + +[dependencies] +arc-swap = "1.1" +once_cell = "1.8" +parking_lot = { version = "0.11.2", features = ["send_guard"] } +paste = "1.0" +tokio = { version = "1.15", features = ["full", "test-util", "tracing"] } +tracing = "0.1.29" + +[dev-dependencies] +async-runtime = { version = "0.1.0", path = "../../async-runtime" } diff --git a/eden/scm/lib/progress/render/Cargo.toml b/eden/scm/lib/progress/render/Cargo.toml new file mode 100644 index 0000000000000..a615084747ae1 --- /dev/null +++ b/eden/scm/lib/progress/render/Cargo.toml @@ -0,0 +1,10 @@ +# @generated by autocargo + +[package] +name = "progress-render" +version = "0.1.0" +edition = "2021" + +[dependencies] +progress-model = { version = "0.1.0", path = "../model" } +unicode-width = "0.1" diff --git a/eden/scm/lib/radixbuf/Cargo.toml b/eden/scm/lib/radixbuf/Cargo.toml new file mode 100644 index 0000000000000..9dfd8b2a06e94 --- /dev/null +++ b/eden/scm/lib/radixbuf/Cargo.toml @@ -0,0 +1,19 @@ +# @generated by autocargo + +[package] +name = "radixbuf" +version = "0.1.0" +edition = "2021" + +[[bench]] +name = "bench" +harness = false + +[dependencies] +thiserror = "1.0.29" +vlqencoding = { version = "0.1.0", path = "../vlqencoding" } + +[dev-dependencies] +minibench = { version = "0.1.0", path = "../minibench" } +quickcheck = "1.0" +rand = { version = "0.8", features = ["small_rng"] } diff --git a/eden/scm/lib/refencode/Cargo.toml b/eden/scm/lib/refencode/Cargo.toml new file mode 100644 index 0000000000000..bd33314afbdee --- /dev/null +++ b/eden/scm/lib/refencode/Cargo.toml @@ -0,0 +1,9 @@ +# @generated by autocargo + +[package] +name = "refencode" +version = "0.1.0" +edition = "2021" + +[dependencies] +types = { version = "0.1.0", path = "../types" } diff --git a/eden/scm/lib/renderdag/Cargo.toml b/eden/scm/lib/renderdag/Cargo.toml new file mode 100644 index 0000000000000..fa46d913f1a8a --- /dev/null +++ b/eden/scm/lib/renderdag/Cargo.toml @@ -0,0 +1,9 @@ +# @generated by autocargo + +[package] +name = "renderdag" +version = "0.1.0" +edition = "2021" + +[dependencies] +dag = { version = "0.1.0", path = "../dag" } diff --git a/eden/scm/lib/repo/Cargo.toml b/eden/scm/lib/repo/Cargo.toml new file mode 100644 index 0000000000000..676d4b6211799 --- /dev/null +++ b/eden/scm/lib/repo/Cargo.toml @@ -0,0 +1,19 @@ +# @generated by autocargo + +[package] +name = "repo" +version = "0.1.0" +edition = "2021" + +[dependencies] +anyhow = "1.0.51" +configparser = { version = "0.1.0", path = "../configparser" } +thiserror = "1.0.29" +util = { version = "0.1.0", path = "../util" } + +[dev-dependencies] +tempfile = "3.2" + +[features] +default = [] +fb = [] diff --git a/eden/scm/lib/revisionstore/Cargo.toml b/eden/scm/lib/revisionstore/Cargo.toml new file mode 100644 index 0000000000000..da46cf6b62c08 --- /dev/null +++ b/eden/scm/lib/revisionstore/Cargo.toml @@ -0,0 +1,71 @@ +# @generated by autocargo + +[package] +name = "revisionstore" +version = "0.1.0" +edition = "2021" + +[dependencies] +anyhow = "1.0.51" +async-runtime = { version = "0.1.0", path = "../async-runtime" } +async-trait = "0.1.51" +auth = { version = "0.1.0", path = "../auth" } +bincode = "1.3.3" +blake2 = "0.9" +byteorder = "1.3" +configmodel = { version = "0.1.0", path = "../configmodel" } +configparser = { version = "0.1.0", path = "../configparser" } +crossbeam = "0.8" +edenapi = { version = "0.1.0", path = "../edenapi" } +edenapi_types = { version = "0.1.0", path = "../edenapi/types" } +futures = { version = "0.3.13", features = ["async-await", "compat"] } +hex = "0.4.3" +hg-http = { version = "0.1.0", path = "../hg-http" } +hgtime = { version = "0.1.0", path = "../hgtime" } +http = "0.2" +http-client = { version = "0.1.0", path = "../http-client" } +indexedlog = { version = "0.1.0", path = "../indexedlog" } +lfs_protocol = { version = "0.1.0", path = "../../../mononoke/lfs_protocol" } +lz4-pyframe = { version = "0.1.0", path = "../lz4-pyframe" } +manifest-tree = { version = "0.1.0", path = "../manifest-tree" } +memmap = "0.7" +mincode = { version = "0.1.0", path = "../mincode" } +minibytes = { version = "0.1.0", path = "../minibytes", features = ["frombytes"] } +mpatch = { version = "0.1.0", path = "../mpatch" } +once_cell = "1.8" +parking_lot = { version = "0.11.2", features = ["send_guard"] } +progress-model = { version = "0.1.0", path = "../progress/model" } +quickcheck = "1.0" +rand = { version = "0.8", features = ["small_rng"] } +regex = "1.5.4" +revisionstore_types = { version = "0.1.0", path = "types" } +serde = { version = "1.0.126", features = ["derive", "rc"] } +serde_derive = "1.0" +serde_json = { version = "1.0.64", features = ["float_roundtrip", "unbounded_depth"] } +sha-1 = "0.8" +sha2 = "0.8" +storemodel = { version = "0.1.0", path = "../storemodel" } +tempfile = "3.2" +thiserror = "1.0.29" +tokio = { version = "1.15", features = ["full", "test-util", "tracing"] } +tokio-stream = { version = "0.1.4", features = ["fs", "io-util", "net", "signal", "sync", "time"] } +tracing = "0.1.29" +types = { version = "0.1.0", path = "../types" } +url = "2.2.2" +util = { version = "0.1.0", path = "../util" } +version = { version = "0.1.0", path = "../version" } +vlqencoding = { version = "0.1.0", path = "../vlqencoding" } + +[dev-dependencies] +lazy_static = "1.0" +maplit = "1.0" +mockito = "0.25" +rand_chacha = "0.3" + +[target.'cfg(target_os = "linux")'.dependencies] +fbinit = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "main" } + +[features] +default = ["for-tests"] +fb = [] +for-tests = [] diff --git a/eden/fs/cli_rs/edenfs-config/Cargo.toml b/eden/scm/lib/revisionstore/types/Cargo.toml similarity index 53% rename from eden/fs/cli_rs/edenfs-config/Cargo.toml rename to eden/scm/lib/revisionstore/types/Cargo.toml index 08d912b37216f..fe7b85a5f6ca9 100644 --- a/eden/fs/cli_rs/edenfs-config/Cargo.toml +++ b/eden/scm/lib/revisionstore/types/Cargo.toml @@ -1,16 +1,21 @@ # @generated by autocargo [package] -name = "edenfs-config" +name = "revisionstore_types" version = "0.1.0" authors = ["Facebook Source Control Team "] edition = "2021" -license = "GPLv2+" + +[lib] +path = "lib.rs" [dependencies] anyhow = "1.0.51" -edenfs-error = { version = "0.1.0", path = "../edenfs-error" } +byteorder = "1.3" +quickcheck = "1.0" serde = { version = "1.0.126", features = ["derive", "rc"] } -stack-config = { version = "0.1.0", path = "../stack-config" } -toml = "=0.5.8" -tracing = "0.1.29" +serde_derive = "1.0" + +[features] +default = ["for-tests"] +for-tests = [] diff --git a/eden/scm/lib/revlogindex/Cargo.toml b/eden/scm/lib/revlogindex/Cargo.toml new file mode 100644 index 0000000000000..b986ada85498f --- /dev/null +++ b/eden/scm/lib/revlogindex/Cargo.toml @@ -0,0 +1,24 @@ +# @generated by autocargo + +[package] +name = "revlogindex" +version = "0.1.0" +edition = "2021" + +[dependencies] +async-trait = "0.1.51" +bit-vec = "0.6" +byteorder = "1.3" +dag = { version = "0.1.0", path = "../dag" } +indexedlog = { version = "0.1.0", path = "../indexedlog" } +lz4-pyframe = { version = "0.1.0", path = "../lz4-pyframe" } +minibytes = { version = "0.1.0", path = "../minibytes" } +nonblocking = { version = "0.1.0", path = "../nonblocking" } +parking_lot = { version = "0.11.2", features = ["send_guard"] } +radixbuf = { version = "0.1.0", path = "../radixbuf" } +thiserror = "1.0.29" +util = { version = "0.1.0", path = "../util" } + +[dev-dependencies] +anyhow = "1.0.51" +tempfile = "3.2" diff --git a/eden/scm/lib/runlog/Cargo.toml b/eden/scm/lib/runlog/Cargo.toml new file mode 100644 index 0000000000000..567a4e736905f --- /dev/null +++ b/eden/scm/lib/runlog/Cargo.toml @@ -0,0 +1,23 @@ +# @generated by autocargo + +[package] +name = "runlog" +version = "0.1.0" +edition = "2021" + +[dependencies] +anyhow = "1.0.51" +chrono = { version = "0.4", features = ["clock", "serde", "std"], default-features = false } +fs2 = "0.4" +hg-http = { version = "0.1.0", path = "../hg-http" } +libc = "0.2.98" +parking_lot = { version = "0.11.2", features = ["send_guard"] } +progress-model = { version = "0.1.0", path = "../progress/model" } +rand = { version = "0.8", features = ["small_rng"] } +repo = { version = "0.1.0", path = "../repo" } +serde = { version = "1.0.126", features = ["derive", "rc"] } +serde_json = { version = "1.0.64", features = ["float_roundtrip", "unbounded_depth"] } +util = { version = "0.1.0", path = "../util" } + +[dev-dependencies] +tempfile = "3.2" diff --git a/eden/scm/lib/spawn-ext/Cargo.toml b/eden/scm/lib/spawn-ext/Cargo.toml new file mode 100644 index 0000000000000..55564eca0d4ef --- /dev/null +++ b/eden/scm/lib/spawn-ext/Cargo.toml @@ -0,0 +1,15 @@ +# @generated by autocargo + +[package] +name = "spawn-ext" +version = "0.1.0" +edition = "2021" + +[dependencies] +libc = "0.2.98" + +[dev-dependencies] +tempfile = "3.2" + +[target.'cfg(windows)'.dependencies] +winapi = { version = "0.3", features = ["handleapi", "winbase"] } diff --git a/eden/scm/lib/status/Cargo.toml b/eden/scm/lib/status/Cargo.toml new file mode 100644 index 0000000000000..de0aeaa401b4d --- /dev/null +++ b/eden/scm/lib/status/Cargo.toml @@ -0,0 +1,9 @@ +# @generated by autocargo + +[package] +name = "status" +version = "0.1.0" +edition = "2021" + +[dependencies] +types = { version = "0.1.0", path = "../types" } diff --git a/eden/scm/lib/storemodel/Cargo.toml b/eden/scm/lib/storemodel/Cargo.toml new file mode 100644 index 0000000000000..6ba5701874fb9 --- /dev/null +++ b/eden/scm/lib/storemodel/Cargo.toml @@ -0,0 +1,14 @@ +# @generated by autocargo + +[package] +name = "storemodel" +version = "0.1.0" +edition = "2021" + +[dependencies] +anyhow = "1.0.51" +async-trait = "0.1.51" +bytes = { version = "1.1", features = ["serde"] } +futures = { version = "0.3.13", features = ["async-await", "compat"] } +minibytes = { version = "0.1.0", path = "../minibytes" } +types = { version = "0.1.0", path = "../types" } diff --git a/eden/scm/lib/streams/Cargo.toml b/eden/scm/lib/streams/Cargo.toml new file mode 100644 index 0000000000000..20cd57b7d0b57 --- /dev/null +++ b/eden/scm/lib/streams/Cargo.toml @@ -0,0 +1,15 @@ +# @generated by autocargo + +[package] +name = "streams" +version = "0.1.0" +edition = "2021" + +[dependencies] +async-trait = "0.1.51" +futures = { version = "0.3.13", features = ["async-await", "compat"] } +pin-project = "0.4.28" + +[dev-dependencies] +anyhow = "1.0.51" +tokio = { version = "1.15", features = ["full", "test-util", "tracing"] } diff --git a/eden/scm/lib/taggederror-util/Cargo.toml b/eden/scm/lib/taggederror-util/Cargo.toml new file mode 100644 index 0000000000000..d0d8b1fcd6ba3 --- /dev/null +++ b/eden/scm/lib/taggederror-util/Cargo.toml @@ -0,0 +1,11 @@ +# @generated by autocargo + +[package] +name = "taggederror-util" +version = "0.1.0" +authors = ["Facebook Source Control Team "] +edition = "2021" + +[dependencies] +anyhow = "1.0.51" +taggederror = { version = "0.1.0", path = "../taggederror" } diff --git a/eden/fs/cli_rs/edenfs-error/Cargo.toml b/eden/scm/lib/taggederror/Cargo.toml similarity index 82% rename from eden/fs/cli_rs/edenfs-error/Cargo.toml rename to eden/scm/lib/taggederror/Cargo.toml index fbf57596329aa..7a9a0b93a8f9a 100644 --- a/eden/fs/cli_rs/edenfs-error/Cargo.toml +++ b/eden/scm/lib/taggederror/Cargo.toml @@ -1,11 +1,10 @@ # @generated by autocargo [package] -name = "edenfs-error" +name = "taggederror" version = "0.1.0" authors = ["Facebook Source Control Team "] edition = "2021" -license = "GPLv2+" [dependencies] anyhow = "1.0.51" diff --git a/eden/scm/lib/tracing-analyzer/Cargo.toml b/eden/scm/lib/tracing-analyzer/Cargo.toml new file mode 100644 index 0000000000000..a27872d895607 --- /dev/null +++ b/eden/scm/lib/tracing-analyzer/Cargo.toml @@ -0,0 +1,11 @@ +# @generated by autocargo + +[package] +name = "tracing-analyzer" +version = "0.1.0" +edition = "2021" + +[dependencies] +serde = { version = "1.0.126", features = ["derive", "rc"] } +serde_json = { version = "1.0.64", features = ["float_roundtrip", "unbounded_depth"] } +tracing-collector = { version = "0.1.0", path = "../tracing-collector" } diff --git a/eden/scm/lib/tracing-collector/Cargo.toml b/eden/scm/lib/tracing-collector/Cargo.toml new file mode 100644 index 0000000000000..df29f628ab5e2 --- /dev/null +++ b/eden/scm/lib/tracing-collector/Cargo.toml @@ -0,0 +1,18 @@ +# @generated by autocargo + +[package] +name = "tracing-collector" +version = "0.1.0" +edition = "2021" + +[dependencies] +indexmap = { version = "1.8.0", features = ["rayon", "serde-1"] } +libc = "0.2.98" +parking_lot = { version = "0.11.2", features = ["send_guard"] } +serde = { version = "1.0.126", features = ["derive", "rc"] } +serde_json = { version = "1.0.64", features = ["float_roundtrip", "unbounded_depth"] } +tracing = "0.1.29" +tracing-subscriber = { version = "0.3.3", features = ["ansi", "env-filter", "fmt", "json", "parking_lot", "registry"] } + +[target.'cfg(windows)'.dependencies] +winapi = { version = "0.3.7", features = ["processthreadsapi"] } diff --git a/eden/scm/lib/tracing-runtime-callsite/Cargo.toml b/eden/scm/lib/tracing-runtime-callsite/Cargo.toml new file mode 100644 index 0000000000000..419db09cb8370 --- /dev/null +++ b/eden/scm/lib/tracing-runtime-callsite/Cargo.toml @@ -0,0 +1,15 @@ +# @generated by autocargo + +[package] +name = "tracing-runtime-callsite" +version = "0.1.0" +authors = ["Facebook Source Control Team "] +edition = "2021" + +[dependencies] +once_cell = "1.8" +parking_lot = { version = "0.11.2", features = ["send_guard"] } +tracing = "0.1.29" + +[dev-dependencies] +regex = "1.5.4" diff --git a/eden/scm/lib/tracing-sampler/Cargo.toml b/eden/scm/lib/tracing-sampler/Cargo.toml new file mode 100644 index 0000000000000..a27406a2f455e --- /dev/null +++ b/eden/scm/lib/tracing-sampler/Cargo.toml @@ -0,0 +1,19 @@ +# @generated by autocargo + +[package] +name = "tracing-sampler" +version = "0.1.0" +edition = "2021" + +[dependencies] +configmodel = { version = "0.1.0", path = "../configmodel" } +once_cell = "1.8" +parking_lot = { version = "0.11.2", features = ["send_guard"] } +serde = { version = "1.0.126", features = ["derive", "rc"] } +serde_json = { version = "1.0.64", features = ["float_roundtrip", "unbounded_depth"] } +tracing = "0.1.29" +tracing-serde = "0.1.2" +tracing-subscriber = { version = "0.3.3", features = ["ansi", "env-filter", "fmt", "json", "parking_lot", "registry"] } + +[dev-dependencies] +tempfile = "3.2" diff --git a/eden/scm/lib/treestate/Cargo.toml b/eden/scm/lib/treestate/Cargo.toml new file mode 100644 index 0000000000000..3838a86db04b0 --- /dev/null +++ b/eden/scm/lib/treestate/Cargo.toml @@ -0,0 +1,23 @@ +# @generated by autocargo + +[package] +name = "treestate" +version = "0.1.0" +authors = ["Facebook Source Control Team "] +edition = "2021" + +[dependencies] +anyhow = "1.0.51" +bitflags = "1.3" +byteorder = "1.3" +thiserror = "1.0.29" +twox-hash = "1.6.1" +types = { version = "0.1.0", path = "../types" } +vlqencoding = { version = "0.1.0", path = "../vlqencoding" } + +[dev-dependencies] +itertools = "0.10.3" +quickcheck = "1.0" +rand = { version = "0.8", features = ["small_rng"] } +rand_chacha = "0.3" +tempdir = "0.3" diff --git a/eden/scm/lib/types/Cargo.toml b/eden/scm/lib/types/Cargo.toml new file mode 100644 index 0000000000000..3f4ff5c2a4bbe --- /dev/null +++ b/eden/scm/lib/types/Cargo.toml @@ -0,0 +1,30 @@ +# @generated by autocargo + +[package] +name = "types" +version = "0.1.0" +edition = "2021" + +[dependencies] +anyhow = "1.0.51" +byteorder = "1.3" +lazy_static = { version = "1.0", optional = true } +quickcheck = { version = "1.0", optional = true } +rand = { version = "0.8", features = ["small_rng"], optional = true } +serde = { version = "1.0.126", features = ["derive", "rc"] } +serde_bytes = "0.11" +serde_derive = "1.0" +sha-1 = "0.8" +thiserror = "1.0.29" +vlqencoding = { version = "0.1.0", path = "../vlqencoding" } + +[dev-dependencies] +lazy_static = "1.0" +quickcheck = "1.0" +rand = { version = "0.8", features = ["small_rng"] } +serde_cbor = "0.11" +serde_json = { version = "1.0.64", features = ["float_roundtrip", "unbounded_depth"] } + +[features] +default = ["for-tests"] +for-tests = ["lazy_static", "quickcheck", "rand"] diff --git a/eden/scm/lib/util/Cargo.toml b/eden/scm/lib/util/Cargo.toml new file mode 100644 index 0000000000000..b372884ab8110 --- /dev/null +++ b/eden/scm/lib/util/Cargo.toml @@ -0,0 +1,24 @@ +# @generated by autocargo + +[package] +name = "util" +version = "0.1.0" +edition = "2021" + +[dependencies] +anyhow = "1.0.51" +atomicfile = { version = "0.1.0", path = "../atomicfile" } +dirs = "2.0" +fs2 = "0.4" +libc = "0.2.98" +once_cell = "1.8" +rand = { version = "0.8", features = ["small_rng"] } +shellexpand = "2.0" +tempfile = "3.2" + +[dev-dependencies] +memmap = "0.7" +tempdir = "0.3" + +[target.'cfg(target_os = "windows")'.dependencies] +winapi = { version = "0.3", features = ["fileapi", "handleapi", "winbase", "winnt"] } diff --git a/eden/scm/lib/version/Cargo.toml b/eden/scm/lib/version/Cargo.toml new file mode 100644 index 0000000000000..838107ff5aea6 --- /dev/null +++ b/eden/scm/lib/version/Cargo.toml @@ -0,0 +1,9 @@ +# @generated by autocargo + +[package] +name = "version" +version = "0.1.0" +edition = "2021" + +[features] +generated = [] diff --git a/eden/scm/lib/vfs/Cargo.toml b/eden/scm/lib/vfs/Cargo.toml new file mode 100644 index 0000000000000..baa50e56024f3 --- /dev/null +++ b/eden/scm/lib/vfs/Cargo.toml @@ -0,0 +1,22 @@ +# @generated by autocargo + +[package] +name = "vfs" +version = "0.1.0" +edition = "2021" + +[dependencies] +anyhow = "1.0.51" +crossbeam = "0.8" +dashmap = { version = "4.0.2", features = ["rayon", "serde"] } +fs2 = "0.4" +fsinfo = { version = "0.1.0", path = "../fsinfo" } +libc = "0.2.98" +minibytes = { version = "0.1.0", path = "../minibytes" } +thiserror = "1.0.29" +tokio = { version = "1.15", features = ["full", "test-util", "tracing"] } +types = { version = "0.1.0", path = "../types" } +util = { version = "0.1.0", path = "../util" } + +[dev-dependencies] +tempfile = "3.2" diff --git a/eden/scm/lib/vlqencoding/Cargo.toml b/eden/scm/lib/vlqencoding/Cargo.toml new file mode 100644 index 0000000000000..169f1746c516a --- /dev/null +++ b/eden/scm/lib/vlqencoding/Cargo.toml @@ -0,0 +1,14 @@ +# @generated by autocargo + +[package] +name = "vlqencoding" +version = "0.1.0" +authors = ["Facebook Source Control Team "] +edition = "2021" + +[[bench]] +name = "bench" +harness = false + +[dev-dependencies] +quickcheck = "1.0" diff --git a/eden/scm/lib/workingcopy/Cargo.toml b/eden/scm/lib/workingcopy/Cargo.toml new file mode 100644 index 0000000000000..eac3aeaae8e30 --- /dev/null +++ b/eden/scm/lib/workingcopy/Cargo.toml @@ -0,0 +1,19 @@ +# @generated by autocargo + +[package] +name = "workingcopy" +version = "0.1.0" +edition = "2021" + +[dependencies] +anyhow = "1.0.51" +crossbeam = "0.8" +parking_lot = { version = "0.11.2", features = ["send_guard"] } +pathmatcher = { version = "0.1.0", path = "../pathmatcher" } +thiserror = "1.0.29" +treestate = { version = "0.1.0", path = "../treestate" } +types = { version = "0.1.0", path = "../types" } +vfs = { version = "0.1.0", path = "../vfs" } + +[dev-dependencies] +tempfile = "3.2" diff --git a/eden/scm/lib/xdiff-sys/Cargo.toml b/eden/scm/lib/xdiff-sys/Cargo.toml new file mode 100644 index 0000000000000..e2efd641be4b7 --- /dev/null +++ b/eden/scm/lib/xdiff-sys/Cargo.toml @@ -0,0 +1,13 @@ +# @generated by autocargo + +[package] +name = "xdiff-sys" +version = "0.1.0" +edition = "2021" + +[[bin]] +name = "xdiff_sys_bin" +path = "src/bin/xdiff-sys-bin.rs" + +[build-dependencies] +cc = "1.0" diff --git a/eden/scm/lib/xdiff/Cargo.toml b/eden/scm/lib/xdiff/Cargo.toml new file mode 100644 index 0000000000000..86e3f75a38704 --- /dev/null +++ b/eden/scm/lib/xdiff/Cargo.toml @@ -0,0 +1,10 @@ +# @generated by autocargo + +[package] +name = "xdiff" +version = "0.1.0" +edition = "2021" + +[dependencies] +structopt = "0.3.23" +xdiff-sys = { version = "0.1.0", path = "../xdiff-sys" } diff --git a/eden/scm/lib/zstdelta/Cargo.toml b/eden/scm/lib/zstdelta/Cargo.toml new file mode 100644 index 0000000000000..24f25eeb71614 --- /dev/null +++ b/eden/scm/lib/zstdelta/Cargo.toml @@ -0,0 +1,19 @@ +# @generated by autocargo + +[package] +name = "zstdelta" +version = "0.1.0" +edition = "2021" + +[[bin]] +name = "zstdelta" +doc = false + +[dependencies] +libc = "0.2.98" +zstd-sys = { version = "=1.5.0+zstd.1.4.9", features = ["experimental"] } + +[dev-dependencies] +quickcheck = "1.0" +rand = { version = "0.8", features = ["small_rng"] } +rand_chacha = "0.3" diff --git a/eden/scm/lib/zstore/Cargo.toml b/eden/scm/lib/zstore/Cargo.toml new file mode 100644 index 0000000000000..b99a043715498 --- /dev/null +++ b/eden/scm/lib/zstore/Cargo.toml @@ -0,0 +1,23 @@ +# @generated by autocargo + +[package] +name = "zstore" +version = "0.1.0" +edition = "2021" + +[dependencies] +indexedlog = { version = "0.1.0", path = "../indexedlog" } +lazy_static = "1.0" +lru-cache = "0.1.2" +mincode = { version = "0.1.0", path = "../mincode" } +minibytes = { version = "0.1.0", path = "../minibytes", features = ["frombytes"] } +parking_lot = { version = "0.11.2", features = ["send_guard"] } +serde = { version = "1.0.126", features = ["derive", "rc"] } +sha-1 = "0.8" +tracing = "0.1.29" +types = { version = "0.1.0", path = "../types" } +zstdelta = { version = "0.1.0", path = "../zstdelta" } + +[dev-dependencies] +quickcheck = "1.0" +tempfile = "3.2"