Skip to content

Commit

Permalink
Merge #1644
Browse files Browse the repository at this point in the history
1644: Make memoffset dependency optional r=asomers a=rtzoeller

Only the socket feature depends on memoffset. Allow clients to skip pulling memoffset in as a dependency if they don't need it.

Co-authored-by: Ryan Zoeller <rtzoeller@rtzoeller.com>
  • Loading branch information
bors[bot] and rtzoeller authored Jan 23, 2022
2 parents 8ee9366 + 50d22ce commit 4c3001b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ bitflags = "1.1"
cfg-if = "1.0"

[target.'cfg(not(target_os = "redox"))'.dependencies]
memoffset = "0.6.3"
memoffset = { version = "0.6.3", optional = true }

[features]
default = [
Expand Down Expand Up @@ -68,7 +68,7 @@ reboot = []
resource = []
sched = ["process"]
signal = ["process"]
socket = []
socket = ["memoffset"]
term = []
time = []
ucontext = ["signal"]
Expand Down

0 comments on commit 4c3001b

Please sign in to comment.