# 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"
rust-version = "1.95"
name = "sloc-web"
version = "1.4.0"
authors = ["Nima Shafie"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Source line analysis tool with CLI, web UI, HTML/PDF reports, and CI/CD integration"
homepage = "https://github.com/oxide-sloc/oxide-sloc"
documentation = "https://docs.rs/oxide-sloc"
readme = "README.md"
keywords = [
    "sloc",
    "code-analysis",
    "cli",
    "static-analysis",
    "metrics",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "AGPL-3.0-or-later"
repository = "https://github.com/oxide-sloc/oxide-sloc"

[features]
native-dialog = ["dep:rfd"]

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

[dependencies.anyhow]
version = "1"

[dependencies.askama]
version = "0.16"

[dependencies.axum]
version = "0.8"
features = [
    "form",
    "json",
    "macros",
]

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

[dependencies.hyper-util]
version = "0.1"
features = [
    "server-auto",
    "tokio",
]

[dependencies.rfd]
version = "0.17"
optional = true

[dependencies.rustls]
version = "0.23"
features = ["ring"]
default-features = false

[dependencies.rustls-pemfile]
version = "2"

[dependencies.secrecy]
version = "0.8"
features = ["alloc"]

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

[dependencies.serde_json]
version = "1"

[dependencies.sloc-config]
version = "1.4.0"

[dependencies.sloc-core]
version = "1.4.0"

[dependencies.sloc-git]
version = "1.4.0"

[dependencies.sloc-report]
version = "1.4.0"

[dependencies.subtle]
version = "2"

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

[dependencies.tokio-rustls]
version = "0.26"
features = ["ring"]
default-features = false

[dependencies.tower]
version = "0.5"
features = ["util"]

[dependencies.tower-http]
version = "0.6"
features = ["cors"]

[dependencies.tracing]
version = "0.1"

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