Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 10e08e8

Browse filesBrowse files
committed
drop support for pre 1.0 tokio
1 parent 2dc331e commit 10e08e8
Copy full SHA for 10e08e8

File tree

Expand file treeCollapse file tree

5 files changed

+0
-106
lines changed
Filter options
Expand file treeCollapse file tree

5 files changed

+0
-106
lines changed

‎Cargo.toml

Copy file name to clipboardExpand all lines: Cargo.toml
-16Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ rust-version = "1.60"
1616
[features]
1717
default = ["async-io"]
1818
tokio = ["tokio-crate"]
19-
tokio02 = ["tokio02-crate"]
20-
tokio03 = ["tokio03-crate"]
2119

2220
[dependencies]
2321
async-channel = "^2.1.1"
@@ -38,19 +36,5 @@ optional = true
3836
default-features = false
3937
features = ["rt", "rt-multi-thread"]
4038

41-
[dependencies.tokio02-crate]
42-
package = "tokio"
43-
version = "^0.2"
44-
optional = true
45-
default-features = false
46-
features = ["rt-core"]
47-
48-
[dependencies.tokio03-crate]
49-
package = "tokio"
50-
version = "^0.3.4"
51-
optional = true
52-
default-features = false
53-
features = ["rt", "rt-multi-thread"]
54-
5539
[dev-dependencies]
5640
doc-comment = "^0.3"

‎src/lib.rs

Copy file name to clipboardExpand all lines: src/lib.rs
-4Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,3 @@ mod threading;
4545

4646
#[cfg(feature = "tokio")]
4747
mod tokio;
48-
#[cfg(feature = "tokio02")]
49-
mod tokio02;
50-
#[cfg(feature = "tokio03")]
51-
mod tokio03;

‎src/reactor.rs

Copy file name to clipboardExpand all lines: src/reactor.rs
-4Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,5 @@ pub(crate) fn block_on<F: std::future::Future<Output = T>, T>(future: F) -> T {
55
let run = || futures_lite::future::block_on(future);
66
#[cfg(feature = "tokio")]
77
let _tokio_enter = crate::tokio::enter();
8-
#[cfg(feature = "tokio02")]
9-
let run = || crate::tokio02::enter(run);
10-
#[cfg(feature = "tokio03")]
11-
let _tokio03_enter = crate::tokio03::enter();
128
run()
139
}

‎src/tokio02.rs

Copy file name to clipboardExpand all lines: src/tokio02.rs
-41Lines changed: 0 additions & 41 deletions
This file was deleted.

‎src/tokio03.rs

Copy file name to clipboardExpand all lines: src/tokio03.rs
-41Lines changed: 0 additions & 41 deletions
This file was deleted.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.