mirror of
https://github.com/exo-explore/exo.git
synced 2025-12-23 22:27:50 -05:00
renamed
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
resolver = "3"
|
||||
members = [
|
||||
"rust/exo_pyo3_bindings",
|
||||
"rust/iroh_networking",
|
||||
"rust/networking",
|
||||
]
|
||||
|
||||
[workspace.package]
|
||||
@@ -22,7 +22,7 @@ opt-level = 3
|
||||
# Common configurations include versions, paths, features, etc.
|
||||
[workspace.dependencies]
|
||||
## Crate members as common dependencies
|
||||
iroh_networking = { path = "rust/iroh_networking" }
|
||||
networking = { path = "rust/networking" }
|
||||
|
||||
extend = "1.2"
|
||||
|
||||
|
||||
@@ -20,25 +20,24 @@ doc = false
|
||||
workspace = true
|
||||
|
||||
[dependencies]
|
||||
iroh_networking = { workspace = true }
|
||||
networking.workspace = true
|
||||
|
||||
# interop
|
||||
pyo3 = { workspace = true, features = ["experimental-async"] }
|
||||
pyo3-stub-gen = { workspace = true }
|
||||
pyo3-async-runtimes = { workspace = true, features = ["attributes", "tokio-runtime", "testing"] }
|
||||
pyo3-log = { workspace = true }
|
||||
pyo3-stub-gen.workspace = true
|
||||
# pyo3-async-runtimes = { workspace = true, features = ["attributes", "tokio-runtime", "testing"] }
|
||||
pyo3-log.workspace = true
|
||||
|
||||
# macro dependencies
|
||||
extend = { workspace = true }
|
||||
extend.workspace = true
|
||||
|
||||
# async runtime
|
||||
tokio = { workspace = true, features = ["full", "tracing"] }
|
||||
|
||||
# utility dependencies
|
||||
postcard = { workspace = true, features = ["use-std"] }
|
||||
thiserror = { workspace = true }
|
||||
rand = { workspace = true }
|
||||
n0-future = { workspace = true }
|
||||
rand.workspace = true
|
||||
n0-future.workspace = true
|
||||
|
||||
|
||||
# Tracing
|
||||
|
||||
@@ -6,11 +6,10 @@
|
||||
|
||||
mod allow_threading;
|
||||
mod identity;
|
||||
mod iroh_networking;
|
||||
// mod examples;
|
||||
mod networking;
|
||||
|
||||
use crate::identity::ident_submodule;
|
||||
use crate::iroh_networking::networking_submodule;
|
||||
use crate::networking::networking_submodule;
|
||||
use pyo3::prelude::*;
|
||||
use pyo3_stub_gen::define_stub_info_gatherer;
|
||||
|
||||
|
||||
@@ -4,8 +4,8 @@ use iroh::SecretKey;
|
||||
use iroh::discovery::EndpointInfo;
|
||||
use iroh::discovery::mdns::DiscoveryEvent;
|
||||
use iroh_gossip::api::{ApiError, Event, GossipReceiver, GossipSender, Message};
|
||||
use iroh_networking::ExoNet;
|
||||
use n0_future::{Stream, StreamExt as _};
|
||||
use networking::ExoNet;
|
||||
use pyo3::exceptions::{PyRuntimeError, PyStopAsyncIteration};
|
||||
use pyo3::prelude::*;
|
||||
use pyo3::types::PyBytes;
|
||||
@@ -1,5 +1,5 @@
|
||||
[package]
|
||||
name = "iroh_networking"
|
||||
name = "networking"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
|
||||
Reference in New Issue
Block a user