# 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 = "uuid32"
version = "1.0.0"
exclude = [
    "d",
    "t",
]
description = "Uuids formatted as Strings in Crockford base32 for easier to read + copy urls, plus db"
readme = "README.md"
keywords = [
    "base32",
    "ids",
    "identifiers",
    "uuid",
]
categories = ["encoding"]
license = "MIT"
repository = "https://github.com/rogusdev/uuid32"

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

[dependencies.bytes]
version = "1.8.0"
optional = true

[dependencies.fast32]
version = "1.0.3"
features = ["uuid"]

[dependencies.postgres-protocol]
version = "0.6.7"
optional = true

[dependencies.postgres-types]
version = "0.2.8"
features = ["derive"]
optional = true

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

[dependencies.tokio-postgres]
version = "0.7.12"
features = ["with-uuid-1"]
optional = true

[dependencies.uuid]
version = "1.11.0"
features = ["serde"]

[features]
default = []
postgres = [
    "dep:tokio-postgres",
    "dep:bytes",
    "dep:postgres-protocol",
    "dep:postgres-types",
]