From f77729e13a26dac9d1085cf07a1eb182b1a815e0 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 25 Aug 2020 19:24:25 -0700 Subject: use log/env_logger for logging --- Cargo.toml | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index d0d860e..ca74ea9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,8 +1,15 @@ [package] name = "es-public-proxy" version = "0.1.0" -authors = ["Bryan Newbold "] edition = "2018" +authors = ["Bryan Newbold "] +license = "AGPL-3+" +#license-file = "LICENSE.AGPLv3.txt" +description = "simple proxy for exposing a read-only subset of elasticsearch API to the public internet" +readme = "README.md" +repository = "https://gitlab.com/bnewbold/es-public-proxy" +keywords = ["elasticsearch", "proxy"] +categories = ["command-line-utilities"] [dependencies] hyper = "0.13" @@ -12,3 +19,19 @@ serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" serde_urlencoded = "0.5" toml = "0.4" +log = "0.4" +env_logger = "0.7" + +[profile.release] +lto = true +codegen-units = 1 + +[package.metadata.deb] +maintainer = "Bryan Newbold " +depends = "$auto" +section = "utility" +priority = "optional" +assets = [ + ["target/release/es-public-proxy", "usr/bin/", "755"], + ["es-public-proxy.1", "usr/share/man/man1/", "644"], +] -- cgit v1.2.3