planetary-db 0.2.0

Database support for Planetary
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-db"
version = "0.2.0"
authors = ["St. Jude Rust Labs"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Database support for Planetary"
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]
default = ["postgres"]
postgres = [
    "dep:diesel",
    "dep:diesel-async",
    "dep:diesel-derive-enum",
    "dep:diesel_migrations",
]

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

[dependencies.anyhow]
version = "1.0.99"

[dependencies.async-trait]
version = "0.1.88"

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

[dependencies.cloud-copy]
version = "0.10.0"
features = ["cli"]

[dependencies.diesel]
version = "2.2.12"
features = [
    "postgres",
    "pq-src",
    "chrono",
]
optional = true

[dependencies.diesel-async]
version = "0.9.2"
features = [
    "postgres",
    "deadpool",
]
optional = true

[dependencies.diesel-derive-enum]
version = "3.0.0-beta.1"
features = ["postgres"]
optional = true

[dependencies.diesel_migrations]
version = "2.2.0"
optional = true

[dependencies.futures]
version = "0.3.31"

[dependencies.rand]
version = "0.10.0"

[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.thiserror]
version = "2.0.14"

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

[dependencies.tracing]
version = "0.1.41"

[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"