[package]
name = "cdevents-sdk"
version.workspace = true
authors.workspace = true
edition.workspace = true
license.workspace = true
publish = true
repository.workspace = true
rust-version.workspace = true
description = "A Rust SDK for CDEvents"
readme = "README.md"
[dependencies]
cloudevents-sdk = { version = "0.7", optional = true, default-features = false }
fluent-uri = "0.3"
proptest = { version = "1.4", optional = true }
proptest-derive = { version = "0.5", optional = true }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
thiserror = "2.0"
time = { version = "0.3", features = ["serde-human-readable"] }
[dev-dependencies]
assert-json-diff = "2.0"
boon = "0.6"
glob = "0.3"
proptest = "1"
regex = "1.10"
rstest = "0.24"
[features]
default = ["cloudevents"]
cloudevents = ["dep:cloudevents-sdk"]
testkit = ["dep:proptest", "dep:proptest-derive"]