diff --git a/Cargo.lock b/Cargo.lock index 0e06666e0c76a58cabcf2001a1a516943092eee9..57ecf4604f7e365b05db6b611245454874183268 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -93,7 +93,7 @@ dependencies = [ ] [[package]] -name = "duniter-protocol" +name = "duniter-documents" version = "0.4.1" dependencies = [ "base58 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/Cargo.toml b/Cargo.toml index 6eccf045414c4c69515c9e2b30e691f50c0ee811..cb5535375711974cca62b64deaef2e95f5f5b793 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,5 +2,5 @@ members = [ "wotb", "crypto", - "protocol", + "documents", ] diff --git a/protocol/Cargo.toml b/documents/Cargo.toml similarity index 83% rename from protocol/Cargo.toml rename to documents/Cargo.toml index 3aa7b33d756200ce050c8c86c5eace8f758c83b9..94f4ac9cf7f9933e3ae5c2dd7e1266b96d7ecc22 100644 --- a/protocol/Cargo.toml +++ b/documents/Cargo.toml @@ -1,7 +1,7 @@ [package] -name = "duniter-protocol" +name = "duniter-documents" version = "0.4.1" -authors = ["nanocryk <nanocryk@duniter.org>"] +authors = ["nanocryk <nanocryk@duniter.org>", "elois <elois@ifee.fr>"] description = "Implements the Duniter Protocol" repository = "https://git.duniter.org/nodes/rust/duniter-rs" readme = "README.md" diff --git a/protocol/README.md b/documents/README.md similarity index 100% rename from protocol/README.md rename to documents/README.md diff --git a/protocol/blockchain/mod.rs b/documents/blockchain/mod.rs similarity index 100% rename from protocol/blockchain/mod.rs rename to documents/blockchain/mod.rs diff --git a/protocol/blockchain/v10/documents/identity.rs b/documents/blockchain/v10/documents/identity.rs similarity index 100% rename from protocol/blockchain/v10/documents/identity.rs rename to documents/blockchain/v10/documents/identity.rs diff --git a/protocol/blockchain/v10/documents/membership.rs b/documents/blockchain/v10/documents/membership.rs similarity index 100% rename from protocol/blockchain/v10/documents/membership.rs rename to documents/blockchain/v10/documents/membership.rs diff --git a/protocol/blockchain/v10/documents/mod.rs b/documents/blockchain/v10/documents/mod.rs similarity index 100% rename from protocol/blockchain/v10/documents/mod.rs rename to documents/blockchain/v10/documents/mod.rs diff --git a/protocol/blockchain/v10/mod.rs b/documents/blockchain/v10/mod.rs similarity index 100% rename from protocol/blockchain/v10/mod.rs rename to documents/blockchain/v10/mod.rs diff --git a/protocol/lib.rs b/documents/lib.rs similarity index 99% rename from protocol/lib.rs rename to documents/lib.rs index c43b039739514747443a0d096d9481790dfc98f8..e3d8b38171011e2329eb1d41623b99ffae96bbcc 100644 --- a/protocol/lib.rs +++ b/documents/lib.rs @@ -13,7 +13,7 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <https://www.gnu.org/licenses/>. -//! Implements the Duniter Protocol. +//! Implements the Duniter Documents Protocol. #![cfg_attr(feature = "strict", deny(warnings))] #![deny(missing_docs, missing_debug_implementations, missing_copy_implementations, trivial_casts,