openethereum/ethcore
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
..
benches Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
crypto Bump error-chain and quick_error versions (#8972) 2018-06-25 14:20:44 +02:00
evm ethcore: fix compilation when using slow-blocks or evm-debug features (#8936) 2018-06-22 11:00:19 +02:00
light Bump error-chain and quick_error versions (#8972) 2018-06-25 14:20:44 +02:00
node_filter new blooms database (#8712) 2018-06-20 15:13:07 +02:00
private-tx Bump error-chain and quick_error versions (#8972) 2018-06-25 14:20:44 +02:00
res Update hardcoded headers (#8925) 2018-06-22 10:49:10 +02:00
service Bump error-chain and quick_error versions (#8972) 2018-06-25 14:20:44 +02:00
src Disable hardware-wallets on platforms that don't support libusb (#8464) 2018-06-26 09:03:38 +02:00
stratum Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
sync Add type for passwords. (#8920) 2018-06-22 15:09:15 +02:00
transaction Disallow unsigned transactions in case EIP-86 is disabled (#8802) 2018-06-05 19:49:11 +02:00
types added from and to to Receipt (#8756) 2018-06-07 16:47:41 +02:00
vm Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
wasm Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
Cargo.toml Disable hardware-wallets on platforms that don't support libusb (#8464) 2018-06-26 09:03:38 +02:00