tool: Support downcasting generic Ec

Removes the `impl Access for &mut dyn Access` I added earlier. But that
hasn't proven too useful.
This commit is contained in:
Ian Douglas Scott
2021-02-19 07:41:25 -08:00
committed by Jeremy Soller
parent 171257916c
commit 2768925ec6
4 changed files with 13 additions and 20 deletions

View File

@@ -20,10 +20,11 @@ clap = "2"
libc = { version = "0.2", optional = true }
hidapi = { version = "1.2", default-features = false, features = ["linux-static-hidraw"], optional = true }
redox_hwio = { version = "0.1.3", optional = true }
downcast-rs = { version = "1.2.0", default-features = false }
[features]
default = ["std", "hidapi"]
std = ["libc"]
std = ["libc", "downcast-rs/std"]
[package.metadata.docs.rs]
all-features = true