diff options
| author | Robin Krahl <me@robin-krahl.de> | 2018-12-11 23:51:40 +0100 | 
|---|---|---|
| committer | Daniel Mueller <deso@posteo.net> | 2018-12-17 07:52:13 -0800 | 
| commit | 44f6100b36eecf79c1e8484a048ea49cad6e488d (patch) | |
| tree | bf16ea9a570f3026324b9882f46b9f8360e7591f /hid/examples | |
| parent | 6737f748b8edb5266c5397591b92da4c88f95dff (diff) | |
| download | nitrocli-44f6100b36eecf79c1e8484a048ea49cad6e488d.tar.gz nitrocli-44f6100b36eecf79c1e8484a048ea49cad6e488d.tar.bz2  | |
Remove unused dependencies
This patch removes all dependencies that are no longer required since
the hidapi communication is replaced by libnitrokey.
Delete subrepo hid/:hid
Delete subrepo hidapi-sys/:hidapi-sys
Delete subrepo pkg-config/:pkg-config
Diffstat (limited to 'hid/examples')
| -rw-r--r-- | hid/examples/list.rs | 24 | 
1 files changed, 0 insertions, 24 deletions
diff --git a/hid/examples/list.rs b/hid/examples/list.rs deleted file mode 100644 index da24bcb..0000000 --- a/hid/examples/list.rs +++ /dev/null @@ -1,24 +0,0 @@ -extern crate hid; - -fn main() { -	let hid = hid::init().unwrap(); - -	for device in hid.devices() { -		print!("{} ", device.path().to_str().unwrap()); -		print!("ID {:x}:{:x} ", device.vendor_id(), device.product_id()); - -		if let Some(name) = device.manufacturer_string() { -			print!("{} ", name); -		} - -		if let Some(name) = device.product_string() { -			print!("{} ", name); -		} - -		if let Some(name) = device.serial_number() { -			print!("{} ", name); -		} - -		println!(); -	} -}  | 
