[package]
edition = "2024"
name = "eventsourcingdb"
version = "2.0.4"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A client library for the EventsourcingDB by the native web."
readme = "README.md"
keywords = [
"esdb",
"events",
"event-sourcing",
"event-store",
"cqrs",
]
categories = ["database"]
license = "MIT"
repository = "https://github.com/thenativeweb/eventsourcingdb-client-rust"
[package.metadata.docs.rs]
features = ["testcontainer"]
[features]
cloudevents = ["dep:cloudevents-sdk"]
default = []
polars = ["dep:polars"]
testcontainer = [
"dep:testcontainers",
"dep:rand",
"ed25519-dalek/rand_core",
]
[lib]
name = "eventsourcingdb"
path = "src/lib.rs"
[[example]]
name = "event_types"
path = "examples/event_types.rs"
[[example]]
name = "listing_subjects"
path = "examples/listing_subjects.rs"
[[example]]
name = "observing_events"
path = "examples/observing_events.rs"
[[example]]
name = "ping"
path = "examples/ping.rs"
[[example]]
name = "reading_events"
path = "examples/reading_events.rs"
[[example]]
name = "registering_event_schema"
path = "examples/registering_event_schema.rs"
[[example]]
name = "running_eventql"
path = "examples/running_eventql.rs"
[[example]]
name = "verify_api_token"
path = "examples/verify_api_token.rs"
[[example]]
name = "write_events"
path = "examples/write_events.rs"
[[test]]
name = "essentials"
path = "tests/essentials.rs"
[[test]]
name = "metadata_and_discovery"
path = "tests/metadata_and_discovery.rs"
[[test]]
name = "observe_events"
path = "tests/observe_events.rs"
[[test]]
name = "polars"
path = "tests/polars.rs"
[[test]]
name = "read_events"
path = "tests/read_events.rs"
[[test]]
name = "run_eventql_query"
path = "tests/run_eventql_query.rs"
[[test]]
name = "testcontainer"
path = "tests/testcontainer.rs"
[[test]]
name = "write_events"
path = "tests/write_events.rs"
[dependencies.chrono]
version = "0.4.45"
features = ["serde"]
[dependencies.cloudevents-sdk]
version = "0.9.0"
features = ["reqwest"]
optional = true
[dependencies.ed25519-dalek]
version = "3.0.0"
features = [
"rand_core",
"pkcs8",
"pem",
]
[dependencies.futures]
version = "0.3.32"
[dependencies.futures-util]
version = "0.3.31"
[dependencies.hex]
version = "0.4.3"
[dependencies.jsonschema]
version = "0.33.0"
[dependencies.polars]
version = "0.54"
features = [
"lazy",
"dtype-datetime",
]
optional = true
default-features = false
[dependencies.rand]
version = "0.10"
optional = true
[dependencies.reqwest]
version = "0.13.4"
features = [
"json",
"stream",
]
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.150"
features = ["raw_value"]
[dependencies.sha2]
version = "0.11.0"
[dependencies.testcontainers]
version = "0.27.3"
features = ["http_wait"]
optional = true
[dependencies.thiserror]
version = "2.0.18"
[dependencies.tokio]
version = "1.52.3"
features = ["io-util"]
[dependencies.tokio-stream]
version = "0.1.18"
features = ["io-util"]
[dependencies.tokio-util]
version = "0.7.18"
features = ["io"]
[dependencies.typed-builder]
version = "0.23.2"
[dependencies.url]
version = "2.5.4"
[dev-dependencies.testcontainers]
version = "0.27.3"
features = ["http_wait"]
[dev-dependencies.tokio]
version = "1.52.3"
features = ["full"]
[dev-dependencies.tokio-test]
version = "0.4.5"