2019-06-06 17:19:29 +00:00
|
|
|
[package]
|
|
|
|
name = "phetch"
|
2020-01-12 00:52:34 +00:00
|
|
|
version = "0.9.0-dev"
|
2020-01-11 20:55:33 +00:00
|
|
|
authors = ["chris west <c@xvxx.io>"]
|
2019-12-24 08:35:51 +00:00
|
|
|
license = "MIT"
|
2019-12-24 21:57:07 +00:00
|
|
|
edition = "2018"
|
2019-12-31 09:01:59 +00:00
|
|
|
description = "quick lil gopher client"
|
2019-12-24 09:00:03 +00:00
|
|
|
readme = "README.md"
|
2020-01-11 20:55:33 +00:00
|
|
|
repository = "https://github.com/xvxx/phetch"
|
2019-12-31 09:01:59 +00:00
|
|
|
keywords = ["gopher", "tui", "terminal", "cli"]
|
|
|
|
categories = ["command-line-utilities"]
|
2019-12-24 08:37:58 +00:00
|
|
|
exclude = [
|
|
|
|
"img/*"
|
|
|
|
]
|
2019-06-06 17:19:29 +00:00
|
|
|
|
2020-01-06 10:10:14 +00:00
|
|
|
[features]
|
2020-01-28 02:57:17 +00:00
|
|
|
tls = ["native-tls"]
|
|
|
|
tor = ["tor-stream"]
|
|
|
|
default = ["tls", "tor"]
|
2020-01-06 10:10:14 +00:00
|
|
|
|
2019-12-16 19:34:49 +00:00
|
|
|
[profile.release]
|
2020-01-14 18:13:19 +00:00
|
|
|
panic = 'abort'
|
|
|
|
lto = true
|
2019-12-16 19:34:49 +00:00
|
|
|
codegen-units = 1
|
2019-12-23 00:58:06 +00:00
|
|
|
opt-level = 'z' # Optimize for size.
|
2019-12-16 19:34:49 +00:00
|
|
|
|
2020-01-14 18:13:19 +00:00
|
|
|
# Change v1.4.1 -> v1.4.2 in README on `cargo release`
|
2020-01-01 22:06:06 +00:00
|
|
|
[package.metadata.release]
|
|
|
|
pre-release-replacements = [
|
2020-01-06 10:14:11 +00:00
|
|
|
{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}}/"},
|
2020-01-01 22:06:06 +00:00
|
|
|
]
|
|
|
|
dev-version-ext = "dev"
|
|
|
|
|
2020-01-28 06:39:02 +00:00
|
|
|
[dev-dependencies]
|
2020-01-28 07:14:11 +00:00
|
|
|
criterion = "0.3.1"
|
2020-01-28 06:39:02 +00:00
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
name = "parse_gopher"
|
|
|
|
harness = false
|
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
name = "render_menu"
|
|
|
|
harness = false
|
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
name = "render_text"
|
|
|
|
harness = false
|
|
|
|
|
2019-06-06 17:19:29 +00:00
|
|
|
[dependencies]
|
2019-12-24 08:18:08 +00:00
|
|
|
termion = "1.5.3"
|
2020-01-09 02:48:13 +00:00
|
|
|
libc = "0.2.66"
|
2020-01-12 00:38:29 +00:00
|
|
|
atty = "0.2.14"
|
2020-01-14 18:13:19 +00:00
|
|
|
|
|
|
|
tor-stream = { version = "0.2.0", optional = true }
|
|
|
|
native-tls = { version = "0.2", optional = true }
|