television/Cargo.toml
Vitalii Lukyanov 65bb26ec84
chore(nix): nix flake shell + rust-toolchain.toml setup (#14)
* nix flake shell + rust-toolchain.toml setup

* migrated to naersk + nixpkgs-mozilla, it works for this workspace setup, updated Cargo.toml by autoformatting with taplo and adding reame to workspace.package to make `nix build` work
2024-11-11 22:37:21 +01:00

129 lines
3.2 KiB
TOML

[package]
name = "television"
version = "0.4.20"
edition = "2021"
description = "The revolution will be televised."
license = "MIT"
authors = ["Alexandre Pasmantier <alex.pasmant@gmail.com>"]
build = "build.rs"
repository = "https://github.com/alexpasmantier/television"
homepage = "https://github.com/alexpasmantier/television"
keywords = ["search", "fuzzy", "preview", "tui", "terminal"]
categories = [
"command-line-utilities",
"command-line-interface",
"concurrency",
"development-tools",
]
include = [
"LICENSE",
"README.md",
"crates/television/**/*.rs",
"build.rs",
".config/config.toml",
]
rust-version = "1.80.0"
[workspace]
resolver = "2"
members = ["crates/television-*"]
[workspace.package]
edition = "2021"
description = "The revolution will be televised."
license = "MIT"
authors = ["Alexandre Pasmantier <alex.pasmant@gmail.com>"]
repository = "https://github.com/alexpasmantier/television"
homepage = "https://github.com/alexpasmantier/television"
keywords = ["search", "fuzzy", "preview", "tui", "terminal"]
categories = [
"command-line-utilities",
"command-line-interface",
"concurrency",
"development-tools",
]
include = ["LICENSE", "README.md", "crates/television/**/*.rs", "build.rs"]
rust-version = "1.80.0"
readme = "README.md"
[[bin]]
bench = false
path = "crates/television/main.rs"
name = "tv"
[dependencies]
# workspace dependencies
television-fuzzy = { path = "crates/television-fuzzy", version = "0.0.3" }
television-derive = { path = "crates/television-derive", version = "0.0.3" }
television-channels = { path = "crates/television-channels", version = "0.0.3" }
television-previewers = { path = "crates/television-previewers", version = "0.0.3" }
television-utils = { path = "crates/television-utils", version = "0.0.3" }
# external dependencies
better-panic = "0.3.0"
clap = { version = "4.4.5", features = [
"derive",
"cargo",
"wrap_help",
"unicode",
"string",
"unstable-styles",
] }
color-eyre = "0.6.3"
config = "0.14.0"
crossterm = { version = "0.28.1", features = ["serde"] }
derive_deref = "1.1.1"
devicons = "0.6.8"
directories = "5.0.1"
futures = "0.3.30"
ignore = "0.4.23"
infer = "0.16.0"
json5 = "0.4.1"
lazy_static = "1.5.0"
libc = "0.2.158"
nucleo = "0.5.0"
nucleo-matcher = "0.3.1"
parking_lot = "0.12.3"
ratatui = { version = "0.29.0", features = ["serde", "macros"] }
regex = "1.10.6"
serde = { version = "1.0.208", features = ["derive"] }
serde_json = "1.0.125"
signal-hook = "0.3.17"
strip-ansi-escapes = "0.2.0"
strum = { version = "0.26.3", features = ["derive"] }
syntect = "5.2.0"
tokio = { version = "1.39.3", features = ["full"] }
toml = "0.8.19"
tracing = "0.1.40"
tracing-error = "0.2.0"
tracing-subscriber = { version = "0.3.18", features = ["env-filter", "serde"] }
unicode-width = "0.2.0"
human-panic = "2.0.2"
pretty_assertions = "1.4.1"
termtree = "0.5.1"
copypasta = "0.10.1"
[build-dependencies]
anyhow = "1.0.86"
vergen-gix = { version = "1.0.0", features = ["build", "cargo", "rustc"] }
[target.'cfg(target_os = "macos")'.dependencies]
crossterm = { version = "0.28.1", features = ["serde", "use-dev-tty"] }
[profile.staging]
inherits = "dev"
opt-level = 3
debug = true
lto = false
[profile.profiling]
inherits = "release"
debug = true
[profile.release]
lto = "thin"