openethereum/util
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
..
bloom Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
blooms-db new blooms database (#8712) 2018-06-20 15:13:07 +02:00
bytes Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
dir Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
error Bump error-chain and quick_error versions (#8972) 2018-06-25 14:20:44 +02:00
fake-fetch util fake-fetch (#8363) 2018-04-11 11:59:04 +02:00
fake-hardware-wallet Disable hardware-wallets on platforms that don't support libusb (#8464) 2018-06-26 09:03:38 +02:00
fetch Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
hash Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
hashdb Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
io Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
journaldb Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
kvdb Bump error-chain and quick_error versions (#8972) 2018-06-25 14:20:44 +02:00
kvdb-memorydb Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
kvdb-rocksdb new blooms database (#8712) 2018-06-20 15:13:07 +02:00
macros Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
mem Add type for passwords. (#8920) 2018-06-22 15:09:15 +02:00
memory_cache Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
memorydb Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
migration-rocksdb Bump error-chain and quick_error versions (#8972) 2018-06-25 14:20:44 +02:00
network Bump error-chain and quick_error versions (#8972) 2018-06-25 14:20:44 +02:00
network-devp2p Bump error-chain and quick_error versions (#8972) 2018-06-25 14:20:44 +02:00
panic_hook Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
path Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
patricia_trie cleanup nibbleslice (#8915) 2018-06-18 12:13:11 +02:00
plain_hasher Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
reactor Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
rlp Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
rlp_compress Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
rlp_derive Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
stats Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
stop-guard Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
trace-time Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
trie-standardmap Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
triehash Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
unexpected Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
using_queue Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
version Specify critical release flag per network (#8821) 2018-06-08 14:54:23 +01:00