Skip to content

Commit

Permalink
Merge pull request #841 from Nemo157/fix-futures-executor-nostd
Browse files Browse the repository at this point in the history
Ensure building `futures-executor` on `no_std` environments works
  • Loading branch information
alexcrichton authored Mar 5, 2018
2 parents f671100 + 35dddf8 commit ed2fdad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions futures-executor/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ Executors for asynchronous tasks based on the futures-rs library.
"""

[features]
std = ["futures-core/std", "futures-util/std", "futures-channel/std"]
std = ["num_cpus", "futures-core/std", "futures-util/std", "futures-channel/std"]
default = ["std"]

[dependencies]
futures-core = { path = "../futures-core", version = "0.2.0", default-features = false}
futures-util = { path = "../futures-util", version = "0.2.0", default-features = false}
futures-channel = { path = "../futures-channel", version = "0.2.0", default-features = false}
num_cpus = "1.0"
num_cpus = { version = "1.0", optional = true }

[dev-dependencies]
futures = { path = "../futures", version = "0.2", default-features = false }
Expand Down

0 comments on commit ed2fdad

Please sign in to comment.