openethereum/rpc/src/v1
Niklas Adolfsson 1a16f335fa Disable hardware-wallets on platforms that don't support libusb (#8464)
* disable hardware-wallets that don't support libusb

* address grumbles

* nits

* Refactor to get rid off as much annotations asap

* Might consume slight more memory than pure conditional compilation
flags

* formatting nits

* Enable libusb for android

* Tested by it compiling succesfully with `cargo build --target=armv7--linux-androideabi`
* The binary is ~66 MB

```bash
$ size
size target/armv7-linux-androideabi/release/parity
text    	data     	bss     	dec     	hex 		filename
50676230        416200   	31456 		51123886        30c16ae 	target/armv7-linux-androideabi/release/parity
```

* Move all `fake-hardware-wallet` to its own crate

* Removes some conditional compilation flags
* Introduces `fake-hardware-wallet` crate

* return error if no hardware wallets are found
2018-06-26 09:03:38 +02:00
..
helpers Disable hardware-wallets on platforms that don't support libusb (#8464) 2018-06-26 09:03:38 +02:00
impls Disable hardware-wallets on platforms that don't support libusb (#8464) 2018-06-26 09:03:38 +02:00
tests Add type for passwords. (#8920) 2018-06-22 15:09:15 +02:00
traits Add type for passwords. (#8920) 2018-06-22 15:09:15 +02:00
types Add type for passwords. (#8920) 2018-06-22 15:09:15 +02:00
extractors.rs Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
informant.rs Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
metadata.rs Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
mod.rs Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00