# 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 = "pftui"
version = "0.11.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A beautiful terminal portfolio tracker with real-time prices, charts, and market data"
homepage = "https://github.com/skylarsimoncelli/pftui"
readme = "README.md"
keywords = [
    "portfolio",
    "tui",
    "terminal",
    "finance",
    "stock",
]
categories = ["command-line-utilities"]
license = "MIT"
repository = "https://github.com/skylarsimoncelli/pftui"

[package.metadata.deb]
maintainer = "Skylar Simoncelli <skylar.simoncelli@icloud.com>"
copyright = "2026, Skylar Simoncelli"
depends = "$auto"
section = "utility"
priority = "optional"
assets = [
    [
    "target/release/pftui",
    "usr/bin/",
    "755",
],
    [
    "docs/README.md",
    "usr/share/doc/pftui/README",
    "644",
],
]

[[package.metadata.generate-rpm.assets]]
source = "target/release/pftui"
dest = "/usr/bin/pftui"
mode = "755"

[[package.metadata.generate-rpm.assets]]
source = "docs/README.md"
dest = "/usr/share/doc/pftui/README"
mode = "644"

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

[dependencies.anyhow]
version = "1"

[dependencies.axum]
version = "0.8"

[dependencies.calamine]
version = "0.33"

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

[dependencies.clap]
version = "4"
features = ["derive"]

[dependencies.crossterm]
version = "0.28"

[dependencies.csv]
version = "1"

[dependencies.dirs]
version = "6"

[dependencies.quick-xml]
version = "0.38"
features = ["serialize"]

[dependencies.ratatui]
version = "0.29"

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

[dependencies.rusqlite]
version = "0.32"
features = ["bundled"]

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

[dependencies.rust_decimal_macros]
version = "1"

[dependencies.rustyline]
version = "14"

[dependencies.scraper]
version = "0.22"

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

[dependencies.serde_json]
version = "1"

[dependencies.shlex]
version = "1"

[dependencies.sqlx]
version = "0.8"
features = [
    "runtime-tokio-rustls",
    "postgres",
]

[dependencies.time]
version = "0.3"

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

[dependencies.tokio-stream]
version = "0.1"

[dependencies.tokio-util]
version = "0.7"

[dependencies.toml]
version = "0.8"

[dependencies.tower]
version = "0.5"

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

[dependencies.yahoo_finance_api]
version = "4"
