Skip to content

Commit

Permalink
Replace iroha_error with thiserror, eyre and color-eyre
Browse files Browse the repository at this point in the history
Signed-off-by: Alexey Kalita <[email protected]>
  • Loading branch information
KalitaAlexey committed Sep 15, 2021
1 parent 0461b0b commit 1ff39ec
Show file tree
Hide file tree
Showing 86 changed files with 326 additions and 1,069 deletions.
8 changes: 0 additions & 8 deletions .dependabot/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,6 @@ update_configs:
update_schedule: "live"
target_branch: "iroha2-dev"
directory: "iroha_dsl"
- package_manager: "rust:cargo"
update_schedule: "live"
target_branch: "iroha2-dev"
directory: "iroha_error"
- package_manager: "rust:cargo"
update_schedule: "live"
target_branch: "iroha2-dev"
directory: "iroha_error/iroha_error_macro"
- package_manager: "rust:cargo"
update_schedule: "live"
target_branch: "iroha2-dev"
Expand Down
117 changes: 80 additions & 37 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ members = [
"iroha_crypto_cli",
"iroha_data_model",
"iroha_dsl",
"iroha_error",
"iroha_error/iroha_error_macro",
"iroha_macro",
"iroha_macro/iroha_derive",
"iroha_p2p",
Expand Down
3 changes: 2 additions & 1 deletion iroha/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ maintenance = { status = "actively-developed" }
iroha_data_model = { path = "../iroha_data_model", features = ["warp"] }
iroha_derive = { version = "=0.1.0", path = "../iroha_macro/iroha_derive" }
iroha_macro = { version = "=0.1.0", path = "../iroha_macro" }
iroha_error = { version = "=0.1.0", path = "../iroha_error" }
iroha_p2p = { version = "=0.1.0", path = "../iroha_p2p" }
iroha_logger = { version = "=0.1.0", path = "../iroha_logger"}
iroha_crypto = { version = "=0.1.0", path = "../iroha_crypto" }
Expand All @@ -43,6 +42,7 @@ iroha_schema = { path = "../iroha_schema"}
async-trait = "0.1"
chrono = "0.4"
dashmap = { version = "4.0" }
eyre = "0.6.5"
futures = { version = "0.3.4" }
parity-scale-codec = { version = "2", features = ["derive"] }
rand = "0.7.3"
Expand All @@ -55,6 +55,7 @@ crossbeam-queue = "0.3"
warp = "0.3"
ursa = "=0.3.6"
structopt = { version = "0.3", optional = true }
thiserror = "1.0.28"

[dev-dependencies]
hex-literal = "0.2.1"
Expand Down
2 changes: 1 addition & 1 deletion iroha/docs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ edition = "2018"

[dependencies]
iroha = { path = "../../iroha" }
iroha_error = { path = "../../iroha_error" }
iroha_config = { path = "../../iroha_config" }
eyre = "0.6.5"
serde_json = "1"
Loading

0 comments on commit 1ff39ec

Please sign in to comment.