Skip to content

Commit

Permalink
Feature gate fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
vertexclique committed Nov 6, 2019
1 parent f3af9ce commit 1edb8f4
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 5 deletions.
15 changes: 11 additions & 4 deletions bastion-executor/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,12 @@ readme = "README.md"
license = "Apache-2.0/MIT"
edition = "2018"

[badges]
travis-ci = { repository = "bastion-rs/bastion", branch = "master" }
maintenance = { status = "actively-developed" }

[features]
unstable = ["numanji", "allocator-suite"]
unstable = ["numanji", "allocator-suite", "jemallocator"]

[dependencies]
crossbeam-utils = "0.6"
Expand All @@ -26,8 +30,11 @@ pin-utils = "0.1.0-alpha.4"
lightproc = { "path" = "../lightproc" }

# Allocator
numanji = { version = "^0.1", optional = true, default-features = false}
allocator-suite = { version = "^0.1", optional = true, default-features = false}
numanji = { version = "^0.1", optional = true, default-features = false }
allocator-suite = { version = "^0.1", optional = true, default-features = false }

[dev-dependencies]
proptest = "^0.9"

[target.'cfg(not(any(target_os = "android", target_os = "linux")))'.dependencies]
jemallocator = "^0.3"
jemallocator = { version = "^0.3", optional = true, default-features = false }
2 changes: 1 addition & 1 deletion bastion/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ maintenance = { status = "actively-developed" }
futures-preview = { version = "=0.3.0-alpha.19", features = ["async-await"] }
fxhash = "0.2"
lazy_static = "1.4"
lightproc = { version = "=0.3.0-alpha.0", path = "../lightproc" }
lightproc = { path = "../lightproc" }
qutex = { version = "0.2", features = ["async_await"] }
threadpool = "1.7"
uuid = { version = "0.8", features = ["v4"] }
4 changes: 4 additions & 0 deletions lightproc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ readme = "README.md"
license = "Apache-2.0/MIT"
edition = "2018"

[badges]
travis-ci = { repository = "bastion-rs/bastion", branch = "master" }
maintenance = { status = "actively-developed" }

[dependencies]
crossbeam-utils = "0.6"
pin-utils = "0.1.0-alpha.4"
Expand Down

0 comments on commit 1edb8f4

Please sign in to comment.