svid 0.2.0

Stateless Verifiable ID — native + WASM 64-bit ID generator
Documentation
# 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 = "svid"
version = "0.2.0"
authors = ["lavajnv@gmail.com (Lava Bokam)"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Stateless Verifiable ID — native + WASM 64-bit ID generator"
homepage = "https://github.com/storyvis/svid"
documentation = "https://docs.rs/svid"
readme = "README.md"
keywords = [
    "id",
    "uuid",
    "snowflake",
    "wasm",
    "identifier",
]
categories = [
    "data-structures",
    "wasm",
    "encoding",
]
license = "Apache-2.0"
repository = "https://github.com/storyvis/svid"

[package.metadata.wasm-pack.profile.release]
wasm-opt = [
    "-Oz",
    "--enable-bulk-memory",
    "--enable-nontrapping-float-to-int",
    "--enable-sign-ext",
    "--enable-mutable-globals",
    "--enable-reference-types",
    "--enable-multivalue",
]

[features]
autosurgeon = ["dep:autosurgeon"]
default = []
diesel = ["dep:diesel"]
serde = ["dep:serde"]
ts = ["dep:ts-rs"]

[lib]
name = "svid"
crate-type = [
    "cdylib",
    "rlib",
]
path = "src/lib.rs"

[[bin]]
name = "svid"
path = "src/main.rs"

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

[dependencies.autosurgeon]
version = "0.9"
optional = true

[dependencies.bs58]
version = "0.5"

[dependencies.diesel]
version = "2"
features = ["postgres"]
optional = true

[dependencies.rand]
version = "0.8"

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

[dependencies.svid-macros]
version = "0.2.0"

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

[dev-dependencies.automerge]
version = "0.7"

[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
version = "0.2"
features = ["js"]

[target.'cfg(target_arch = "wasm32")'.dependencies.js-sys]
version = "0.3"

[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
version = "0.2"

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
panic = "abort"
strip = true