Explorar el Código

cargo: Remove unused dependencies

Signed-off-by: Dave Tucker <[email protected]>
Dave Tucker hace 2 años
padre
commit
ec2bd69053
Se han modificado 3 ficheros con 5 adiciones y 11 borrados
  1. 0 4
      aya-tool/Cargo.toml
  2. 4 5
      aya/Cargo.toml
  3. 1 2
      xtask/Cargo.toml

+ 0 - 4
aya-tool/Cargo.toml

@@ -9,8 +9,4 @@ bindgen = "0.60"
 clap = { version = "3", features = ["derive"] }
 anyhow = "1"
 thiserror = "1"
-syn = "1"
-quote = "1"
-proc-macro2 = "1"
-indexmap = "1.6"
 tempfile = "3"

+ 4 - 5
aya/Cargo.toml

@@ -18,21 +18,20 @@ bitflags = "1.2.1"
 bytes = "1"
 lazy_static = "1"
 parking_lot = { version = "0.12.0", features = ["send_guard"] }
-futures = { version = "0.3.12", optional = true, default-features = false, features = ["std"] }
 tokio = { version = "1.2.0", features = ["macros", "rt", "rt-multi-thread", "net"], optional = true }
-async-std = { version = "1.9.0", optional = true }
 async-io = { version = "1.3", optional = true }
 log = "0.4"
 
 [dev-dependencies]
 matches = "0.1.8"
+futures = { version = "0.3.12", default-features = false, features = ["std"] }
 
 [features]
 default = []
-async = ["futures"]
+async = []
 async_tokio = ["tokio", "async"]
-async_std = ["async-std", "async-io", "async"]
+async_std = ["async-io", "async"]
 
 [package.metadata.docs.rs]
 all-features = true
-rustdoc-args = ["--cfg", "docsrs"]
+rustdoc-args = ["--cfg", "docsrs"]

+ 1 - 2
xtask/Cargo.toml

@@ -11,7 +11,6 @@ anyhow = "1"
 syn = "1"
 quote = "1"
 proc-macro2 = "1"
-indexmap = "1.6"
 indoc = "1.0"
 lazy_static = "1"
-serde_json = "1"
+serde_json = "1"