on master help sign in
Disable default features on futures-util to drop proc macros.
commit570c253ffba2dcfb2749548f40896f2b1d787442 authorBlaž Hrastnik <blaz@mxxn.io> dateSat 8 May 2021, 11:51 (5 years ago) parentf071247
3 files changed+2−29
Cargo.lock−27 helix-lsp/Cargo.toml+1−1 helix-term/Cargo.toml+1−1
Cargo.lock−27
@@ -202,18 +202,6 @@ dependencies = [
202202 "futures-util",
203203]
204204
205−[[package]]
206−name = "futures-macro"
207−version = "0.3.14"
208−source = "registry+https://github.com/rust-lang/crates.io-index"
209−checksum = "668c6733a182cd7deb4f1de7ba3bf2120823835b3bcfbeacf7d2c4a773c1bb8b"
210−dependencies = [
211− "proc-macro-hack",
212− "proc-macro2",
213− "quote",
214− "syn",
215−]
216−
217205[[package]]
218206name = "futures-task"
219207version = "0.3.14"
@@ -227,12 +215,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
227215checksum = "3c144ad54d60f23927f0a6b6d816e4271278b64f005ad65e4e35291d2de9c025"
228216dependencies = [
229217 "futures-core",
230− "futures-macro",
231218 "futures-task",
232219 "pin-project-lite",
233220 "pin-utils",
234− "proc-macro-hack",
235− "proc-macro-nested",
236221 "slab",
237222]
238223
@@ -648,18 +633,6 @@ version = "0.1.0"
648633source = "registry+https://github.com/rust-lang/crates.io-index"
649634checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
650635
651−[[package]]
652−name = "proc-macro-hack"
653−version = "0.5.19"
654−source = "registry+https://github.com/rust-lang/crates.io-index"
655−checksum = "dbf0c48bc1d91375ae5c3cd81e3722dff1abcf81a30960240640d223f59fe0e5"
656−
657−[[package]]
658−name = "proc-macro-nested"
659−version = "0.1.7"
660−source = "registry+https://github.com/rust-lang/crates.io-index"
661−checksum = "bc881b2c22681370c6a780e47af9840ef841837bc98118431d4e1868bd0c1086"
662−
663636[[package]]
664637name = "proc-macro2"
665638version = "1.0.26"
helix-lsp/Cargo.toml+1−1
@@ -24,6 +24,6 @@ serde_json = "1.0"
2424serde = { version = "1.0", features = ["derive"] }
2525# jsonrpc-core = { version = "17.1", default-features = false } # don't pull in all of futures
2626jsonrpc-core = { git = "https://github.com/paritytech/jsonrpc", default-features = false } # don't pull in all of futures
27−futures-util = { version = "0.3", features = ["std", "async-await"] }
27+futures-util = { version = "0.3", features = ["std", "async-await"], default-features = false }
2828thiserror = "1.0"
2929log = "~0.4"
helix-term/Cargo.toml+1−1
@@ -25,7 +25,7 @@ tui = { version = "0.15", default-features = false, features = ["crossterm"] }
2525crossterm = { version = "0.19", features = ["event-stream"] }
2626clap = { version = "3.0.0-beta.2 ", default-features = false, features = ["std", "cargo"] }
2727
28−futures-util = { version = "0.3", features = ["std", "async-await"] }
28+futures-util = { version = "0.3", features = ["std", "async-await"], default-features = false }
2929
3030# Logging
3131fern = "0.6"