diff --git a/Cargo.toml b/Cargo.toml index 8512bd0c94ca9..5c41cf4c00569 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,7 +7,6 @@ members = [ "common/crash-handler", "common/debug-interface", "common/diemdoc", - "common/fallible", "common/id-generator", "common/infallible", "common/logger", @@ -43,6 +42,7 @@ members = [ "crates/diem-json-rpc-client", "crates/diem-rest-client", "crates/diem-workspace-hack", + "crates/fallible", "crates/proxy", "crates/swiss-knife", "crates/transaction-emitter", diff --git a/config/management/operational/Cargo.toml b/config/management/operational/Cargo.toml index c6bf5ef1feab7..4eed0ee456368 100644 --- a/config/management/operational/Cargo.toml +++ b/config/management/operational/Cargo.toml @@ -37,7 +37,7 @@ diem-secure-storage = { path = "../../../secure/storage" } diem-types = { path = "../../../types" } diem-workspace-hack = { path = "../../../crates/diem-workspace-hack" } diem-temppath = { path = "../../../common/temppath" } -fallible = { path = "../../../common/fallible" } +fallible = { path = "../../../crates/fallible" } netcore = { path = "../../../network/netcore" } network = { path = "../../../network" } diem-transaction-builder = { path = "../../../sdk/transaction-builder" } diff --git a/consensus/Cargo.toml b/consensus/Cargo.toml index 3d0f09645d054..750f04ab0edc0 100644 --- a/consensus/Cargo.toml +++ b/consensus/Cargo.toml @@ -36,7 +36,7 @@ event-notifications = { path = "../state-sync/inter-component/event-notification execution-correctness = { path = "../execution/execution-correctness" } executor = { path = "../execution/executor" } executor-types = { path = "../execution/executor-types" } -fallible = { path = "../common/fallible" } +fallible = { path = "../crates/fallible" } bcs = "0.1.2" diem-config = { path = "../config" } diem-crypto = { path = "../crates/diem-crypto" } diff --git a/common/fallible/Cargo.toml b/crates/fallible/Cargo.toml similarity index 100% rename from common/fallible/Cargo.toml rename to crates/fallible/Cargo.toml diff --git a/common/fallible/src/copy_from_slice.rs b/crates/fallible/src/copy_from_slice.rs similarity index 100% rename from common/fallible/src/copy_from_slice.rs rename to crates/fallible/src/copy_from_slice.rs diff --git a/common/fallible/src/lib.rs b/crates/fallible/src/lib.rs similarity index 100% rename from common/fallible/src/lib.rs rename to crates/fallible/src/lib.rs