# 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 = "ndl"
version = "0.1.7"
authors = ["hi@pgray.dev"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A minimal TUI client for Threads"
readme = "README.md"
license = "MIT"
repository = "https://github.com/pgray/ndl"
resolver = "2"

[[bin]]
name = "ndl"
path = "src/main.rs"

[[test]]
name = "api_tests"
path = "tests/api_tests.rs"

[dependencies.axum]
version = "0.8"

[dependencies.axum-server]
version = "0.7"
features = ["tls-rustls"]

[dependencies.crossterm]
version = "0.29"

[dependencies.dirs]
version = "6"

[dependencies.futures]
version = "0.3"

[dependencies.open]
version = "5"

[dependencies.ratatui]
version = "0.30.0"
features = ["serde"]

[dependencies.ratatui-macros]
version = "0.7.0"

[dependencies.rcgen]
version = "0.13"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls",
]
default-features = false

[dependencies.rustls]
version = "0.23"
features = ["ring"]

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "net",
]

[dependencies.toml]
version = "0.8"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-appender]
version = "0.2"

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

[dependencies.urlencoding]
version = "2"
