mirror of
https://github.com/xvxx/phetch
synced 2024-11-05 00:00:58 +00:00
41 lines
1003 B
TOML
41 lines
1003 B
TOML
[package]
|
|
name = "phetch"
|
|
version = "0.9.0-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"
|
|
|
|
[dependencies]
|
|
termion = "1.5.3"
|
|
libc = "0.2.66"
|
|
atty = "0.2.14"
|
|
|
|
tor-stream = { version = "0.2.0", optional = true }
|
|
native-tls = { version = "0.2", optional = true } |