From b8a2ac5719a503f5248963b8f6f00348ae02e73a Mon Sep 17 00:00:00 2001 From: aniampio Date: Wed, 20 Apr 2022 13:45:51 +0300 Subject: [PATCH] Rename the package --- Cargo.toml | 4 ++-- .../Cargo.toml | 0 .../src/error.rs | 0 .../src/lib.rs | 0 .../src/proofs/mod.rs | 0 .../src/scheme/aggregation.rs | 0 .../src/scheme/identify.rs | 0 .../src/scheme/keygen.rs | 0 .../src/scheme/mod.rs | 0 .../src/scheme/setup.rs | 0 .../src/scheme/spend.rs | 0 .../src/scheme/structure_preserving_signature.rs | 0 .../src/scheme/withdrawal.rs | 0 .../src/tests/e2e.rs | 0 .../src/tests/mod.rs | 0 .../src/traits.rs | 0 .../src/utils.rs | 0 .../Cargo.toml | 0 .../benches/benchmarks.rs | 0 .../src/constants.rs | 0 .../src/error.rs | 0 .../src/lib.rs | 0 .../src/proofs/mod.rs | 0 .../src/proofs/proof_spend.rs | 0 .../src/proofs/proof_withdrawal.rs | 0 .../src/scheme/aggregation.rs | 0 .../src/scheme/identify.rs | 0 .../src/scheme/keygen.rs | 0 .../src/scheme/mod.rs | 0 .../src/scheme/setup.rs | 0 .../src/scheme/withdrawal.rs | 0 .../src/tests/e2e.rs | 0 .../src/tests/mod.rs | 0 .../src/traits.rs | 0 .../src/utils.rs | 0 35 files changed, 2 insertions(+), 2 deletions(-) rename common/{nym-divisible-ecash => nym-offline-divisible-ecash}/Cargo.toml (100%) rename common/{nym-divisible-ecash => nym-offline-divisible-ecash}/src/error.rs (100%) rename common/{nym-divisible-ecash => nym-offline-divisible-ecash}/src/lib.rs (100%) rename common/{nym-divisible-ecash => nym-offline-divisible-ecash}/src/proofs/mod.rs (100%) rename common/{nym-divisible-ecash => nym-offline-divisible-ecash}/src/scheme/aggregation.rs (100%) rename common/{nym-divisible-ecash => nym-offline-divisible-ecash}/src/scheme/identify.rs (100%) rename common/{nym-divisible-ecash => nym-offline-divisible-ecash}/src/scheme/keygen.rs (100%) rename common/{nym-divisible-ecash => nym-offline-divisible-ecash}/src/scheme/mod.rs (100%) rename common/{nym-divisible-ecash => nym-offline-divisible-ecash}/src/scheme/setup.rs (100%) rename common/{nym-divisible-ecash => nym-offline-divisible-ecash}/src/scheme/spend.rs (100%) rename common/{nym-divisible-ecash => nym-offline-divisible-ecash}/src/scheme/structure_preserving_signature.rs (100%) rename common/{nym-divisible-ecash => nym-offline-divisible-ecash}/src/scheme/withdrawal.rs (100%) rename common/{nym-divisible-ecash => nym-offline-divisible-ecash}/src/tests/e2e.rs (100%) rename common/{nym-divisible-ecash => nym-offline-divisible-ecash}/src/tests/mod.rs (100%) rename common/{nym-divisible-ecash => nym-offline-divisible-ecash}/src/traits.rs (100%) rename common/{nym-divisible-ecash => nym-offline-divisible-ecash}/src/utils.rs (100%) rename common/{nym_compact_ecash => nym_offline_compact_ecash}/Cargo.toml (100%) rename common/{nym_compact_ecash => nym_offline_compact_ecash}/benches/benchmarks.rs (100%) rename common/{nym_compact_ecash => nym_offline_compact_ecash}/src/constants.rs (100%) rename common/{nym_compact_ecash => nym_offline_compact_ecash}/src/error.rs (100%) rename common/{nym_compact_ecash => nym_offline_compact_ecash}/src/lib.rs (100%) rename common/{nym_compact_ecash => nym_offline_compact_ecash}/src/proofs/mod.rs (100%) rename common/{nym_compact_ecash => nym_offline_compact_ecash}/src/proofs/proof_spend.rs (100%) rename common/{nym_compact_ecash => nym_offline_compact_ecash}/src/proofs/proof_withdrawal.rs (100%) rename common/{nym_compact_ecash => nym_offline_compact_ecash}/src/scheme/aggregation.rs (100%) rename common/{nym_compact_ecash => nym_offline_compact_ecash}/src/scheme/identify.rs (100%) rename common/{nym_compact_ecash => nym_offline_compact_ecash}/src/scheme/keygen.rs (100%) rename common/{nym_compact_ecash => nym_offline_compact_ecash}/src/scheme/mod.rs (100%) rename common/{nym_compact_ecash => nym_offline_compact_ecash}/src/scheme/setup.rs (100%) rename common/{nym_compact_ecash => nym_offline_compact_ecash}/src/scheme/withdrawal.rs (100%) rename common/{nym_compact_ecash => nym_offline_compact_ecash}/src/tests/e2e.rs (100%) rename common/{nym_compact_ecash => nym_offline_compact_ecash}/src/tests/mod.rs (100%) rename common/{nym_compact_ecash => nym_offline_compact_ecash}/src/traits.rs (100%) rename common/{nym_compact_ecash => nym_offline_compact_ecash}/src/utils.rs (100%) diff --git a/Cargo.toml b/Cargo.toml index 82aab18442..e30226a982 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -33,8 +33,8 @@ members = [ "common/network-defaults", "common/nonexhaustive-delayqueue", "common/nymcoconut", - "common/nym_compact_ecash", - "common/nym-divisible-ecash", + "common/nym_offline_compact_ecash", + "common/nym-offline-divisible-ecash", "common/nymsphinx", "common/nymsphinx/acknowledgements", "common/nymsphinx/addressing", diff --git a/common/nym-divisible-ecash/Cargo.toml b/common/nym-offline-divisible-ecash/Cargo.toml similarity index 100% rename from common/nym-divisible-ecash/Cargo.toml rename to common/nym-offline-divisible-ecash/Cargo.toml diff --git a/common/nym-divisible-ecash/src/error.rs b/common/nym-offline-divisible-ecash/src/error.rs similarity index 100% rename from common/nym-divisible-ecash/src/error.rs rename to common/nym-offline-divisible-ecash/src/error.rs diff --git a/common/nym-divisible-ecash/src/lib.rs b/common/nym-offline-divisible-ecash/src/lib.rs similarity index 100% rename from common/nym-divisible-ecash/src/lib.rs rename to common/nym-offline-divisible-ecash/src/lib.rs diff --git a/common/nym-divisible-ecash/src/proofs/mod.rs b/common/nym-offline-divisible-ecash/src/proofs/mod.rs similarity index 100% rename from common/nym-divisible-ecash/src/proofs/mod.rs rename to common/nym-offline-divisible-ecash/src/proofs/mod.rs diff --git a/common/nym-divisible-ecash/src/scheme/aggregation.rs b/common/nym-offline-divisible-ecash/src/scheme/aggregation.rs similarity index 100% rename from common/nym-divisible-ecash/src/scheme/aggregation.rs rename to common/nym-offline-divisible-ecash/src/scheme/aggregation.rs diff --git a/common/nym-divisible-ecash/src/scheme/identify.rs b/common/nym-offline-divisible-ecash/src/scheme/identify.rs similarity index 100% rename from common/nym-divisible-ecash/src/scheme/identify.rs rename to common/nym-offline-divisible-ecash/src/scheme/identify.rs diff --git a/common/nym-divisible-ecash/src/scheme/keygen.rs b/common/nym-offline-divisible-ecash/src/scheme/keygen.rs similarity index 100% rename from common/nym-divisible-ecash/src/scheme/keygen.rs rename to common/nym-offline-divisible-ecash/src/scheme/keygen.rs diff --git a/common/nym-divisible-ecash/src/scheme/mod.rs b/common/nym-offline-divisible-ecash/src/scheme/mod.rs similarity index 100% rename from common/nym-divisible-ecash/src/scheme/mod.rs rename to common/nym-offline-divisible-ecash/src/scheme/mod.rs diff --git a/common/nym-divisible-ecash/src/scheme/setup.rs b/common/nym-offline-divisible-ecash/src/scheme/setup.rs similarity index 100% rename from common/nym-divisible-ecash/src/scheme/setup.rs rename to common/nym-offline-divisible-ecash/src/scheme/setup.rs diff --git a/common/nym-divisible-ecash/src/scheme/spend.rs b/common/nym-offline-divisible-ecash/src/scheme/spend.rs similarity index 100% rename from common/nym-divisible-ecash/src/scheme/spend.rs rename to common/nym-offline-divisible-ecash/src/scheme/spend.rs diff --git a/common/nym-divisible-ecash/src/scheme/structure_preserving_signature.rs b/common/nym-offline-divisible-ecash/src/scheme/structure_preserving_signature.rs similarity index 100% rename from common/nym-divisible-ecash/src/scheme/structure_preserving_signature.rs rename to common/nym-offline-divisible-ecash/src/scheme/structure_preserving_signature.rs diff --git a/common/nym-divisible-ecash/src/scheme/withdrawal.rs b/common/nym-offline-divisible-ecash/src/scheme/withdrawal.rs similarity index 100% rename from common/nym-divisible-ecash/src/scheme/withdrawal.rs rename to common/nym-offline-divisible-ecash/src/scheme/withdrawal.rs diff --git a/common/nym-divisible-ecash/src/tests/e2e.rs b/common/nym-offline-divisible-ecash/src/tests/e2e.rs similarity index 100% rename from common/nym-divisible-ecash/src/tests/e2e.rs rename to common/nym-offline-divisible-ecash/src/tests/e2e.rs diff --git a/common/nym-divisible-ecash/src/tests/mod.rs b/common/nym-offline-divisible-ecash/src/tests/mod.rs similarity index 100% rename from common/nym-divisible-ecash/src/tests/mod.rs rename to common/nym-offline-divisible-ecash/src/tests/mod.rs diff --git a/common/nym-divisible-ecash/src/traits.rs b/common/nym-offline-divisible-ecash/src/traits.rs similarity index 100% rename from common/nym-divisible-ecash/src/traits.rs rename to common/nym-offline-divisible-ecash/src/traits.rs diff --git a/common/nym-divisible-ecash/src/utils.rs b/common/nym-offline-divisible-ecash/src/utils.rs similarity index 100% rename from common/nym-divisible-ecash/src/utils.rs rename to common/nym-offline-divisible-ecash/src/utils.rs diff --git a/common/nym_compact_ecash/Cargo.toml b/common/nym_offline_compact_ecash/Cargo.toml similarity index 100% rename from common/nym_compact_ecash/Cargo.toml rename to common/nym_offline_compact_ecash/Cargo.toml diff --git a/common/nym_compact_ecash/benches/benchmarks.rs b/common/nym_offline_compact_ecash/benches/benchmarks.rs similarity index 100% rename from common/nym_compact_ecash/benches/benchmarks.rs rename to common/nym_offline_compact_ecash/benches/benchmarks.rs diff --git a/common/nym_compact_ecash/src/constants.rs b/common/nym_offline_compact_ecash/src/constants.rs similarity index 100% rename from common/nym_compact_ecash/src/constants.rs rename to common/nym_offline_compact_ecash/src/constants.rs diff --git a/common/nym_compact_ecash/src/error.rs b/common/nym_offline_compact_ecash/src/error.rs similarity index 100% rename from common/nym_compact_ecash/src/error.rs rename to common/nym_offline_compact_ecash/src/error.rs diff --git a/common/nym_compact_ecash/src/lib.rs b/common/nym_offline_compact_ecash/src/lib.rs similarity index 100% rename from common/nym_compact_ecash/src/lib.rs rename to common/nym_offline_compact_ecash/src/lib.rs diff --git a/common/nym_compact_ecash/src/proofs/mod.rs b/common/nym_offline_compact_ecash/src/proofs/mod.rs similarity index 100% rename from common/nym_compact_ecash/src/proofs/mod.rs rename to common/nym_offline_compact_ecash/src/proofs/mod.rs diff --git a/common/nym_compact_ecash/src/proofs/proof_spend.rs b/common/nym_offline_compact_ecash/src/proofs/proof_spend.rs similarity index 100% rename from common/nym_compact_ecash/src/proofs/proof_spend.rs rename to common/nym_offline_compact_ecash/src/proofs/proof_spend.rs diff --git a/common/nym_compact_ecash/src/proofs/proof_withdrawal.rs b/common/nym_offline_compact_ecash/src/proofs/proof_withdrawal.rs similarity index 100% rename from common/nym_compact_ecash/src/proofs/proof_withdrawal.rs rename to common/nym_offline_compact_ecash/src/proofs/proof_withdrawal.rs diff --git a/common/nym_compact_ecash/src/scheme/aggregation.rs b/common/nym_offline_compact_ecash/src/scheme/aggregation.rs similarity index 100% rename from common/nym_compact_ecash/src/scheme/aggregation.rs rename to common/nym_offline_compact_ecash/src/scheme/aggregation.rs diff --git a/common/nym_compact_ecash/src/scheme/identify.rs b/common/nym_offline_compact_ecash/src/scheme/identify.rs similarity index 100% rename from common/nym_compact_ecash/src/scheme/identify.rs rename to common/nym_offline_compact_ecash/src/scheme/identify.rs diff --git a/common/nym_compact_ecash/src/scheme/keygen.rs b/common/nym_offline_compact_ecash/src/scheme/keygen.rs similarity index 100% rename from common/nym_compact_ecash/src/scheme/keygen.rs rename to common/nym_offline_compact_ecash/src/scheme/keygen.rs diff --git a/common/nym_compact_ecash/src/scheme/mod.rs b/common/nym_offline_compact_ecash/src/scheme/mod.rs similarity index 100% rename from common/nym_compact_ecash/src/scheme/mod.rs rename to common/nym_offline_compact_ecash/src/scheme/mod.rs diff --git a/common/nym_compact_ecash/src/scheme/setup.rs b/common/nym_offline_compact_ecash/src/scheme/setup.rs similarity index 100% rename from common/nym_compact_ecash/src/scheme/setup.rs rename to common/nym_offline_compact_ecash/src/scheme/setup.rs diff --git a/common/nym_compact_ecash/src/scheme/withdrawal.rs b/common/nym_offline_compact_ecash/src/scheme/withdrawal.rs similarity index 100% rename from common/nym_compact_ecash/src/scheme/withdrawal.rs rename to common/nym_offline_compact_ecash/src/scheme/withdrawal.rs diff --git a/common/nym_compact_ecash/src/tests/e2e.rs b/common/nym_offline_compact_ecash/src/tests/e2e.rs similarity index 100% rename from common/nym_compact_ecash/src/tests/e2e.rs rename to common/nym_offline_compact_ecash/src/tests/e2e.rs diff --git a/common/nym_compact_ecash/src/tests/mod.rs b/common/nym_offline_compact_ecash/src/tests/mod.rs similarity index 100% rename from common/nym_compact_ecash/src/tests/mod.rs rename to common/nym_offline_compact_ecash/src/tests/mod.rs diff --git a/common/nym_compact_ecash/src/traits.rs b/common/nym_offline_compact_ecash/src/traits.rs similarity index 100% rename from common/nym_compact_ecash/src/traits.rs rename to common/nym_offline_compact_ecash/src/traits.rs diff --git a/common/nym_compact_ecash/src/utils.rs b/common/nym_offline_compact_ecash/src/utils.rs similarity index 100% rename from common/nym_compact_ecash/src/utils.rs rename to common/nym_offline_compact_ecash/src/utils.rs