Skip to content

Commit

Permalink
switch back to unconditional shared-memory API compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
yellowhatter committed May 30, 2024
1 parent 78d44be commit fdfd54c
Show file tree
Hide file tree
Showing 5 changed files with 274 additions and 85 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ build = "build.rs"
logger-autoinit = []
shared-memory = ["zenoh/shared-memory", "zenoh-ext/shared-memory", "zenoh-protocol/shared-memory",]
unstable = []
default = ["zenoh/default"]
default = ["zenoh/default", "unstable", "shared-memory"]

[badges]
maintenance = { status = "actively-developed" }
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml.in
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ build = "@[email protected]"
logger-autoinit = []
shared-memory = ["zenoh/shared-memory", "zenoh-ext/shared-memory", "zenoh-protocol/shared-memory",]
unstable = []
default = ["zenoh/default"]
default = ["zenoh/default", "unstable", "shared-memory"]

[badges]
maintenance = { status = "actively-developed" }
Expand Down
2 changes: 1 addition & 1 deletion build-resources/opaque-types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ edition = "2021"
[features]
shared-memory = ["zenoh/shared-memory", "zenoh-ext/shared-memory"]
unstable = []
default = ["zenoh/default"]
default = ["zenoh/default", "unstable", "shared-memory"]

[dependencies]
# shared-memory enabled for zenoh even if zenoh-c "shared-memory" feature is disabled. This is to make "std::mem::transmute" work for `ZSLice`
Expand Down
Loading

0 comments on commit fdfd54c

Please sign in to comment.