Skip to content

Commit 34ea028

Browse files
exclude sys for doc build (#32)
1 parent 4fcac19 commit 34ea028

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

rustecal-pubsub/Cargo.toml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rustecal-pubsub"
3-
version = "0.1.2"
3+
version = "0.1.3"
44
authors = ["Rex Schilasky"]
55
edition = "2021"
66
description = "Publish/Subscribe API for Eclipse eCAL"
@@ -12,9 +12,16 @@ keywords = ["ecal", "ipc", "pubsub", "middleware"]
1212
categories = ["network-programming", "api-bindings"]
1313

1414
[dependencies]
15-
rustecal-sys = { version = "0.1.0", path = "../rustecal-sys" }
15+
rustecal-sys = { version = "0.1.0", path = "../rustecal-sys", optional = true }
1616
rustecal-core = { version = "0.1.0", path = "../rustecal-core" }
1717
thiserror = "1.0"
1818

1919
[features]
20-
default = []
20+
# Include sys bindings by default in local builds
21+
default = ["sys"]
22+
# Optional feature to enable the rustecal-sys dependency
23+
sys = ["rustecal-sys"]
24+
25+
[package.metadata.docs.rs]
26+
default-features = false
27+
features = []

0 commit comments

Comments
 (0)