Skip to content

Commit

Permalink
Make mem_offset optional
Browse files Browse the repository at this point in the history
  • Loading branch information
terrarier2111 committed Jul 22, 2023
1 parent d5330fe commit 42fb18c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ rust-version = "1.59"

[features]
# this feature provides performance improvements using nightly features
nightly = []
nightly = ["memoffset"]

[badges]
travis-ci = { repository = "Amanieu/thread_local-rs" }
Expand All @@ -23,10 +23,10 @@ once_cell = "1.5.2"
# this is required to gate `nightly` related code paths
cfg-if = "1.0.0"
crossbeam-utils = "0.8.15"
memoffset = "0.9.0"
memoffset = { version = "0.9.0", optional = true }

[dev-dependencies]
criterion = "0.5.1"
criterion = "0.5"

[[bench]]
name = "thread_local"
Expand Down

0 comments on commit 42fb18c

Please sign in to comment.