-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
34 lines (29 loc) · 867 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
[package]
name = "ocsd"
version = "0.1.1"
edition = "2021"
license = "MIT OR Apache-2.0"
description = "OCSD temperature reporting interface library"
repository = "https://github.com/conroy-cheers/ocsd"
readme = "README.md"
keywords = ["ocsd", "ilo", "sea-of-sensors"]
categories = ["hardware-support"]
exclude = [".github/*"]
[features]
## Enable `client` module for easy access to the OCSD buffer via `/dev/mem`
devmem = ["dep:devmem"]
[[example]]
name = "report_device"
doc-scrape-examples = true
required-features = ["devmem"]
[package.metadata.docs.rs]
all-features = true
[dependencies]
bitmask-enum = "2.2.4"
bytemuck = { version = "1.16.1", features = ["derive"] }
devmem = { version = "0.1.1", optional = true }
document-features = "0.2.8"
[dev-dependencies]
ctrlc = "3.4.4"
serde = { version = "1.0.203", features = ["derive"] }
serde_json = "1.0.118"