planetary-api 0.2.0

The Planetary TES API service
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 = "2024"
rust-version = "1.98.0"
name = "planetary-api"
version = "0.2.0"
authors = ["St. Jude Rust Labs"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The Planetary TES API service"
homepage = "https://github.com/stjude-rust-labs/planetary"
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/stjude-rust-labs/planetary"
resolver = "2"

[features]
cli = [
    "dep:cfg-if",
    "dep:clap",
    "dep:clap-verbosity-flag",
    "dep:tracing-log",
    "dep:tracing-subscriber",
]
default = [
    "cli",
    "postgres",
]
postgres = ["planetary-db/postgres"]

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

[[bin]]
name = "planetary-api"
path = "src/main.rs"
required-features = ["cli"]

[dependencies.anyhow]
version = "1.0.99"

[dependencies.axum]
version = "0.8.4"
features = ["macros"]

[dependencies.axum-extra]
version = "0.12.5"
features = [
    "query",
    "typed-header",
]

[dependencies.bon]
version = "3.7.0"

[dependencies.cfg-if]
version = "1.0.1"
optional = true

[dependencies.chrono]
version = "0.4.41"
features = ["serde"]

[dependencies.clap]
version = "4.5.45"
features = [
    "derive",
    "env",
]
optional = true

[dependencies.clap-verbosity-flag]
version = "3.0.3"
features = ["tracing"]
optional = true

[dependencies.glob]
version = "0.3.3"

[dependencies.planetary-db]
version = "0.2.0"

[dependencies.planetary-server]
version = "0.2.0"
features = ["templating"]

[dependencies.reqwest]
version = "0.13.2"
features = ["stream"]

[dependencies.secrecy]
version = "0.10.3"
features = ["serde"]

[dependencies.serde]
version = "1.0.219"
features = [
    "derive",
    "rc",
]

[dependencies.serde_json]
version = "1.0.142"

[dependencies.tes]
version = "0.11.0"
features = ["serde"]

[dependencies.tokio]
version = "1.47.1"
features = ["full"]

[dependencies.tokio-retry2]
version = "0.9.1"

[dependencies.tower]
version = "0.5.2"
features = ["full"]

[dependencies.tower-http]
version = "0.7.0"
features = ["full"]

[dependencies.tracing]
version = "0.1.41"

[dependencies.tracing-log]
version = "0.2.0"
optional = true

[dependencies.tracing-subscriber]
version = "0.3.19"
features = ["env-filter"]
optional = true

[dependencies.url]
version = "2.5.4"
features = ["serde"]

[lints.clippy]
missing_docs_in_private_items = "warn"

[lints.rust]
missing_docs = "warn"
nonstandard_style = "warn"
rust_2018_idioms = "warn"
rust_2021_compatibility = "warn"
rust_2024_compatibility = "warn"

[lints.rustdoc]
broken_intra_doc_links = "warn"