Skip to content

Commit

Permalink
Remove not using module and its dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Ma233 committed Mar 12, 2024
1 parent acd8309 commit 797198e
Show file tree
Hide file tree
Showing 11 changed files with 0 additions and 265 deletions.
21 changes: 0 additions & 21 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions crates/core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ experimental = ["std"]
default = ["std"]
std = [
"webrtc",
"async-channel",
"sled",
"uuid/v4",
"uuid/serde",
Expand Down Expand Up @@ -88,7 +87,6 @@ tiny-keccak = { version = "2.0.1", features = ["keccak"] }
uuid = { version = "0.8.2", optional = true }

# default and dummy
async-channel = { version = "1.6.1", optional = true }
sled = { version = "0.34.7", optional = true }
webrtc = { workspace = true, optional = true }

Expand Down
63 changes: 0 additions & 63 deletions crates/core/src/channels/default.rs

This file was deleted.

14 changes: 0 additions & 14 deletions crates/core/src/channels/mod.rs

This file was deleted.

67 changes: 0 additions & 67 deletions crates/core/src/channels/wasm.rs

This file was deleted.

2 changes: 0 additions & 2 deletions crates/core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@
//! ```
#![cfg_attr(target_arch = "wasm32", allow(clippy::arc_with_non_send_sync))]

pub mod channels;
pub mod dht;
pub mod ecc;
pub mod error;
Expand All @@ -72,7 +71,6 @@ pub mod storage;
pub mod swarm;
#[cfg(test)]
mod tests;
pub mod types;
pub mod utils;
pub use async_trait::async_trait;
pub use futures;
Expand Down
1 change: 0 additions & 1 deletion crates/core/src/tests/wasm/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ use crate::storage::idb::IdbStorage;
use crate::swarm::Swarm;
use crate::swarm::SwarmBuilder;

mod test_channel;
mod test_fn_macro;
mod test_ice_servers;
mod test_idb_storage;
Expand Down
47 changes: 0 additions & 47 deletions crates/core/src/tests/wasm/test_channel.rs

This file was deleted.

27 changes: 0 additions & 27 deletions crates/core/src/types/channel.rs

This file was deleted.

20 changes: 0 additions & 20 deletions crates/core/src/types/mod.rs

This file was deleted.

1 change: 0 additions & 1 deletion crates/node/src/prelude.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,3 @@ pub use self::rings_core::session::SessionSk;
pub use self::rings_core::session::SessionSkBuilder;
pub use self::rings_core::swarm::Swarm;
pub use self::rings_core::swarm::SwarmBuilder;
pub use self::rings_core::types::Connection;

0 comments on commit 797198e

Please sign in to comment.