Module bits
This commit is contained in:
parent
a8a1bdaaa8
commit
69409fe528
6
rustbook/communicator/Cargo.toml
Normal file
6
rustbook/communicator/Cargo.toml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
[package]
|
||||||
|
name = "communicator"
|
||||||
|
version = "0.1.0"
|
||||||
|
authors = ["Dan Buch <dan@meatballhat.com>"]
|
||||||
|
|
||||||
|
[dependencies]
|
2
rustbook/communicator/src/client.rs
Normal file
2
rustbook/communicator/src/client.rs
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
fn connect() {
|
||||||
|
}
|
11
rustbook/communicator/src/lib.rs
Normal file
11
rustbook/communicator/src/lib.rs
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
mod client;
|
||||||
|
|
||||||
|
mod network;
|
||||||
|
|
||||||
|
#[cfg(test)]
|
||||||
|
mod tests {
|
||||||
|
#[test]
|
||||||
|
fn it_works() {
|
||||||
|
assert_eq!(2 + 2, 4);
|
||||||
|
}
|
||||||
|
}
|
4
rustbook/communicator/src/network/mod.rs
Normal file
4
rustbook/communicator/src/network/mod.rs
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
fn connect() {
|
||||||
|
}
|
||||||
|
|
||||||
|
mod server;
|
2
rustbook/communicator/src/network/server.rs
Normal file
2
rustbook/communicator/src/network/server.rs
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
fn connect() {
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user