mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 16:57:49 +03:00
87ddbe2f74
Summary: Autocargo V2 will use a more structured format for autocargo field with the help of `cargo_toml` crate it will be easy to deserialize and handle it. Also the "include" field is apparently obsolete as it is used for cargo-publish (see https://doc.rust-lang.org/cargo/reference/manifest.html#the-exclude-and-include-fields). From what I know this might be often wrong, especially if someone tries to publish a package from fbcode, then the private facebook folders might be shipped. Lets just not set it and in the new system one will be able to set it explicitly via autocargo parameter on a rule. Reviewed By: ahornby Differential Revision: D26339606 fbshipit-source-id: 510a01a4dd80b3efe58a14553b752009d516d651
61 lines
2.6 KiB
TOML
61 lines
2.6 KiB
TOML
[package]
|
|
name = "hooks"
|
|
edition = "2018"
|
|
version = "0.1.0"
|
|
authors = ['Facebook']
|
|
license = "GPLv2+"
|
|
|
|
[lib]
|
|
path = "src/lib.rs"
|
|
test = false
|
|
doctest = false
|
|
|
|
[[test]]
|
|
name = "hooks_tests"
|
|
path = "hooks-tests/src/lib.rs"
|
|
|
|
[dependencies]
|
|
bookmarks = { path = "../bookmarks", version = "0.1.0" }
|
|
context = { path = "../server/context", version = "0.1.0" }
|
|
hooks_content_stores = { path = "content-stores", version = "0.1.0" }
|
|
manifest = { path = "../manifest", version = "0.1.0" }
|
|
mercurial_types = { path = "../mercurial/types", version = "0.1.0" }
|
|
metaconfig_types = { path = "../metaconfig/types", version = "0.1.0" }
|
|
mononoke_types = { path = "../mononoke_types", version = "0.1.0" }
|
|
permission_checker = { path = "../permission_checker", version = "0.1.0" }
|
|
scuba_ext = { path = "../common/scuba_ext", version = "0.1.0" }
|
|
cloned = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master", version = "0.1.0" }
|
|
fbinit = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master", version = "0.1.0" }
|
|
futures_stats = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master", version = "0.1.0" }
|
|
scuba = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master", version = "0.1.0" }
|
|
stats = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master", version = "0.1.0" }
|
|
anyhow = "1.0"
|
|
async-trait = "0.1.29"
|
|
bytes = { version = "0.5", features = ["serde"] }
|
|
futures = { version = "0.3.5", features = ["async-await", "compat"] }
|
|
hyper = "0.13.10"
|
|
hyper-tls = "0.4"
|
|
ipnetwork = "0.15"
|
|
itertools = "0.8"
|
|
lazy_static = "1.0"
|
|
maplit = "1.0"
|
|
regex = "1.4.2"
|
|
serde = { version = "1.0", features = ["derive", "rc"] }
|
|
serde_derive = "1.0"
|
|
serde_json = { version = "1.0", features = ["float_roundtrip"] }
|
|
slog = { version = "2.5", features = ["max_level_debug"] }
|
|
tempdir = "0.3"
|
|
thiserror = "1.0"
|
|
tokio = { version = "0.2.25", features = ["full", "test-util"] }
|
|
|
|
[dev-dependencies]
|
|
blobrepo = { path = "../blobrepo", version = "0.1.0" }
|
|
blobrepo_factory = { path = "../blobrepo/factory", version = "0.1.0" }
|
|
blobstore = { path = "../blobstore", version = "0.1.0" }
|
|
fixtures = { path = "../tests/fixtures", version = "0.1.0" }
|
|
mononoke_types-mocks = { path = "../mononoke_types/mocks", version = "0.1.0" }
|
|
tests_utils = { path = "../tests/utils", version = "0.1.0" }
|
|
async_unit = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master", version = "0.1.0" }
|
|
borrowed = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master", version = "0.1.0" }
|
|
tokio-compat = "0.1"
|