Skip to content

Commit d2751f0

Browse files
authored
Merge pull request #11 from CommanderStorm/documented-examples
Fixed a few `Cargo.toml` fields
2 parents 9409f70 + 7d5e9e2 commit d2751f0

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

libosdp-sys/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version = "3.0.6"
44
edition = "2021"
55
authors = ["Siddharth Chandrasekaran <[email protected]>"]
66
description = "Sys crate for https://github.com/goToMain/libosdp"
7-
documentation = "https://docs.rs/libosdp"
7+
documentation = "https://docs.rs/libosdp-sys"
88
homepage = "https://libosdp.sidcha.dev/"
99
readme = "README.md"
1010
repository = "https://github.com/goToMain/libosdp-rs"

libosdp/Cargo.toml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description = "Library implementation of IEC 60839-11-5 OSDP (Open Supervised De
77
documentation = "https://docs.rs/libosdp"
88
homepage = "https://libosdp.sidcha.dev/"
99
readme = "README.md"
10-
repository = "https://github.com/goToMain/libosdp"
10+
repository = "https://github.com/goToMain/libosdp-rs"
1111
license = "Apache-2.0"
1212
keywords = ["osdp", "libosdp", "acs", "sia", "weigand"]
1313
categories = ["development-tools", "embedded"]
@@ -30,3 +30,11 @@ sha256 = "1.5.0"
3030
[features]
3131
default = ["std"]
3232
std = ["thiserror"]
33+
34+
[[example]]
35+
name = "cp"
36+
required-features = ["std"]
37+
38+
[[example]]
39+
name = "pd"
40+
required-features = ["std"]

osdpctl/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version = "0.0.1"
44
edition = "2021"
55
authors = ["Siddharth Chandrasekaran <[email protected]>"]
66
description = "Tool to help setup, manage and control OSDP devices"
7-
documentation = "https://docs.rs/libosdp"
7+
documentation = "https://libosdp.sidcha.dev/osdpctl/introduction.html"
88
homepage = "https://libosdp.sidcha.dev/"
99
readme = "README.md"
1010
repository = "https://github.com/goToMain/libosdp-rs"

0 commit comments

Comments
 (0)