[package]
name = "stonktop"
version = "0.3.0"
edition = "2021"
rust-version = "1.86"
authors = ["Thomas Vincent <thomasvincent@gmail.com>"]
description = "A top-like terminal UI for monitoring stock and cryptocurrency prices"
documentation = "https://docs.rs/stonktop"
homepage = "https://github.com/thomasvincent/stonktop"
repository = "https://github.com/thomasvincent/stonktop"
license = "MIT"
keywords = ["stocks", "cryptocurrency", "terminal", "tui", "finance"]
categories = ["command-line-utilities", "finance"]
readme = "README.md"
include = [
"src/**/*",
"Cargo.toml",
"LICENSE",
"README.md",
"CHANGELOG.md",
]
[badges]
maintenance = { status = "actively-developed" }
[dependencies]
ratatui = "0.30"
crossterm = "0.29"
tokio = { version = "1.49", features = ["full"] }
futures = "0.3"
reqwest = { version = "0.13", features = ["json"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
clap = { version = "4.5", features = ["derive", "env"] }
anyhow = "1.0"
thiserror = "2.0"
dirs = "6.0"
toml = "0.9"
chrono = { version = "0.4", features = ["serde"] }
humantime = "2.1"
num-format = "0.4"
[dev-dependencies]
wiremock = "0.6"
tempfile = "3"
[profile.release]
lto = true
codegen-units = 1
strip = true
opt-level = 3
[profile.release-with-debug]
inherits = "release"
debug = true
strip = false
[[bin]]
name = "stonktop"
path = "src/main.rs"
[lib]
name = "stonktop"
path = "src/lib.rs"
[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/stonktop-{ target }.tar.gz"
bin-dir = "stonktop-{ target }/{ bin }{ binary-ext }"
pkg-fmt = "tgz"