Skip to content

Commit

Permalink
Enable the "lock-environ" feature of c-gull.
Browse files Browse the repository at this point in the history
  • Loading branch information
sunfishcode committed Nov 13, 2023
1 parent 509ef34 commit fe6113e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ exclude = ["/.github", "ci"]
keywords = ["linux"]

[dependencies]
c-gull = { version = "0.15.15", default-features = false, features = ["eyra"] }
c-gull = { version = "0.15.18", default-features = false, features = ["eyra"] }

[dev-dependencies]
assert_cmd = "2.0.12"
Expand All @@ -33,7 +33,11 @@ which = "5.0.0"
core_simd = { git = "https://github.com/rust-lang/portable-simd" }

[features]
default = ["be-std"]
default = ["be-std", "lock-environ"]

# This enables use of an `RwLock` within `getenv`, `setenv`, and related
# functions, to make them thread-safe.
lock-environ = ["c-gull/lock-environ"]

# Enable logging of program and thread startup and shutdown.
log = ["c-gull/log"]
Expand Down

0 comments on commit fe6113e

Please sign in to comment.