Skip to content

Commit 4fcac19

Browse files
exclude sys for doc build (#31)
1 parent be54c04 commit 4fcac19

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

rustecal-core/Cargo.toml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[package]
22
name = "rustecal-core"
3-
version = "0.1.1"
3+
version = "0.1.2"
44
authors = ["Rex Schilasky"]
55
edition = "2021"
6-
description = "Idiomatic Rust API for Eclipse eCAL - Core Functionality"
6+
description = "Core API for Eclipse eCAL"
77
license = "Apache-2.0"
88
repository = "https://github.com/eclipse-ecal/rustecal"
99
documentation = "https://docs.rs/rustecal-core"
@@ -12,10 +12,17 @@ keywords = ["ecal", "ipc", "pubsub", "server-client", "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
once_cell = "1.17"
1717
thiserror = "1.0"
1818
bitflags = "1.3"
1919

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

0 commit comments

Comments
 (0)