a3s-event 0.3.0

Pluggable event subscription, dispatch, and persistence for the A3S ecosystem
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 = "a3s-event"
version = "0.3.0"
authors = ["A3S Lab"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pluggable event subscription, dispatch, and persistence for the A3S ecosystem"
documentation = "https://docs.rs/a3s-event"
readme = "README.md"
keywords = [
    "event",
    "pubsub",
    "provider",
    "persistence",
    "async",
]
categories = [
    "asynchronous",
    "network-programming",
]
license = "MIT"
repository = "https://github.com/A3S-Lab/Event"

[features]
cloudevents = ["dep:chrono"]
default = [
    "nats",
    "encryption",
    "cloudevents",
    "routing",
]
encryption = [
    "dep:aes-gcm",
    "dep:base64",
]
full = [
    "nats",
    "encryption",
    "cloudevents",
    "routing",
]
nats = [
    "dep:async-nats",
    "dep:time",
    "dep:futures-util",
]
routing = []

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

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

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

[[bench]]
name = "publish"
path = "benches/publish.rs"
harness = false

[dependencies.aes-gcm]
version = "0.10"
optional = true

[dependencies.async-nats]
version = "0.38"
optional = true

[dependencies.async-trait]
version = "0.1"

[dependencies.base64]
version = "0.22"
optional = true

[dependencies.chrono]
version = "0.4"
features = ["serde"]
optional = true

[dependencies.futures-util]
version = "0.3"
optional = true

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "1"

[dependencies.time]
version = "0.3"
optional = true

[dependencies.tokio]
version = "1"
features = [
    "sync",
    "time",
    "rt",
    "macros",
]

[dependencies.tracing]
version = "0.1"

[dependencies.uuid]
version = "1.6"
features = ["v4"]

[dev-dependencies.criterion]
version = "0.5"
features = ["async_tokio"]

[dev-dependencies.tokio]
version = "1"
features = ["full"]

[dev-dependencies.tokio-test]
version = "0.4"

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