Skip to content

Commit

Permalink
rename client to net
Browse files Browse the repository at this point in the history
  • Loading branch information
quackitsquinn committed May 19, 2024
1 parent f99697e commit def26c7
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions lazuli_core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ use std::{
hash::{DefaultHasher, Hash, Hasher},
};

mod client;
pub mod header;
mod net;
mod sendable;
mod stream;

Expand Down Expand Up @@ -42,7 +42,7 @@ fn hash_type_id<T: 'static>() -> u32 {
hasher.finish() as u32
}

pub use client::Client;
pub use client::Server;
pub(crate) use header::*;
pub use net::Client;
pub use net::Server;
pub use sendable::Sendable;
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ impl Debug for Client {
mod tests {
use std::vec;

use crate::{client::test_utils::make_client_server_pair, stream::Stream, Result, Sendable};
use crate::{net::test_utils::make_client_server_pair, stream::Stream, Result, Sendable};

use super::StreamConnector;

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ impl Server {
mod test {
use std::net::Ipv4Addr;

use crate::client::test_utils::{make_server, test_send_recv};
use crate::net::test_utils::{make_server, test_send_recv};

use super::*;

Expand Down

0 comments on commit def26c7

Please sign in to comment.