From 714d850e69c96118707c69d01576405dafc827b2 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Mon, 22 Jun 2020 02:17:32 +0200 Subject: [PATCH] Remove the -rs suffix of jid, minidom and xmpp We know those are Rust libraries, no need to add it to the path. This synchronises their directory with the crate name, hopefully reducing confusion. --- Cargo.toml | 12 ++++++------ {jid-rs => jid}/CHANGELOG.md | 0 {jid-rs => jid}/Cargo.toml | 0 {jid-rs => jid}/LICENSE | 0 {jid-rs => jid}/README.md | 0 {jid-rs => jid}/src/lib.rs | 0 {minidom-rs => minidom}/CHANGELOG.md | 0 {minidom-rs => minidom}/Cargo.toml | 0 {minidom-rs => minidom}/LICENSE | 0 {minidom-rs => minidom}/README.md | 0 {minidom-rs => minidom}/examples/articles.rs | 0 {minidom-rs => minidom}/src/convert.rs | 0 {minidom-rs => minidom}/src/element.rs | 0 {minidom-rs => minidom}/src/error.rs | 0 {minidom-rs => minidom}/src/lib.rs | 0 {minidom-rs => minidom}/src/namespaces.rs | 0 {minidom-rs => minidom}/src/node.rs | 0 {minidom-rs => minidom}/src/parser.rs | 0 {minidom-rs => minidom}/src/prefixes.rs | 0 {minidom-rs => minidom}/src/tests.rs | 0 {xmpp-rs => xmpp}/Cargo.toml | 0 {xmpp-rs => xmpp}/ChangeLog | 0 {xmpp-rs => xmpp}/LICENSE | 0 {xmpp-rs => xmpp}/README.md | 0 {xmpp-rs => xmpp}/examples/hello_bot.rs | 0 {xmpp-rs => xmpp}/src/lib.rs | 0 {xmpp-rs => xmpp}/src/pubsub/avatar.rs | 0 {xmpp-rs => xmpp}/src/pubsub/mod.rs | 0 28 files changed, 6 insertions(+), 6 deletions(-) rename {jid-rs => jid}/CHANGELOG.md (100%) rename {jid-rs => jid}/Cargo.toml (100%) rename {jid-rs => jid}/LICENSE (100%) rename {jid-rs => jid}/README.md (100%) rename {jid-rs => jid}/src/lib.rs (100%) rename {minidom-rs => minidom}/CHANGELOG.md (100%) rename {minidom-rs => minidom}/Cargo.toml (100%) rename {minidom-rs => minidom}/LICENSE (100%) rename {minidom-rs => minidom}/README.md (100%) rename {minidom-rs => minidom}/examples/articles.rs (100%) rename {minidom-rs => minidom}/src/convert.rs (100%) rename {minidom-rs => minidom}/src/element.rs (100%) rename {minidom-rs => minidom}/src/error.rs (100%) rename {minidom-rs => minidom}/src/lib.rs (100%) rename {minidom-rs => minidom}/src/namespaces.rs (100%) rename {minidom-rs => minidom}/src/node.rs (100%) rename {minidom-rs => minidom}/src/parser.rs (100%) rename {minidom-rs => minidom}/src/prefixes.rs (100%) rename {minidom-rs => minidom}/src/tests.rs (100%) rename {xmpp-rs => xmpp}/Cargo.toml (100%) rename {xmpp-rs => xmpp}/ChangeLog (100%) rename {xmpp-rs => xmpp}/LICENSE (100%) rename {xmpp-rs => xmpp}/README.md (100%) rename {xmpp-rs => xmpp}/examples/hello_bot.rs (100%) rename {xmpp-rs => xmpp}/src/lib.rs (100%) rename {xmpp-rs => xmpp}/src/pubsub/avatar.rs (100%) rename {xmpp-rs => xmpp}/src/pubsub/mod.rs (100%) diff --git a/Cargo.toml b/Cargo.toml index 120ee5ce..f88752b4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,15 +1,15 @@ [workspace] members = [ # alphabetically sorted - "jid-rs", - "minidom-rs", + "jid", + "minidom", "tokio-xmpp", "xmpp-parsers", - "xmpp-rs", + "xmpp", ] [patch.crates-io] -jid = { path = "jid-rs" } -minidom = { path = "minidom-rs" } +jid = { path = "jid" } +minidom = { path = "minidom" } tokio-xmpp = { path = "tokio-xmpp" } xmpp-parsers = { path = "xmpp-parsers" } -xmpp = { path = "xmpp-rs" } +xmpp = { path = "xmpp" } diff --git a/jid-rs/CHANGELOG.md b/jid/CHANGELOG.md similarity index 100% rename from jid-rs/CHANGELOG.md rename to jid/CHANGELOG.md diff --git a/jid-rs/Cargo.toml b/jid/Cargo.toml similarity index 100% rename from jid-rs/Cargo.toml rename to jid/Cargo.toml diff --git a/jid-rs/LICENSE b/jid/LICENSE similarity index 100% rename from jid-rs/LICENSE rename to jid/LICENSE diff --git a/jid-rs/README.md b/jid/README.md similarity index 100% rename from jid-rs/README.md rename to jid/README.md diff --git a/jid-rs/src/lib.rs b/jid/src/lib.rs similarity index 100% rename from jid-rs/src/lib.rs rename to jid/src/lib.rs diff --git a/minidom-rs/CHANGELOG.md b/minidom/CHANGELOG.md similarity index 100% rename from minidom-rs/CHANGELOG.md rename to minidom/CHANGELOG.md diff --git a/minidom-rs/Cargo.toml b/minidom/Cargo.toml similarity index 100% rename from minidom-rs/Cargo.toml rename to minidom/Cargo.toml diff --git a/minidom-rs/LICENSE b/minidom/LICENSE similarity index 100% rename from minidom-rs/LICENSE rename to minidom/LICENSE diff --git a/minidom-rs/README.md b/minidom/README.md similarity index 100% rename from minidom-rs/README.md rename to minidom/README.md diff --git a/minidom-rs/examples/articles.rs b/minidom/examples/articles.rs similarity index 100% rename from minidom-rs/examples/articles.rs rename to minidom/examples/articles.rs diff --git a/minidom-rs/src/convert.rs b/minidom/src/convert.rs similarity index 100% rename from minidom-rs/src/convert.rs rename to minidom/src/convert.rs diff --git a/minidom-rs/src/element.rs b/minidom/src/element.rs similarity index 100% rename from minidom-rs/src/element.rs rename to minidom/src/element.rs diff --git a/minidom-rs/src/error.rs b/minidom/src/error.rs similarity index 100% rename from minidom-rs/src/error.rs rename to minidom/src/error.rs diff --git a/minidom-rs/src/lib.rs b/minidom/src/lib.rs similarity index 100% rename from minidom-rs/src/lib.rs rename to minidom/src/lib.rs diff --git a/minidom-rs/src/namespaces.rs b/minidom/src/namespaces.rs similarity index 100% rename from minidom-rs/src/namespaces.rs rename to minidom/src/namespaces.rs diff --git a/minidom-rs/src/node.rs b/minidom/src/node.rs similarity index 100% rename from minidom-rs/src/node.rs rename to minidom/src/node.rs diff --git a/minidom-rs/src/parser.rs b/minidom/src/parser.rs similarity index 100% rename from minidom-rs/src/parser.rs rename to minidom/src/parser.rs diff --git a/minidom-rs/src/prefixes.rs b/minidom/src/prefixes.rs similarity index 100% rename from minidom-rs/src/prefixes.rs rename to minidom/src/prefixes.rs diff --git a/minidom-rs/src/tests.rs b/minidom/src/tests.rs similarity index 100% rename from minidom-rs/src/tests.rs rename to minidom/src/tests.rs diff --git a/xmpp-rs/Cargo.toml b/xmpp/Cargo.toml similarity index 100% rename from xmpp-rs/Cargo.toml rename to xmpp/Cargo.toml diff --git a/xmpp-rs/ChangeLog b/xmpp/ChangeLog similarity index 100% rename from xmpp-rs/ChangeLog rename to xmpp/ChangeLog diff --git a/xmpp-rs/LICENSE b/xmpp/LICENSE similarity index 100% rename from xmpp-rs/LICENSE rename to xmpp/LICENSE diff --git a/xmpp-rs/README.md b/xmpp/README.md similarity index 100% rename from xmpp-rs/README.md rename to xmpp/README.md diff --git a/xmpp-rs/examples/hello_bot.rs b/xmpp/examples/hello_bot.rs similarity index 100% rename from xmpp-rs/examples/hello_bot.rs rename to xmpp/examples/hello_bot.rs diff --git a/xmpp-rs/src/lib.rs b/xmpp/src/lib.rs similarity index 100% rename from xmpp-rs/src/lib.rs rename to xmpp/src/lib.rs diff --git a/xmpp-rs/src/pubsub/avatar.rs b/xmpp/src/pubsub/avatar.rs similarity index 100% rename from xmpp-rs/src/pubsub/avatar.rs rename to xmpp/src/pubsub/avatar.rs diff --git a/xmpp-rs/src/pubsub/mod.rs b/xmpp/src/pubsub/mod.rs similarity index 100% rename from xmpp-rs/src/pubsub/mod.rs rename to xmpp/src/pubsub/mod.rs