2
0
mirror of https://github.com/xvxx/phetch synced 2024-11-15 00:12:50 +00:00
phetch/Cargo.toml

58 lines
1.2 KiB
TOML

[package]
name = "phetch"
version = "1.0.3-dev"
authors = ["chris west <c@xvxx.io>"]
license = "MIT"
edition = "2018"
description = "quick lil gopher client"
readme = "README.md"
repository = "https://github.com/xvxx/phetch"
keywords = ["gopher", "tui", "terminal", "cli"]
categories = ["command-line-utilities"]
exclude = [
"img/*"
]
[features]
tls = ["native-tls"]
tor = ["tor-stream"]
default = ["tls", "tor"]
[profile.release]
panic = 'abort'
lto = true
codegen-units = 1
opt-level = 'z' # Optimize for size.
# Change v1.4.1 -> v1.4.2 in README on `cargo release`
[package.metadata.release]
pre-release-replacements = [
{file="README.md", search="phetch-v\\d+\\.\\d+\\.\\d+-", replace="{{crate_name}}-v{{version}}-"},
{file="README.md", search="/v\\d+\\.\\d+\\.\\d+/", replace="/v{{version}}/"},
]
dev-version-ext = "dev"
[dev-dependencies]
criterion = "0.3.1"
[[bench]]
name = "parse_gopher"
harness = false
[[bench]]
name = "render_menu"
harness = false
[[bench]]
name = "render_text"
harness = false
[dependencies]
termion = "1.5.5"
libc = "0.2.66"
atty = "0.2.14"
lazy_static = "1.4"
tor-stream = { version = "0.2.0", optional = true }
native-tls = { version = "0.2", optional = true }