# 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 = "2021"
rust-version = "1.67"
name = "newtype-uuid"
version = "1.2.2"
build = "build.rs"
exclude = [
    ".cargo/**/*",
    ".github/**/*",
    "scripts/**/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Newtype wrapper around UUIDs"
documentation = "https://docs.rs/newtype-uuid"
readme = "README.md"
keywords = [
    "uuid",
    "unique",
    "guid",
    "newtype",
]
categories = [
    "data-structures",
    "no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/oxidecomputer/newtype-uuid"

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

[features]
alloc = []
default = [
    "uuid/default",
    "std",
]
proptest1 = ["dep:proptest"]
schemars08 = [
    "dep:schemars",
    "std",
]
serde = [
    "dep:serde",
    "uuid/serde",
]
std = [
    "alloc",
    "uuid/std",
]
v4 = ["uuid/v4"]

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

[dependencies.proptest]
version = "1.5.0"
features = ["std"]
optional = true
default-features = false

[dependencies.schemars]
version = "0.8.17"
features = ["uuid1"]
optional = true

[dependencies.serde]
version = "1"
features = ["derive"]
optional = true

[dependencies.uuid]
version = "1.7.0"
default-features = false
