diff --git a/tuic/Cargo.toml b/tuic/Cargo.toml index 3aab101..490a448 100644 --- a/tuic/Cargo.toml +++ b/tuic/Cargo.toml @@ -4,11 +4,11 @@ version = "0.1.0" edition = "2021" [features] -prototype = ["parking_lot", "thiserror"] +model = ["parking_lot", "thiserror"] [dependencies] parking_lot = { version = "0.12.1", default-features = false, optional = true } thiserror = { version = "1.0.38", default-features = false, optional = true } [dev-dependencies] -tuic = { path = ".", features = ["prototype"] } +tuic = { path = ".", features = ["model"] } diff --git a/tuic/src/lib.rs b/tuic/src/lib.rs index de2d745..48cfb71 100644 --- a/tuic/src/lib.rs +++ b/tuic/src/lib.rs @@ -3,4 +3,4 @@ pub mod protocol; #[cfg(feature = "prototype")] -pub mod prototype; +pub mod model; diff --git a/tuic/src/prototype/authenticate.rs b/tuic/src/model/authenticate.rs similarity index 100% rename from tuic/src/prototype/authenticate.rs rename to tuic/src/model/authenticate.rs diff --git a/tuic/src/prototype/connect.rs b/tuic/src/model/connect.rs similarity index 100% rename from tuic/src/prototype/connect.rs rename to tuic/src/model/connect.rs diff --git a/tuic/src/prototype/dissociate.rs b/tuic/src/model/dissociate.rs similarity index 100% rename from tuic/src/prototype/dissociate.rs rename to tuic/src/model/dissociate.rs diff --git a/tuic/src/prototype/heartbeat.rs b/tuic/src/model/heartbeat.rs similarity index 100% rename from tuic/src/prototype/heartbeat.rs rename to tuic/src/model/heartbeat.rs diff --git a/tuic/src/prototype/mod.rs b/tuic/src/model/mod.rs similarity index 100% rename from tuic/src/prototype/mod.rs rename to tuic/src/model/mod.rs diff --git a/tuic/src/prototype/packet.rs b/tuic/src/model/packet.rs similarity index 100% rename from tuic/src/prototype/packet.rs rename to tuic/src/model/packet.rs