1a16f335fa
* 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
81 lines
2.8 KiB
TOML
81 lines
2.8 KiB
TOML
[package]
|
|
description = "Parity JSON-RPC servers."
|
|
name = "parity-rpc"
|
|
version = "1.12.0"
|
|
license = "GPL-3.0"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
|
|
[lib]
|
|
|
|
[dependencies]
|
|
ansi_term = "0.10"
|
|
cid = "0.2"
|
|
futures = "0.1.6"
|
|
futures-cpupool = "0.1"
|
|
log = "0.3"
|
|
multihash ="0.7"
|
|
order-stat = "0.1"
|
|
parking_lot = "0.5"
|
|
rand = "0.4"
|
|
rustc-hex = "1.0"
|
|
semver = "0.9"
|
|
serde = "1.0"
|
|
serde_derive = "1.0"
|
|
serde_json = "1.0"
|
|
tempdir = "0.3"
|
|
tiny-keccak = "1.4"
|
|
tokio-timer = "0.1"
|
|
transient-hashmap = "0.4"
|
|
itertools = "0.5"
|
|
|
|
jsonrpc-core = { git = "https://github.com/paritytech/jsonrpc.git", branch = "parity-1.11" }
|
|
jsonrpc-http-server = { git = "https://github.com/paritytech/jsonrpc.git", branch = "parity-1.11" }
|
|
jsonrpc-ws-server = { git = "https://github.com/paritytech/jsonrpc.git", branch = "parity-1.11" }
|
|
jsonrpc-ipc-server = { git = "https://github.com/paritytech/jsonrpc.git", branch = "parity-1.11" }
|
|
jsonrpc-macros = { git = "https://github.com/paritytech/jsonrpc.git", branch = "parity-1.11" }
|
|
jsonrpc-pubsub = { git = "https://github.com/paritytech/jsonrpc.git", branch = "parity-1.11" }
|
|
|
|
ethash = { path = "../ethash" }
|
|
ethcore = { path = "../ethcore", features = ["test-helpers"] }
|
|
ethcore-bytes = { path = "../util/bytes" }
|
|
ethcore-crypto = { path = "../ethcore/crypto" }
|
|
ethcore-devtools = { path = "../devtools" }
|
|
ethcore-io = { path = "../util/io" }
|
|
ethcore-light = { path = "../ethcore/light" }
|
|
ethcore-logger = { path = "../logger" }
|
|
ethcore-miner = { path = "../miner" }
|
|
ethcore-private-tx = { path = "../ethcore/private-tx" }
|
|
ethcore-sync = { path = "../ethcore/sync" }
|
|
ethcore-transaction = { path = "../ethcore/transaction" }
|
|
ethereum-types = "0.3.2"
|
|
|
|
ethjson = { path = "../json" }
|
|
ethkey = { path = "../ethkey" }
|
|
ethstore = { path = "../ethstore" }
|
|
fetch = { path = "../util/fetch" }
|
|
hardware-wallet = { path = "../hw" }
|
|
keccak-hash = { path = "../util/hash" }
|
|
node-health = { path = "../dapps/node-health" }
|
|
parity-reactor = { path = "../util/reactor" }
|
|
parity-updater = { path = "../updater" }
|
|
parity-version = { path = "../util/version" }
|
|
patricia-trie = { path = "../util/patricia_trie" }
|
|
rlp = { path = "../util/rlp" }
|
|
stats = { path = "../util/stats" }
|
|
vm = { path = "../ethcore/vm" }
|
|
|
|
[target.'cfg(any(target_os = "linux", target_os = "macos", target_os = "windows", target_os = "android"))'.dependencies]
|
|
hardware-wallet = { path = "../hw" }
|
|
|
|
[target.'cfg(not(any(target_os = "linux", target_os = "macos", target_os = "windows", target_os = "android")))'.dependencies]
|
|
fake-hardware-wallet = { path = "../util/fake-hardware-wallet" }
|
|
|
|
[dev-dependencies]
|
|
ethcore = { path = "../ethcore", features = ["test-helpers"] }
|
|
ethcore-network = { path = "../util/network" }
|
|
fake-fetch = { path = "../util/fake-fetch" }
|
|
kvdb-memorydb = { path = "../util/kvdb-memorydb" }
|
|
macros = { path = "../util/macros" }
|
|
pretty_assertions = "0.1"
|
|
transaction-pool = { path = "../transaction-pool" }
|