[package] name = "nyaa" version = "0.9.1" edition = "2021" rust-version = "1.75" categories = ["command-line-utilities"] keywords = ["tui", "cli", "nyaa", "torrent", "download"] description = "A tui tool for browsing and downloading torrents from nyaa.si" readme = "README.md" repository = "https://github.com/Beastwick18/nyaa/" license = "GPL-3.0-or-later" [profile.release] debug = 0 lto = false strip = "debuginfo" [profile.github] inherits = "release" debug = false strip = "none" lto = true [dependencies] reqwest = { version = "0.11.27", features = ["cookies", "gzip"], default-features = false } tokio = { version = "1.38.0", features = ["macros", "rt-multi-thread"] } urlencoding = "2.1.3" ratatui = { version = "0.27.0", default-features = false, features = ["crossterm"] } textwrap = { version = "0.16.1", default-features = false } crossterm = { version = "0.27.0", default-features = false } unicode-width = "0.1.13" toml = "0.8.14" directories = "5.0.1" serde = { version = "1.0.203", default-features = false } scraper = { version = "0.19.0", default-features = false } rss = { version = "2.0.8", default-features = false } chrono = { version = "0.4.38", features = ["clock"], default-features = false } transmission-rpc = { version = "0.4.2" } open = "5.1.4" arboard = { version = "3.4", default-features = false } dirs = "5.0.1" shellexpand = "3.1.0" indexmap = { version = "2.2.6", default-features = false } human_bytes = { version = "0.4.3", default-features = false } strum = { version = "0.26.2", default-features = false } base64 = { version = "0.22.1", default-features = false, features = ["alloc"] } lexopt = "0.3.0" ratatui-image = { version = "1.0.1", optional = true , default-features = false } image = { version = "0.25.1", optional = true, features = ["png"], default-features = false } color-to-tui = { version = "0.3.0", default-features = false } [lib] name = "nyaa" path = "src/lib.rs" [features] captcha = ["dep:ratatui-image", "dep:image"] [cargo-features-manager.keep] image = ["png"] [target.'cfg(unix)'.dependencies] nix = { version = "0.29.0", features = ["signal"] } [package.metadata.deb] maintainer = "Steven Culwell " copyright = "2024, Steven Culwell " license-file = ["LICENSE", "4"] extended-description = """A nyaa.si tui tool for browsing and downloading torrents""" depends = "$auto" section = "utility" priority = "optional" assets = [ [ "target/release/nyaa", "usr/bin/", "755", ], [ "README.md", "usr/share/doc/nyaa/README", "644", ], ] [package.metadata.generate-rpm] assets = [ { source = "target/release/nyaa", dest = "/usr/bin/nyaa", mode = "755" }, ]