chore: remove Cargo features in rustc-workspace-hack
This commit is contained in:
parent
82950f6895
commit
1cfaa3431e
82
Cargo.lock
82
Cargo.lock
@ -306,12 +306,6 @@ dependencies = [
|
|||||||
"toml",
|
"toml",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "bumpalo"
|
|
||||||
version = "3.11.1"
|
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
||||||
checksum = "572f695136211188308f16ad2ca5c851a712c464060ae6974944458eb83880ba"
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "bytecount"
|
name = "bytecount"
|
||||||
version = "0.6.2"
|
version = "0.6.2"
|
||||||
@ -1405,10 +1399,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|||||||
checksum = "c05aeb6a22b8f62540c194aac980f2115af067bfe15a0734d7277a768d396b31"
|
checksum = "c05aeb6a22b8f62540c194aac980f2115af067bfe15a0734d7277a768d396b31"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"cfg-if",
|
"cfg-if",
|
||||||
"js-sys",
|
|
||||||
"libc",
|
"libc",
|
||||||
"wasi",
|
"wasi",
|
||||||
"wasm-bindgen",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
@ -1780,15 +1772,6 @@ dependencies = [
|
|||||||
"libc",
|
"libc",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "js-sys"
|
|
||||||
version = "0.3.60"
|
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
||||||
checksum = "49409df3e3bf0856b916e2ceaca09ee28e6871cf7d9ce97a692cacfdb2a25a47"
|
|
||||||
dependencies = [
|
|
||||||
"wasm-bindgen",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "jsondocck"
|
name = "jsondocck"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
@ -2903,20 +2886,9 @@ dependencies = [
|
|||||||
name = "rustc-workspace-hack"
|
name = "rustc-workspace-hack"
|
||||||
version = "1.0.0"
|
version = "1.0.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bstr 0.2.17",
|
|
||||||
"clap 3.2.20",
|
|
||||||
"getrandom",
|
|
||||||
"hashbrown 0.12.3",
|
|
||||||
"libc",
|
"libc",
|
||||||
"libz-sys",
|
|
||||||
"once_cell",
|
|
||||||
"rand",
|
|
||||||
"regex",
|
"regex",
|
||||||
"serde_json",
|
"serde_json",
|
||||||
"smallvec",
|
|
||||||
"syn 1.0.102",
|
|
||||||
"url",
|
|
||||||
"winapi",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
@ -5280,60 +5252,6 @@ dependencies = [
|
|||||||
"rustc-std-workspace-core",
|
"rustc-std-workspace-core",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "wasm-bindgen"
|
|
||||||
version = "0.2.83"
|
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
||||||
checksum = "eaf9f5aceeec8be17c128b2e93e031fb8a4d469bb9c4ae2d7dc1888b26887268"
|
|
||||||
dependencies = [
|
|
||||||
"cfg-if",
|
|
||||||
"wasm-bindgen-macro",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "wasm-bindgen-backend"
|
|
||||||
version = "0.2.83"
|
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
||||||
checksum = "4c8ffb332579b0557b52d268b91feab8df3615f265d5270fec2a8c95b17c1142"
|
|
||||||
dependencies = [
|
|
||||||
"bumpalo",
|
|
||||||
"log",
|
|
||||||
"once_cell",
|
|
||||||
"proc-macro2",
|
|
||||||
"quote",
|
|
||||||
"syn 1.0.102",
|
|
||||||
"wasm-bindgen-shared",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "wasm-bindgen-macro"
|
|
||||||
version = "0.2.83"
|
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
||||||
checksum = "052be0f94026e6cbc75cdefc9bae13fd6052cdcaf532fa6c45e7ae33a1e6c810"
|
|
||||||
dependencies = [
|
|
||||||
"quote",
|
|
||||||
"wasm-bindgen-macro-support",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "wasm-bindgen-macro-support"
|
|
||||||
version = "0.2.83"
|
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
||||||
checksum = "07bc0c051dc5f23e307b13285f9d75df86bfdf816c5721e573dec1f9b8aa193c"
|
|
||||||
dependencies = [
|
|
||||||
"proc-macro2",
|
|
||||||
"quote",
|
|
||||||
"syn 1.0.102",
|
|
||||||
"wasm-bindgen-backend",
|
|
||||||
"wasm-bindgen-shared",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "wasm-bindgen-shared"
|
|
||||||
version = "0.2.83"
|
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
||||||
checksum = "1c38c045535d93ec4f0b4defec448e4291638ee608530863b1e2ba115d4fff7f"
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "winapi"
|
name = "winapi"
|
||||||
version = "0.3.9"
|
version = "0.3.9"
|
||||||
|
@ -299,7 +299,6 @@ pub fn prepare_tool_cargo(
|
|||||||
|| path.ends_with("rustfmt")
|
|| path.ends_with("rustfmt")
|
||||||
{
|
{
|
||||||
cargo.env("LIBZ_SYS_STATIC", "1");
|
cargo.env("LIBZ_SYS_STATIC", "1");
|
||||||
features.push("rustc-workspace-hack/all-static".to_string());
|
|
||||||
}
|
}
|
||||||
if path.ends_with("cargo") {
|
if path.ends_with("cargo") {
|
||||||
features.push("all-static".to_string());
|
features.push("all-static".to_string());
|
||||||
|
@ -12,91 +12,8 @@ path = "lib.rs"
|
|||||||
|
|
||||||
# For documentation about what this is and why in the world these dependencies
|
# For documentation about what this is and why in the world these dependencies
|
||||||
# are appearing, see `README.md`.
|
# are appearing, see `README.md`.
|
||||||
|
|
||||||
[target.'cfg(windows)'.dependencies.winapi]
|
|
||||||
version = "0.3"
|
|
||||||
features = [
|
|
||||||
"accctrl",
|
|
||||||
"aclapi",
|
|
||||||
"basetsd",
|
|
||||||
"cfg",
|
|
||||||
"consoleapi",
|
|
||||||
"errhandlingapi",
|
|
||||||
"evntrace",
|
|
||||||
"fibersapi",
|
|
||||||
"handleapi",
|
|
||||||
"in6addr",
|
|
||||||
"inaddr",
|
|
||||||
"ioapiset",
|
|
||||||
"jobapi",
|
|
||||||
"jobapi2",
|
|
||||||
"knownfolders",
|
|
||||||
"libloaderapi",
|
|
||||||
"lmcons",
|
|
||||||
"memoryapi",
|
|
||||||
"minschannel",
|
|
||||||
"minwinbase",
|
|
||||||
"mstcpip",
|
|
||||||
"mswsock",
|
|
||||||
"namedpipeapi",
|
|
||||||
"ntdef",
|
|
||||||
"ntsecapi",
|
|
||||||
"ntstatus",
|
|
||||||
"objbase",
|
|
||||||
"processenv",
|
|
||||||
"processthreadsapi",
|
|
||||||
"profileapi",
|
|
||||||
"psapi",
|
|
||||||
"schannel",
|
|
||||||
"securitybaseapi",
|
|
||||||
"shellapi",
|
|
||||||
"shlobj",
|
|
||||||
"sspi",
|
|
||||||
"synchapi",
|
|
||||||
"sysinfoapi",
|
|
||||||
"threadpoollegacyapiset",
|
|
||||||
"timezoneapi",
|
|
||||||
"userenv",
|
|
||||||
"winbase",
|
|
||||||
"wincon",
|
|
||||||
"wincrypt",
|
|
||||||
"windef",
|
|
||||||
"winioctl",
|
|
||||||
"winnt",
|
|
||||||
"winreg",
|
|
||||||
"winsock2",
|
|
||||||
"winuser",
|
|
||||||
"ws2def",
|
|
||||||
"ws2ipdef",
|
|
||||||
"ws2tcpip",
|
|
||||||
]
|
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
bstr = { version = "0.2.17", features = ["default"] }
|
|
||||||
clap = { version = "3.1.1", features = ["derive", "clap_derive"]}
|
|
||||||
curl-sys = { version = "0.4.13", features = ["http2", "libnghttp2-sys"], optional = true }
|
|
||||||
# Ensure `extra_traits` of libc, which is used transitively by Cargo.
|
|
||||||
libc = { version = "0.2", features = ["extra_traits"] }
|
libc = { version = "0.2", features = ["extra_traits"] }
|
||||||
# Ensure `js` of getrandom, which is (unfortunately) used transitively by Cargo.
|
serde_json = { version = "1.0.31", features = ["unbounded_depth"] }
|
||||||
getrandom = { version = "0.2", features = ["js"] }
|
|
||||||
# Ensure default features of libz-sys, which are disabled in some scenarios.
|
|
||||||
libz-sys = { version = "1.1.2" }
|
|
||||||
# Ensure default features of regex, which are disabled in some scenarios.
|
# Ensure default features of regex, which are disabled in some scenarios.
|
||||||
regex = { version = "1.5.6" }
|
regex = { version = "1.5.6" }
|
||||||
serde_json = { version = "1.0.31", features = ["raw_value", "unbounded_depth"] }
|
|
||||||
syn = { version = "1", features = ['full', 'visit', 'visit-mut'] } # `visit-mut` required by Cargo via `gix`
|
|
||||||
url = { version = "2.0", features = ['serde'] }
|
|
||||||
# Ensure default features of rand, which are disabled in some scenarios.
|
|
||||||
rand = { version = "0.8.5" }
|
|
||||||
|
|
||||||
# Ensure features of `hashbrown`, `smallvec`, and `once_cell`,
|
|
||||||
# which are used transitively by Cargo (via `gix`).
|
|
||||||
hashbrown = { version = "0.12.3", default-features = false, features = ["inline-more"] }
|
|
||||||
once_cell = { version = "1.16.0", default-features = false, features = ["unstable"] }
|
|
||||||
smallvec = { version = "1.10.0", features = ["write"] }
|
|
||||||
|
|
||||||
[target.'cfg(not(windows))'.dependencies]
|
|
||||||
openssl = { version = "0.10.35", optional = true }
|
|
||||||
|
|
||||||
[features]
|
|
||||||
all-static = ['openssl/vendored', 'curl-sys/static-curl', 'curl-sys/force-system-lib-on-osx']
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user