-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
60 lines (50 loc) · 1.49 KB
/
Cargo.toml
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
[package]
name = "actix_web_metrics_mw"
version = "0.3.1"
authors = ["Guillaume Balaine <[email protected]>"]
edition = "2018"
description = "Actix middleware library for metrics"
homepage = "https://github.com/Igosuki/actix-web-metrics-mw"
repository = "https://github.com/Igosuki/actix-web-metrics-mw"
documentation = "https://docs.rs/actix-web-metrics-mw"
readme = "README.md"
exclude = [".gitignore", ".travis.yml", ".cargo/config", "appveyor.yml"]
keywords = ["actix", "actix-web", "statsd", "middleware", "metrics"]
categories = ["network-programming", "asynchronous", "metrics", "web-programming::metrics", "statsd"]
license = "MIT/Apache-2.0"
#[package.metadata.docs.rs]
#features = ["metrics", "statsd"]
# http client
#statsd = ["statsd_metrics"]
[[example]]
name = "simple"
path = "examples/simple.rs"
[badges]
travis-ci = { repository = "Igosuki/actix-web-metrics-mw", branch = "master" }
codecov = { repository = "Igosuki/actix-web-metrics-mw", branch = "master", service = "github" }
[lib]
name = "actix_web_metrics_mw"
path = "src/lib.rs"
[dependencies]
actix-web = { version = "3.0", default-features = false }
futures = "0.3"
actix-service = "1.0"
metrics = "0.12"
metrics-core = "0.5"
metrics-runtime = "0.12"
log = "0.4"
pin-project = "1"
cadence = "0.18"
serde = "1.0"
serde_json = "1.0"
serde_derive = "1.0"
json = "0.12"
[dev-dependencies]
actix-rt = "1.1.0"
futures-util = "0.3"
#[patch.crates-io]
#actix-web-metrics-mw = { path = "." }
[profile.release]
lto = true
opt-level = 3
codegen-units = 1