# 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 = "2021"
name = "dev_api"
version = "0.1.15"
description = "Web API wrappers on top of actix-web"
homepage = "https://github.com/deversify/dev_api"
readme = "README.md"
license = "MIT"
repository = "https://github.com/deversify/dev_api"
resolver = "2"

[dependencies.actix-cors]
version = "0.6.1"

[dependencies.actix-web]
version = "4"

[dependencies.actix-web-httpauth]
version = "0.6.0"

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

[dependencies.derive_more]
version = "0.99.17"

[dependencies.futures]
version = "0.3.21"

[dependencies.jsonwebtoken]
version = "8"

[dependencies.log]
version = "0.4"

[dependencies.opentelemetry]
version = "0.17"
features = ["rt-tokio-current-thread"]

[dependencies.opentelemetry-otlp]
version = "0.10.0"
features = [
    "tonic",
    "tls",
    "tls-roots",
]

[dependencies.rand]
version = "0.8.5"

[dependencies.rust-argon2]
version = "1.0.0"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sqlx]
version = "0.5.13"
features = [
    "runtime-actix-native-tls",
    "mysql",
    "postgres",
    "chrono",
    "uuid",
]

[dependencies.tonic]
version = "0.6"

[dependencies.tracing]
version = "0.1"
features = ["log"]

[dependencies.tracing-actix-web]
version = "0.5.1"
features = ["opentelemetry_0_17"]

[dependencies.tracing-bunyan-formatter]
version = "0.3"

[dependencies.tracing-log]
version = "0.1"

[dependencies.tracing-opentelemetry]
version = "0.17"

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

[dependencies.url]
version = "2.2.2"

[dependencies.uuid]
version = "0.8.2"
features = [
    "serde",
    "v4",
]
