Files
2026-08-01 16:11:49 +03:00

98 lines
1.9 KiB
TOML

# 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 = "2018"
name = "ulid"
version = "1.2.1"
authors = ["dylanhart <dylan96hart@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "a Universally Unique Lexicographically Sortable Identifier implementation"
readme = "README.md"
keywords = [
"ulid",
"uuid",
"sortable",
"identifier",
]
license = "MIT"
repository = "https://github.com/dylanhart/ulid-rs"
[package.metadata.docs.rs]
all-features = true
[features]
default = ["std"]
postgres = [
"dep:postgres-types",
"dep:bytes",
]
rkyv = ["dep:rkyv"]
std = ["rand"]
[lib]
name = "ulid"
path = "src/lib.rs"
[[test]]
name = "wasm32-datetime"
path = "tests/wasm32-datetime.rs"
[[bench]]
name = "bench"
path = "benches/bench.rs"
harness = false
[dependencies.bytes]
version = "1.4.0"
optional = true
[dependencies.postgres-types]
version = "0.2.6"
optional = true
[dependencies.rand]
version = "0.9"
optional = true
[dependencies.rkyv]
version = "0.8.10"
optional = true
[dependencies.serde]
version = "1.0"
optional = true
[dependencies.uuid]
version = "1.1"
optional = true
[dev-dependencies.bencher]
version = "0.1"
[dev-dependencies.serde_derive]
version = "1.0"
[target.wasm32-unknown-unknown.dependencies.web-time]
version = "1"
[target.wasm32-unknown-unknown.dev-dependencies.getrandom]
version = "0.3.1"
features = ["wasm_js"]
[target.wasm32-unknown-unknown.dev-dependencies.wasm-bindgen-test]
version = "0.3"