# 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 = "pikav"
version = "0.15.2"
description = "A library that help you send event to client with topic subscription"
homepage = "https://pikav.timada.co"
documentation = "https://docs.rs/pikav"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/timada-org/pikav"
resolver = "1"

[dependencies.lazy_static]
version = "1.4.0"

[dependencies.nanoid]
version = "0.4.0"
optional = true

[dependencies.regex]
version = "1.7.3"

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

[dependencies.serde_json]
version = "1.0.96"
optional = true

[dependencies.thiserror]
version = "1.0.40"

[dependencies.tokio]
version = "1.27.0"
features = ["full"]
optional = true

[features]
event = []
publisher = [
    "dep:nanoid",
    "dep:tokio",
    "dep:serde_json",
    "event",
]
