[package]
edition = "2024"
rust-version = "1.85"
name = "aviso-cli"
version = "2.0.0"
authors = [
"Samet Demir <samet.demir@ecmwf.int>",
"James Hawkes <james.hawkes@ecmwf.int>",
"Tiago Quintino <tiago.quintino@ecmwf.int>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Command-line client for aviso-server."
homepage = "https://github.com/ecmwf/aviso-client"
documentation = "https://github.com/ecmwf/aviso-client"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/ecmwf/aviso-client"
[lib]
name = "aviso_cli"
path = "src/lib.rs"
[[bin]]
name = "aviso"
path = "src/main.rs"
[[test]]
name = "admin"
path = "tests/admin.rs"
[[test]]
name = "completions"
path = "tests/completions.rs"
[[test]]
name = "config_dump"
path = "tests/config_dump.rs"
[[test]]
name = "error_ux"
path = "tests/error_ux.rs"
[[test]]
name = "global_flags"
path = "tests/global_flags.rs"
[[test]]
name = "help_and_version"
path = "tests/help_and_version.rs"
[[test]]
name = "listen"
path = "tests/listen.rs"
[[test]]
name = "notify"
path = "tests/notify.rs"
[[test]]
name = "replay"
path = "tests/replay.rs"
[[test]]
name = "schema"
path = "tests/schema.rs"
[dependencies.anyhow]
version = "1.0"
[dependencies.aviso]
version = "=2.0.0"
[dependencies.chrono]
version = "0.4"
features = ["std"]
default-features = false
[dependencies.clap]
version = "4.5"
features = [
"std",
"derive",
"help",
"usage",
"error-context",
]
default-features = false
[dependencies.clap_complete]
version = "4.5"
default-features = false
[dependencies.directories]
version = "6.0"
[dependencies.humantime]
version = "2"
[dependencies.humantime-serde]
version = "1.1"
[dependencies.reqwest]
version = "0.12"
features = [
"json",
"rustls-tls",
"charset",
"http2",
]
default-features = false
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.serde_norway]
version = "0.9"
[dependencies.tokio]
version = "1.45"
features = [
"fs",
"io-util",
"macros",
"process",
"rt-multi-thread",
"signal",
"sync",
"time",
]
default-features = false
[dependencies.tracing]
version = "0.1"
features = [
"std",
"attributes",
"log",
]
default-features = false
[dependencies.tracing-subscriber]
version = "0.3"
features = [
"fmt",
"json",
"env-filter",
"ansi",
]
default-features = false
[dev-dependencies.assert_cmd]
version = "2.0"
[dev-dependencies.predicates]
version = "3.1"
[dev-dependencies.tempfile]
version = "3.10"
[dev-dependencies.wiremock]
version = "0.6"
[lints.clippy]
dbg_macro = "deny"
expect_used = "deny"
panic = "deny"
print_stderr = "deny"
print_stdout = "deny"
todo = "deny"
unimplemented = "deny"
unwrap_used = "deny"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
unsafe_op_in_unsafe_fn = "deny"