summaryrefslogtreecommitdiff
path: root/protocol
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-03-19 14:30:43 +0800
committer魏曹先生 <1992414357@qq.com>2026-03-19 14:30:43 +0800
commit01e2a21c7e0bf660dbf7b14acfcf1ff3c47d6416 (patch)
tree829a8112ccfaac5768b925216eff4480a1796ca7 /protocol
parent59c16e41007257a91455eced7ca132344e202e5f (diff)
Add `#[allow(dead_code)]` to target_address and reorganize modules
Diffstat (limited to 'protocol')
-rw-r--r--protocol/src/address.rs1
-rw-r--r--protocol/src/impls.rs2
-rw-r--r--protocol/src/lib.rs3
-rw-r--r--protocol/src/server.rs1
-rw-r--r--protocol/src/server_space.rs1
-rw-r--r--protocol/src/user.rs1
-rw-r--r--protocol/src/user_space.rs1
7 files changed, 7 insertions, 3 deletions
diff --git a/protocol/src/address.rs b/protocol/src/address.rs
index ab49df4..60cc17c 100644
--- a/protocol/src/address.rs
+++ b/protocol/src/address.rs
@@ -10,6 +10,7 @@ where
_p: PhantomData<Protocol>,
/// Address of the target upstream machine
+ #[allow(dead_code)]
target_address: String,
}
diff --git a/protocol/src/impls.rs b/protocol/src/impls.rs
index 453d7dd..8b13789 100644
--- a/protocol/src/impls.rs
+++ b/protocol/src/impls.rs
@@ -1 +1 @@
-pub mod jvcs;
+
diff --git a/protocol/src/lib.rs b/protocol/src/lib.rs
index 6b54baa..de4a6ec 100644
--- a/protocol/src/lib.rs
+++ b/protocol/src/lib.rs
@@ -1,4 +1,7 @@
pub mod address;
pub mod context;
+pub mod impls;
pub mod member;
pub mod protocol;
+pub mod server;
+pub mod user;
diff --git a/protocol/src/server.rs b/protocol/src/server.rs
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/protocol/src/server.rs
@@ -0,0 +1 @@
+
diff --git a/protocol/src/server_space.rs b/protocol/src/server_space.rs
deleted file mode 100644
index 453d7dd..0000000
--- a/protocol/src/server_space.rs
+++ /dev/null
@@ -1 +0,0 @@
-pub mod jvcs;
diff --git a/protocol/src/user.rs b/protocol/src/user.rs
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/protocol/src/user.rs
@@ -0,0 +1 @@
+
diff --git a/protocol/src/user_space.rs b/protocol/src/user_space.rs
deleted file mode 100644
index 453d7dd..0000000
--- a/protocol/src/user_space.rs
+++ /dev/null
@@ -1 +0,0 @@
-pub mod jvcs;