-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
40 lines (35 loc) · 1.06 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
[package]
name = "metrics-sqlite"
version = "0.4.1"
authors = ["Jeremy Knope <[email protected]>"]
description = "Library for providing SQLite backend for metrics"
keywords = ["metrics", "sqlite"]
categories = ["development-tools::debugging"]
edition = "2018"
license = "MIT OR Apache-2.0"
readme = "README.md"
documentation = "https://docs.rs/metrics-sqlite"
repository = "https://github.com/AstroHQ/metrics-sqlite/"
[dependencies]
diesel = { version = "2.0.3", features = ["sqlite"] }
diesel_migrations = "2.0.0"
# this seems to let us force bundled sqlite in diesel
libsqlite3-sys = { version = "0.26.0", features = ["bundled"] }
metrics = "0.21.0"
thiserror = "1.0"
log = "0.4"
csv = {version = "1.1.6", optional = true }
serde = { version = "1.0.125", optional = true }
[dev-dependencies]
pretty_env_logger = "0.4"
[features]
default = []
log_dropped_metrics = []
export_csv = ["csv", "serde/derive"]
import_csv = ["csv", "serde/derive"]
[[example]]
name = "export_csv"
required-features = ["export_csv"]
[[example]]
name = "import_csv"
required-features = ["import_csv"]