[package]
edition = "2024"
rust-version = "1.88"
name = "aviso-server"
version = "0.11.1"
authors = [
"Samet Demir <samet.demir@ecmwf.int>",
"James Hawkes <james.hawkes@ecmwf.int>",
]
build = false
exclude = [
".nui/**",
".omo/**",
"AGENTS.md",
"aviso-validators/**",
"aviso-ecpds/**",
"aviso-intro.md",
"docs/book/**",
"nats_config/**",
"opencode.json",
"scripts/.nui/**",
"scripts/.venv/**",
"scripts/**/__pycache__/**",
"scripts/**/*.pyc",
"scripts/nats_config/**",
"tooling/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Notification service for data-driven workflows with live and replay APIs."
homepage = "https://github.com/ecmwf/aviso-server"
documentation = "https://sites.ecmwf.int/docs/aviso-server/main/"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/ecmwf/aviso-server"
[features]
default = []
ecpds = ["dep:aviso-ecpds"]
[lib]
name = "aviso_server"
path = "src/lib.rs"
[[bin]]
name = "aviso_server"
path = "src/main.rs"
[[test]]
name = "api"
path = "tests/api/main.rs"
[[test]]
name = "auth_o_tron_live"
path = "tests/auth_o_tron_live.rs"
[[test]]
name = "homepage"
path = "tests/homepage.rs"
[[test]]
name = "jetstream_admin"
path = "tests/jetstream_admin.rs"
[[test]]
name = "jetstream_reconnect"
path = "tests/jetstream_reconnect.rs"
[[test]]
name = "jetstream_storage"
path = "tests/jetstream_storage.rs"
[[test]]
name = "replay_boundary"
path = "tests/replay_boundary.rs"
[[test]]
name = "replay_boundary_large_batch"
path = "tests/replay_boundary_large_batch.rs"
[[test]]
name = "replay_failure"
path = "tests/replay_failure.rs"
[[test]]
name = "replay_limit"
path = "tests/replay_limit.rs"
[[test]]
name = "replay_limit_defaults"
path = "tests/replay_limit_defaults.rs"
[[test]]
name = "replay_limit_large_batch"
path = "tests/replay_limit_large_batch.rs"
[[test]]
name = "replay_limit_zero"
path = "tests/replay_limit_zero.rs"
[[test]]
name = "retention"
path = "tests/retention.rs"
[[test]]
name = "subscription_boundary"
path = "tests/subscription_boundary.rs"
[[test]]
name = "topic_bases"
path = "tests/topic_bases.rs"
[[bench]]
name = "constraint_matcher_benchmark"
path = "benches/constraint_matcher_benchmark.rs"
harness = false
[dependencies.actix-files]
version = "0.7"
[dependencies.actix-web]
version = "4.15"
features = [
"macros",
"unicode",
]
default-features = false
[dependencies.anyhow]
version = "1.0"
[dependencies.async-nats]
version = "0.50"
[dependencies.async-trait]
version = "0.1"
[dependencies.aviso-ecpds]
version = "=0.11.1"
optional = true
[dependencies.aviso-validators]
version = "=0.11.1"
features = ["openapi"]
[dependencies.chrono]
version = "0.4"
[dependencies.cloudevents-sdk]
version = "0.9"
[dependencies.config]
version = "0.15"
[dependencies.dirs]
version = "6"
[dependencies.futures]
version = "0.3.34"
[dependencies.futures-util]
version = "0.3.34"
[dependencies.geo]
version = "0.33"
[dependencies.geo-types]
version = "0.7"
[dependencies.jsonwebtoken]
version = "11"
features = ["aws_lc_rs"]
default-features = false
[dependencies.opentelemetry]
version = "0.32"
features = ["logs"]
default-features = false
[dependencies.opentelemetry-appender-tracing]
version = "0.32"
default-features = false
[dependencies.opentelemetry-otlp]
version = "0.32"
features = [
"logs",
"grpc-tonic",
"http-proto",
"reqwest-blocking-client",
"internal-logs",
]
default-features = false
[dependencies.opentelemetry_sdk]
version = "0.32"
features = [
"logs",
"internal-logs",
]
default-features = false
[dependencies.prometheus]
version = "0.14"
features = ["process"]
[dependencies.regex]
version = "1.13"
[dependencies.reqwest]
version = "0.13"
features = [
"json",
"rustls",
]
default-features = false
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde-aux]
version = "4.7"
[dependencies.serde_json]
version = "1.0"
[dependencies.thiserror]
version = "2.0"
[dependencies.time]
version = "0.3"
[dependencies.tokio]
version = "1.53"
features = [
"macros",
"rt-multi-thread",
]
[dependencies.tokio-stream]
version = "0.1"
[dependencies.tokio-util]
version = "0.7"
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-actix-web]
version = "0.7"
[dependencies.tracing-log]
version = "0.2"
[dependencies.tracing-subscriber]
version = "0.3"
features = [
"registry",
"env-filter",
"json",
]
[dependencies.utoipa]
version = "5.5"
features = [
"actix_extras",
"chrono",
"uuid",
]
[dependencies.utoipa-swagger-ui]
version = "9.0"
features = ["actix-web"]
[dependencies.uuid]
version = "1.25"
features = ["v4"]
[dev-dependencies.criterion]
version = "0.8"
features = [
"html_reports",
"async_tokio",
]