mirror of
https://github.com/Qortal/piratewallet-light-cli.git
synced 2025-01-30 02:22:15 +00:00
Refactor into cargo workspace
This commit is contained in:
parent
4a62949bdb
commit
be2eaad443
7
.github/workflows/rust.yml
vendored
7
.github/workflows/rust.yml
vendored
@ -24,5 +24,10 @@ jobs:
|
|||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
command: build
|
command: build
|
||||||
args: --verbose --release --all
|
args: --verbose --release --all --tests
|
||||||
|
- name: Run tests
|
||||||
|
uses: actions-rs/cargo@v1
|
||||||
|
with:
|
||||||
|
command: test
|
||||||
|
args: --verbose --release --all
|
||||||
|
|
23
Cargo.toml
23
Cargo.toml
@ -1,21 +1,8 @@
|
|||||||
[package]
|
[workspace]
|
||||||
name = "zecwallet-cli"
|
members = [
|
||||||
version = "1.1.0"
|
"lib",
|
||||||
edition = "2018"
|
"cli",
|
||||||
|
]
|
||||||
[dependencies]
|
|
||||||
rustyline = "5.0.2"
|
|
||||||
clap = "2.33"
|
|
||||||
log = "0.4"
|
|
||||||
log4rs = "0.8.3"
|
|
||||||
shellwords = "1.0.0"
|
|
||||||
json = "0.12.0"
|
|
||||||
http = "0.1"
|
|
||||||
byteorder = "1"
|
|
||||||
tiny-bip39 = "0.6.2"
|
|
||||||
|
|
||||||
zecwalletlitelib = { path = "./lib/" }
|
|
||||||
|
|
||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
debug = false
|
debug = false
|
18
cli/Cargo.toml
Normal file
18
cli/Cargo.toml
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
[package]
|
||||||
|
name = "zecwallet-cli"
|
||||||
|
version = "1.1.0"
|
||||||
|
edition = "2018"
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
rustyline = "5.0.2"
|
||||||
|
clap = "2.33"
|
||||||
|
log = "0.4"
|
||||||
|
log4rs = "0.8.3"
|
||||||
|
shellwords = "1.0.0"
|
||||||
|
json = "0.12.0"
|
||||||
|
http = "0.1"
|
||||||
|
byteorder = "1"
|
||||||
|
tiny-bip39 = "0.6.2"
|
||||||
|
|
||||||
|
zecwalletlitelib = { path = "../lib/" }
|
||||||
|
|
@ -72,6 +72,3 @@ tower-grpc-build = { git = "https://github.com/tower-rs/tower-grpc", features =
|
|||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
tempdir = "0.3.7"
|
tempdir = "0.3.7"
|
||||||
|
|
||||||
[profile.release]
|
|
||||||
debug = false
|
|
Loading…
Reference in New Issue
Block a user