summaryrefslogtreecommitdiffstats
path: root/Cargo.toml
blob: 97af04a72be09f0a965be978788aa78ad3eb634f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
[package]
name = "es-public-proxy"
version = "0.1.0"
edition = "2018"
authors = ["Bryan Newbold <bnewbold@robocracy.org>"]
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"
http = "*"
tokio = { version = "0.2", features = ["rt-threaded", "tcp", "signal", "macros"] }
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 <bnewbold@robocracy.org>"
depends = "$auto"
section = "utility"
priority = "optional"
maintainer-scripts = "extra/"
systemd-units = { enable = false }
extended-description = "TODO: longer description of package should go here"
assets = [
    ["target/release/es-public-proxy", "usr/bin/", "755"],
    ["extra/es-public-proxy.1", "usr/share/man/man1/", "644"],
    ["extra/example_config.toml", "usr/share/doc/es-public-proxy/", "644"],
    ["extra/example_config.toml", "etc/es-public-proxy.toml", "644"],
]
conf-files = ["etc/es-public-proxy.toml"]