Move tons of stuff into oldstuff/
This commit is contained in:
6
oldstuff/rustbook/communicator/Cargo.toml
Normal file
6
oldstuff/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
oldstuff/rustbook/communicator/src/client.rs
Normal file
2
oldstuff/rustbook/communicator/src/client.rs
Normal file
@@ -0,0 +1,2 @@
|
||||
pub fn connect() {
|
||||
}
|
13
oldstuff/rustbook/communicator/src/lib.rs
Normal file
13
oldstuff/rustbook/communicator/src/lib.rs
Normal file
@@ -0,0 +1,13 @@
|
||||
pub mod client;
|
||||
|
||||
pub mod network;
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::client;
|
||||
|
||||
#[test]
|
||||
fn it_works() {
|
||||
client::connect();
|
||||
}
|
||||
}
|
5
oldstuff/rustbook/communicator/src/main.rs
Normal file
5
oldstuff/rustbook/communicator/src/main.rs
Normal file
@@ -0,0 +1,5 @@
|
||||
extern crate communicator;
|
||||
|
||||
fn main() {
|
||||
communicator::client::connect();
|
||||
}
|
4
oldstuff/rustbook/communicator/src/network/mod.rs
Normal file
4
oldstuff/rustbook/communicator/src/network/mod.rs
Normal file
@@ -0,0 +1,4 @@
|
||||
pub fn connect() {
|
||||
}
|
||||
|
||||
pub mod server;
|
2
oldstuff/rustbook/communicator/src/network/server.rs
Normal file
2
oldstuff/rustbook/communicator/src/network/server.rs
Normal file
@@ -0,0 +1,2 @@
|
||||
pub fn connect() {
|
||||
}
|
Reference in New Issue
Block a user