From 20102a9a21631e944ca5087a93d3b1cbe6515f77 Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Sun, 18 Aug 2024 19:59:20 +0200 Subject: [PATCH 1/2] made sure that the examples are documented in the `Cargo.toml` --- libosdp/Cargo.toml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/libosdp/Cargo.toml b/libosdp/Cargo.toml index 929aed6..1d92dcf 100644 --- a/libosdp/Cargo.toml +++ b/libosdp/Cargo.toml @@ -30,3 +30,11 @@ sha256 = "1.5.0" [features] default = ["std"] std = ["thiserror"] + +[[example]] +name = "cp" +required-features = ["std"] + +[[example]] +name = "pd" +required-features = ["std"] From 7d5e9e2c5368640b507c2232d1b2c4a4b0df8b58 Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Sun, 18 Aug 2024 20:15:12 +0200 Subject: [PATCH 2/2] updated the documentation/repository-urls to point to the right places --- libosdp-sys/Cargo.toml | 2 +- libosdp/Cargo.toml | 2 +- osdpctl/Cargo.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libosdp-sys/Cargo.toml b/libosdp-sys/Cargo.toml index 384431c..67dab7b 100644 --- a/libosdp-sys/Cargo.toml +++ b/libosdp-sys/Cargo.toml @@ -4,7 +4,7 @@ version = "3.0.6" edition = "2021" authors = ["Siddharth Chandrasekaran "] description = "Sys crate for https://github.com/goToMain/libosdp" -documentation = "https://docs.rs/libosdp" +documentation = "https://docs.rs/libosdp-sys" homepage = "https://libosdp.sidcha.dev/" readme = "README.md" repository = "https://github.com/goToMain/libosdp-rs" diff --git a/libosdp/Cargo.toml b/libosdp/Cargo.toml index 1d92dcf..e1eaa98 100644 --- a/libosdp/Cargo.toml +++ b/libosdp/Cargo.toml @@ -7,7 +7,7 @@ description = "Library implementation of IEC 60839-11-5 OSDP (Open Supervised De documentation = "https://docs.rs/libosdp" homepage = "https://libosdp.sidcha.dev/" readme = "README.md" -repository = "https://github.com/goToMain/libosdp" +repository = "https://github.com/goToMain/libosdp-rs" license = "Apache-2.0" keywords = ["osdp", "libosdp", "acs", "sia", "weigand"] categories = ["development-tools", "embedded"] diff --git a/osdpctl/Cargo.toml b/osdpctl/Cargo.toml index cf03075..134022b 100644 --- a/osdpctl/Cargo.toml +++ b/osdpctl/Cargo.toml @@ -4,7 +4,7 @@ version = "0.0.1" edition = "2021" authors = ["Siddharth Chandrasekaran "] description = "Tool to help setup, manage and control OSDP devices" -documentation = "https://docs.rs/libosdp" +documentation = "https://libosdp.sidcha.dev/osdpctl/introduction.html" homepage = "https://libosdp.sidcha.dev/" readme = "README.md" repository = "https://github.com/goToMain/libosdp-rs"