diff --git a/Cargo.toml b/Cargo.toml index 90a6dff1ab7b92bc91b68bef34252b9017e7b97b..65c9bd2d0799e751f87ad4f44e6c59e403ee6a1f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,26 +9,9 @@ authors = [ edition = "2021" [dependencies] -# convenience macros -maplit = "1.0.2" -derive_more = "0.99.2" -# runtime -bincode = "1.3.1" -serde = { version = "1.0.114", features = ["derive"] } -getrandom = "0.1.14" # tiny crate. used to guess controller-id - -# network -mio = { version = "0.7.0", package = "mio", features = ["udp", "tcp", "os-poll"] } -socket2 = { version = "0.3.12", optional = true } - -# protocol -backtrace = "0.3" -lazy_static = "1.4.0" - -# socket ffi +# ffi libc = { version = "^0.2", optional = true } -os_socketaddr = { version = "0.1.0", optional = true } # randomness rand = "0.8.4" diff --git a/src/runtime2/mod.rs b/src/runtime2/mod.rs index 0f9ac753bfc062373dd3918b663b4546dc8495ce..784e46b7807f7126caea5f4594a7c0265924bdc1 100644 --- a/src/runtime2/mod.rs +++ b/src/runtime2/mod.rs @@ -3,7 +3,7 @@ mod runtime; mod component; mod communication; mod scheduler; -mod std; +mod stdlib; #[cfg(test)] mod tests; pub use runtime::Runtime; diff --git a/src/runtime2/std/internet.rs b/src/runtime2/stdlib/internet.rs similarity index 100% rename from src/runtime2/std/internet.rs rename to src/runtime2/stdlib/internet.rs diff --git a/src/runtime2/std/mod.rs b/src/runtime2/stdlib/mod.rs similarity index 100% rename from src/runtime2/std/mod.rs rename to src/runtime2/stdlib/mod.rs