# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "osid"
version = "0.1.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Persistent machine ID across reboots / 跨重启持久化机器标识"
homepage = "https://github.com/js0-site/rust/tree/main/osid"
readme = "README.md"
keywords = [
    "machine-id",
    "unique-id",
    "persistent",
    "cross-platform",
]
license = "MulanPSL-2.0"
repository = "https://github.com/js0-site/rust.git"
resolver = "2"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = []

[lib]
name = "osid"
path = "src/lib.rs"

[[test]]
name = "main"
path = "tests/main.rs"

[dependencies.dirs]
version = "6"

[dependencies.hostname]
version = "0.4"

[dependencies.rand]
version = "0.9"

[dependencies.thiserror]
version = "2.0.17"

[dependencies.ub64]
version = "0.1"
features = ["u64"]

[dev-dependencies.aok]
version = "0.1.18"
