[package]
edition = "2024"
rust-version = "1.89"
name = "moonbase"
version = "0.1.0"
authors = ["Moonbase AS"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Moonbase license activation for desktop apps and audio plugins: browser and offline activation, local RS256 validation, revocation, add-ons, version-limited licenses and the cross-SDK device fingerprint."
homepage = "https://moonbase.sh"
readme = "README.md"
keywords = [
"licensing",
"activation",
"moonbase",
"license",
"drm",
]
categories = [
"authentication",
"api-bindings",
]
license = "MIT"
repository = "https://github.com/Moonbase-sh/moonbase-rs"
[features]
default = ["ureq-transport"]
ureq-transport = ["dep:ureq"]
[lib]
name = "moonbase"
path = "src/lib.rs"
[[example]]
name = "activation"
path = "examples/activation.rs"
required-features = ["ureq-transport"]
[[example]]
name = "device_id"
path = "examples/device_id.rs"
[[test]]
name = "client"
path = "tests/client.rs"
[[test]]
name = "device_id"
path = "tests/device_id.rs"
[[test]]
name = "fingerprint_vectors"
path = "tests/fingerprint_vectors.rs"
[[test]]
name = "inventory"
path = "tests/inventory.rs"
[[test]]
name = "licensing"
path = "tests/licensing.rs"
[[test]]
name = "live"
path = "tests/live.rs"
[[test]]
name = "process_dedup"
path = "tests/process_dedup.rs"
[[test]]
name = "release_access"
path = "tests/release_access.rs"
[[test]]
name = "store"
path = "tests/store.rs"
[[test]]
name = "sub_products"
path = "tests/sub_products.rs"
[[test]]
name = "transport"
path = "tests/transport.rs"
[[test]]
name = "validator"
path = "tests/validator.rs"
[dependencies.base64]
version = "0.22"
[dependencies.ring]
version = "0.17"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.unicode-normalization]
version = "0.1.24"
[dependencies.ureq]
version = "3"
optional = true
[dev-dependencies.tempfile]
version = "3"
[target."cfg(windows)".dependencies.windows-sys]
version = "0.61"
features = [
"Win32_Foundation",
"Win32_System_SystemInformation",
]