# 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"
name = "okid"
version = "0.9.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A library for generating double clickable ids"
readme = "README.md"
keywords = [
    "double-click",
    "double-clickable",
    "id",
    "hash",
]
license = "BSD-3-Clause"

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

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

[dependencies.async-graphql]
version = "7.0.15"
optional = true

[dependencies.blake3]
version = "1.5.4"
optional = true

[dependencies.bytes]
version = "1.10.0"
features = ["serde"]

[dependencies.digest]
version = "0.10.7"

[dependencies.enumflags2]
version = "0.7.10"

[dependencies.hex]
version = "0.4.3"
features = ["serde"]

[dependencies.serde]
version = "1.0.215"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.137"

[dependencies.sha1]
version = "0.10.6"
optional = true

[dependencies.sha2]
version = "0.10.8"
optional = true

[dependencies.sha3]
version = "0.10.8"
optional = true

[dependencies.ts-rs]
version = "10.1.0"
optional = true

[dependencies.ulid]
version = "1.2.0"
features = ["uuid"]
optional = true

[dependencies.utoipa]
version = "^5.0.0-beta.0"
optional = true

[dependencies.uuid]
version = "1.13.1"
features = [
    "js",
    "v4",
]
optional = true

[dependencies.zerocopy]
version = "0.8.18"

[dependencies.zeroize]
version = "1.8.1"

[dev-dependencies.insta]
version = "1.40.0"
features = ["yaml"]

[features]
blake3 = ["dep:blake3"]
default = [
    "sha2",
    "sha3",
    "blake3",
    "uuid",
    "ulid",
    "openapi",
]
graphql = ["dep:async-graphql"]
macro-diagnostics = []
openapi = ["dep:utoipa"]
sha1 = ["dep:sha1"]
sha2 = ["dep:sha2"]
sha3 = ["dep:sha3"]
ts = ["dep:ts-rs"]
ulid = ["dep:ulid"]
uuid = ["dep:uuid"]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.jetstream_wireformat]
version = "8.1.1"

[target.'cfg(target_arch = "wasm32")'.dependencies.jetstream_wireformat]
version = "8.0.4"
features = ["std"]
default-features = false
