diff --git a/rustecal-pubsub/Cargo.toml b/rustecal-pubsub/Cargo.toml index 77de0fc..0246f5b 100644 --- a/rustecal-pubsub/Cargo.toml +++ b/rustecal-pubsub/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rustecal-pubsub" -version = "0.1.2" +version = "0.1.3" authors = ["Rex Schilasky"] edition = "2021" description = "Publish/Subscribe API for Eclipse eCAL" @@ -12,9 +12,16 @@ keywords = ["ecal", "ipc", "pubsub", "middleware"] categories = ["network-programming", "api-bindings"] [dependencies] -rustecal-sys = { version = "0.1.0", path = "../rustecal-sys" } +rustecal-sys = { version = "0.1.0", path = "../rustecal-sys", optional = true } rustecal-core = { version = "0.1.0", path = "../rustecal-core" } thiserror = "1.0" [features] -default = [] +# Include sys bindings by default in local builds +default = ["sys"] +# Optional feature to enable the rustecal-sys dependency +sys = ["rustecal-sys"] + +[package.metadata.docs.rs] +default-features = false +features = []