-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathCargo.toml
More file actions
41 lines (36 loc) · 980 Bytes
/
Cargo.toml
File metadata and controls
41 lines (36 loc) · 980 Bytes
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
[package]
name = "mid"
version = "5.0.1"
edition = "2024"
authors = ["doroved"]
description = "Creating a Machine ID hash for MacOS/Windows/Linux/iOS"
readme = "README.md"
repository = "https://github.com/doroved/mid"
license = "MIT OR Apache-2.0"
keywords = ["hwid", "machineid", "hardware-id", "machineuid", "uuid"]
categories = ["authentication", "config", "accessibility"]
include = [
"src/**/*",
"Cargo.toml",
"README.md",
]
[lib]
crate-type = ["lib", "staticlib"]
doctest = false
[[example]]
name = "example"
path = "example/main.rs"
required-features = ["serde", "serde_json"]
[dependencies]
hex = "0.4.3"
hmac-sha256 = "1.1.12"
serde = { version = "1.0.228", features = ["derive"], optional = true }
serde_json = { version = "1.0.145", optional = true }
[target.'cfg(target_os = "ios")'.dependencies]
security-framework = "3.5.1"
core-foundation = "0.10.1"
nanoid = "0.4.0"
sha2 = "0.10.9"
[features]
serde = ["dep:serde"]
serde_json = ["dep:serde_json"]