forked from jrgerber/smbios-lib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
43 lines (36 loc) · 1.23 KB
/
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
35
36
37
38
39
40
41
42
43
[package]
name = "smbios-lib"
version = "0.9.1"
authors = ["Jeffrey R. Gerber <jeffreygerber@gmail.com>", "Ante Čulo <dante2711@gmail.com>", "Juan Zuluaga <juzuluag@hotmail.com>"]
license-file = "LICENSE"
edition = "2018"
description = "SMBIOS Library"
homepage = "https://github.com/jrgerber/smbios-lib"
repository = "https://github.com/jrgerber/smbios-lib"
readme = "README.md"
keywords = ["bios", "smbios", "dmtf"]
categories = ["hardware-support", "no-std"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
name = "smbioslib"
path = "src/lib.rs"
[[bin]]
name = "smbiosdump"
path = "src/main.rs"
required-features = ["getopts", "serde_json"]
[dependencies]
getopts = { version = "0.2.21", optional = true }
serde = { version = "1", features = ["derive"], default-features = false }
serde_json = { version = "1.0", optional = true }
x86_64 = { version = "0.14.3", optional = true }
[target.'cfg(windows)'.dependencies]
libc = "0.2"
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies]
libc = "^0.2"
mach = "^0.3"
core-foundation = "~0.6"
core-foundation-sys = "~0.6"
io-kit-sys = "0.1.0"
[features]
default = ["serde/std", "getopts", "serde_json"]
no_std = ["serde/alloc"]