diff --git a/Cargo.lock b/Cargo.lock index 5bbfa56..45c6fd4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -826,8 +826,8 @@ dependencies = [ "bytes", "derive_more", "distant-core-net", - "distant-core-plugin", "distant-core-protocol", + "distant-plugin", "env_logger", "futures", "hex", @@ -889,16 +889,6 @@ dependencies = [ "tokio", ] -[[package]] -name = "distant-core-plugin" -version = "0.21.0" -dependencies = [ - "async-trait", - "distant-core-auth", - "distant-core-protocol", - "serde", -] - [[package]] name = "distant-core-protocol" version = "0.21.0" @@ -916,6 +906,16 @@ dependencies = [ "strum", ] +[[package]] +name = "distant-plugin" +version = "0.21.0" +dependencies = [ + "async-trait", + "distant-core-auth", + "distant-core-protocol", + "serde", +] + [[package]] name = "distant-plugin-local" version = "0.21.0" diff --git a/Cargo.toml b/Cargo.toml index 9eeee87..04e1110 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,8 +16,8 @@ members = [ "distant-core", "distant-core-auth", "distant-core-net", - "distant-core-plugin", "distant-core-protocol", + "distant-plugin", "distant-plugin-local", "distant-plugin-ssh", ] diff --git a/distant-core/Cargo.toml b/distant-core/Cargo.toml index 4b22d7f..5bbb3cc 100644 --- a/distant-core/Cargo.toml +++ b/distant-core/Cargo.toml @@ -17,7 +17,7 @@ bitflags = "2.3.1" bytes = "1.4.0" derive_more = { version = "0.99.17", default-features = false, features = ["as_mut", "as_ref", "deref", "deref_mut", "display", "from", "error", "into", "into_iterator", "is_variant", "try_into"] } distant-core-net = { version = "=0.21.0", path = "../distant-core-net" } -distant-core-plugin = { version = "=0.21.0", path = "../distant-core-plugin" } +distant-plugin = { version = "=0.21.0", path = "../distant-plugin" } distant-core-protocol = { version = "=0.21.0", path = "../distant-core-protocol" } futures = "0.3.28" hex = "0.4.3" diff --git a/distant-core-plugin/Cargo.toml b/distant-plugin/Cargo.toml similarity index 80% rename from distant-core-plugin/Cargo.toml rename to distant-plugin/Cargo.toml index f4a7159..efe8823 100644 --- a/distant-core-plugin/Cargo.toml +++ b/distant-plugin/Cargo.toml @@ -1,6 +1,6 @@ [package] -name = "distant-core-plugin" -description = "Core plugin library for distant that provides everything needed to build a plugin" +name = "distant-plugin" +description = "Plugin library for distant that provides everything needed to build a plugin" categories = [] keywords = [] version = "0.21.0" diff --git a/distant-core-plugin/README.md b/distant-plugin/README.md similarity index 100% rename from distant-core-plugin/README.md rename to distant-plugin/README.md diff --git a/distant-core-plugin/src/api.rs b/distant-plugin/src/api.rs similarity index 100% rename from distant-core-plugin/src/api.rs rename to distant-plugin/src/api.rs diff --git a/distant-core-plugin/src/common.rs b/distant-plugin/src/common.rs similarity index 100% rename from distant-core-plugin/src/common.rs rename to distant-plugin/src/common.rs diff --git a/distant-core-plugin/src/common/destination.rs b/distant-plugin/src/common/destination.rs similarity index 100% rename from distant-core-plugin/src/common/destination.rs rename to distant-plugin/src/common/destination.rs diff --git a/distant-core-plugin/src/common/destination/host.rs b/distant-plugin/src/common/destination/host.rs similarity index 100% rename from distant-core-plugin/src/common/destination/host.rs rename to distant-plugin/src/common/destination/host.rs diff --git a/distant-core-plugin/src/common/destination/parser.rs b/distant-plugin/src/common/destination/parser.rs similarity index 100% rename from distant-core-plugin/src/common/destination/parser.rs rename to distant-plugin/src/common/destination/parser.rs diff --git a/distant-core-plugin/src/common/map.rs b/distant-plugin/src/common/map.rs similarity index 100% rename from distant-core-plugin/src/common/map.rs rename to distant-plugin/src/common/map.rs diff --git a/distant-core-plugin/src/common/utils.rs b/distant-plugin/src/common/utils.rs similarity index 100% rename from distant-core-plugin/src/common/utils.rs rename to distant-plugin/src/common/utils.rs diff --git a/distant-core-plugin/src/handlers.rs b/distant-plugin/src/handlers.rs similarity index 100% rename from distant-core-plugin/src/handlers.rs rename to distant-plugin/src/handlers.rs diff --git a/distant-core-plugin/src/lib.rs b/distant-plugin/src/lib.rs similarity index 100% rename from distant-core-plugin/src/lib.rs rename to distant-plugin/src/lib.rs