Skip to content

Commit

Permalink
improve tool features
Browse files Browse the repository at this point in the history
  • Loading branch information
LimpidCrypto committed Jun 18, 2024
1 parent bb37c98 commit 305b5a5
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .cargo-husky/hooks/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ cargo test --no-default-features --features std,websocket-client-std
cargo test --no-default-features --features std,websocket-client
cargo test --no-default-features --features json-rpc-client-std
cargo test --no-default-features --features std,json-rpc-client
cargo test --no-default-features --features std,websocket-client-std,asynch-tools,transaction-tools
cargo test --no-default-features --features std,websocket-client-std,asynch-tools,account-tools
cargo test --no-default-features --features std,websocket-client-std,asynch-tools,ledger-tools
cargo test --all-features
cargo clippy --fix --allow-staged --allow-dirty
cargo doc --no-deps
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/unit_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,12 @@ jobs:
with:
command: test
args: --no-default-features --features std,json-rpc-client
with:
command: test
args: --no-default-features --features std,websocket-client-std,asynch-tools,transaction-tools
with:
command: test
args: --no-default-features --features std,websocket-client-std,asynch-tools,account-tools
with:
command: test
args: --no-default-features --features std,websocket-client-std,asynch-tools,ledger-tools
12 changes: 9 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,15 @@ all-tools = [
]
synch-tools = ["asynch-tools"]
asynch-tools = []
account-tools = []
ledger-tools = []
transaction-tools = []
account-tools = ["core", "ledger-models", "request-models", "result-models"]
ledger-tools = ["amount-models", "request-models", "result-models"]
transaction-tools = [
"account-tools",
"ledger-tools",
"transaction-models",
"request-models",
"result-models",
]
wallet-tools = []
# clients
json-rpc-client = [
Expand Down

0 comments on commit 305b5a5

Please sign in to comment.