# 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 = "synd-term"
version = "0.1.1"
authors = ["ymgyt"]
description = "terminal feed viewer"
readme = "README.md"
keywords = [
    "feed",
    "rss",
    "atom",
    "tui",
]
categories = ["command-line-utilities"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ymgyt/syndicationd"

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

[dependencies.anyhow]
version = "1"

[dependencies.chrono]
version = "0.4.31"

[dependencies.clap]
version = "4.5"
features = [
    "derive",
    "string",
    "color",
    "suggestions",
    "wrap_help",
]

[dependencies.crossterm]
version = "0.27.0"
features = ["event-stream"]

[dependencies.directories]
version = "5.0.1"

[dependencies.edit]
version = "0.1.5"

[dependencies.futures-util]
version = "0.3.30"

[dependencies.graphql_client]
version = "0.13.0"
default-features = false

[dependencies.html2text]
version = "0.12"

[dependencies.open]
version = "5.0.1"

[dependencies.ratatui]
version = "0.26.0"

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

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

[dependencies.serde_json]
version = "1.0.111"

[dependencies.synd-auth]
version = "0.1.2"

[dependencies.synd-feed]
version = "0.1.1"

[dependencies.synd-o11y]
version = "0.1.1"

[dependencies.tokio]
version = "1.35"
features = [
    "macros",
    "rt-multi-thread",
    "sync",
    "time",
]

[dependencies.tracing]
version = "0.1.40"

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

[dependencies.tracing-subscriber]
version = "0.3.18"
features = [
    "smallvec",
    "fmt",
    "ansi",
    "std",
    "env-filter",
    "time",
]
default-features = false

[dependencies.unicode-segmentation]
version = "1.10.1"

[dependencies.url]
version = "2.5.0"

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

[dev-dependencies.kvsd]
version = "0.1.2"
default-features = false

[dev-dependencies.serial_test]
version = "3.0.0"
features = [
    "async",
    "file_locks",
]
default_features = false

[dev-dependencies.tempdir]
version = "0.3.7"

[dev-dependencies.tokio-stream]
version = "0.1.14"

[features]
integration = []

[lints.clippy]
cargo_common_metadata = "warn"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "allow"
negative_feature_names = "warn"
pedantic = "warn"
redundant_feature_names = "warn"
wildcard_dependencies = "warn"

[lints.rust]
unsafe_code = "forbid"
