2019-06-06 17:19:29 +00:00
|
|
|
[package]
|
|
|
|
name = "phetch"
|
2020-05-15 00:08:15 +00:00
|
|
|
version = "1.0.3-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"]
|
2020-05-23 19:38:15 +00:00
|
|
|
media = []
|
2020-01-28 02:57:17 +00:00
|
|
|
default = ["tls", "tor"]
|
2020-01-06 10:10:14 +00:00
|
|
|
|
2019-12-16 19:34:49 +00:00
|
|
|
[profile.release]
|
2020-02-25 20:43:15 +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]
|
2020-02-05 22:07:02 +00:00
|
|
|
termion = "1.5.5"
|
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-05-13 20:23:14 +00:00
|
|
|
lazy_static = "1.4"
|
2020-01-14 18:13:19 +00:00
|
|
|
|
|
|
|
tor-stream = { version = "0.2.0", optional = true }
|
2020-02-01 23:52:53 +00:00
|
|
|
native-tls = { version = "0.2", optional = true }
|