# 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"
name = "manta-shared"
version = "2.0.0-beta.11"
authors = [
    "Manuel Sopena Ballesteros <msopena@cscs.ch>",
    "Miguel Gila <miguel.gila@cscs.ch>",
]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Shared types and pure helpers used by both manta-cli and manta-server."
readme = false
license-file = "LICENSE"
repository = "https://github.com/eth-cscs/manta"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

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

[dependencies.anyhow]
version = "1.0.44"
default-features = false

[dependencies.base64]
version = "0.22"
default-features = false

[dependencies.chrono]
version = "0.4.41"
default-features = false

[dependencies.config]
version = "0.15.19"
features = ["toml"]
default-features = false

[dependencies.dialoguer]
version = "0.12.0"
features = ["password"]
default-features = false

[dependencies.directories]
version = "6.0.0"

[dependencies.futures]
version = "0.3.31"
default-features = false

[dependencies.manta-backend-dispatcher]
version = "0.26.0"

[dependencies.minijinja]
version = "2.4.0"
features = ["custom_syntax"]

[dependencies.rdkafka]
version = "0.39"

[dependencies.reqwest]
version = "0.12.15"
features = [
    "blocking",
    "json",
    "rustls-tls",
    "socks",
    "stream",
]
default-features = false

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

[dependencies.serde_json]
version = "1.0.140"

[dependencies.serde_yaml]
version = "0.9.34"

[dependencies.strum]
version = "0.27.1"
default-features = false

[dependencies.strum_macros]
version = "0.27.1"

[dependencies.thiserror]
version = "2.0.12"

[dependencies.tokio]
version = "1.45"
features = [
    "rt",
    "rt-multi-thread",
    "sync",
    "macros",
    "io-util",
    "io-std",
    "net",
    "time",
]

[dependencies.toml]
version = "0.8.16"

[dependencies.toml_edit]
version = "0.22.27"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dependencies.utoipa]
version = "5.5"
features = [
    "axum_extras",
    "uuid",
]

[dev-dependencies.tempfile]
version = "3"
