mirror of
https://gitlab.com/veilid/veilid.git
synced 2025-01-26 22:37:05 -05:00
skeleton for network shim
This commit is contained in:
parent
0495afb3c6
commit
8608269f75
1
Cargo.lock
generated
1
Cargo.lock
generated
@ -6236,6 +6236,7 @@ dependencies = [
|
||||
"wasm-logger",
|
||||
"wee_alloc",
|
||||
"winapi",
|
||||
"ws_stream_wasm",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
@ -32,7 +32,11 @@ rt-tokio = [
|
||||
"async_executors/tokio_io",
|
||||
"async_executors/tokio_timer",
|
||||
]
|
||||
rt-wasm-bindgen = ["async_executors/bindgen", "async_executors/timer"]
|
||||
rt-wasm-bindgen = [
|
||||
"async_executors/bindgen",
|
||||
"async_executors/timer",
|
||||
"ws_stream_wasm",
|
||||
]
|
||||
|
||||
veilid_tools_android_tests = ["dep:paranoid-android"]
|
||||
veilid_tools_ios_tests = ["dep:tracing", "dep:oslog", "dep:tracing-oslog"]
|
||||
@ -91,7 +95,7 @@ js-sys = "0.3.70"
|
||||
wasm-bindgen-futures = "0.4.42"
|
||||
async_executors = { version = "0.7.0", default-features = false }
|
||||
getrandom = { version = "0.2", features = ["js"] }
|
||||
|
||||
ws_stream_wasm = { version = "0.7.4", optional = true }
|
||||
send_wrapper = { version = "0.6.0", features = ["futures"] }
|
||||
|
||||
# Dependencies for Linux or Android
|
||||
|
0
veilid-tools/src/network_shim/async_std.rs
Normal file
0
veilid-tools/src/network_shim/async_std.rs
Normal file
@ -48,3 +48,16 @@
|
||||
//! * `veilid-core`'s network `native` and `wasm` modules
|
||||
//! * This crate's `network_interfaces` module
|
||||
//! * This crate's `dns_lookup` module
|
||||
|
||||
mod router_client;
|
||||
mod router_server;
|
||||
|
||||
#[cfg(feature = "async-std")]
|
||||
mod async_std;
|
||||
mod std;
|
||||
#[cfg(feature = "tokio")]
|
||||
mod tokio;
|
||||
#[cfg(feature = "tokio-stream")]
|
||||
mod tokio_stream;
|
||||
#[cfg(feature = "ws_stream_wasm")]
|
||||
mod ws_stream_wasm;
|
||||
|
0
veilid-tools/src/network_shim/router_client.rs
Normal file
0
veilid-tools/src/network_shim/router_client.rs
Normal file
0
veilid-tools/src/network_shim/router_server/mod.rs
Normal file
0
veilid-tools/src/network_shim/router_server/mod.rs
Normal file
0
veilid-tools/src/network_shim/std.rs
Normal file
0
veilid-tools/src/network_shim/std.rs
Normal file
0
veilid-tools/src/network_shim/tokio.rs
Normal file
0
veilid-tools/src/network_shim/tokio.rs
Normal file
0
veilid-tools/src/network_shim/tokio_stream.rs
Normal file
0
veilid-tools/src/network_shim/tokio_stream.rs
Normal file
0
veilid-tools/src/network_shim/ws_stream_wasm.rs
Normal file
0
veilid-tools/src/network_shim/ws_stream_wasm.rs
Normal file
Loading…
x
Reference in New Issue
Block a user