Skip to content

Commit

Permalink
Make tokio/rt-core conditional on the static feature (relates #4)
Browse files Browse the repository at this point in the history
  • Loading branch information
udoprog committed Mar 16, 2020
1 parent fe17f41 commit 79e0bd5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 255 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/target
**/*.rs.bk
/Cargo.lock
253 changes: 0 additions & 253 deletions Cargo.lock

This file was deleted.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ categories = ["algorithms", "network-programming", "concurrency"]
[dependencies]
futures-channel = "0.3.1"
futures-util = "0.3.1"
tokio = { version = "0.2.13", features = ["time", "stream", "rt-core"] }
tokio = { version = "0.2.13", features = ["time", "stream"] }
log = "0.4.7"
lazy_static = { version = "1.4.0", optional = true }
thiserror = "1.0.9"

[features]
default = ["static"]
static = ["lazy_static"]
static = ["lazy_static", "tokio/rt-core"]

[dev-dependencies]
futures = "0.3.1"
Expand Down

0 comments on commit 79e0bd5

Please sign in to comment.