Skip to content

Commit 312f488

Browse files
author
Stjepan Glavina
committed
Refactor
1 parent aabfc2a commit 312f488

File tree

5 files changed

+598
-696
lines changed

5 files changed

+598
-696
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ concurrent-queue = "1.2.0"
1818
futures-lite = "0.1.10"
1919
libc = "0.2.74"
2020
once_cell = "1.4.0"
21-
parking = "1.0.6"
21+
parking = "2.0.0"
2222
socket2 = { version = "0.3.12", features = ["pair", "unix"] }
2323
vec-arena = "0.5.0"
2424

LICENSE-THIRD-PARTY

Lines changed: 0 additions & 9 deletions
This file was deleted.

src/lib.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,11 @@ use futures_lite::stream::{self, Stream};
7676
use futures_lite::{future, pin};
7777
use socket2::{Domain, Protocol, Socket, Type};
7878

79-
use crate::parking::{Reactor, Source};
79+
use crate::reactor::{Reactor, Source};
8080

8181
pub mod parking;
82+
83+
mod reactor;
8284
mod sys;
8385

8486
/// A timer that expires after a duration of time.

0 commit comments

Comments
 (0)