-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
30 lines (27 loc) · 980 Bytes
/
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
[package]
name = "manticoresearch-rs"
version = "0.1.0"
edition = "2021"
author = ["maksim.ryndin@gmail.com"]
[[bin]]
name = "migrator"
required-features = ["migrate"]
[dependencies]
serde = "^1.0"
serde_derive = "^1.0"
serde_with = "^2.0"
serde_json = "^1.0"
url = "^2.2"
uuid = { version = "^1.0", features = ["serde", "v4"] }
reqwest = {version = "^0.11", default-features = false, features = ["json", "multipart", "rustls-tls"]}
reqwest-middleware = "0.1.1"
# optional
chrono = { version = "0.4", features = ["serde"], optional = true }
clap = { version = "4.4.6", features = ["derive", "cargo"], optional = true }
serde_repr = { version = "0.1", optional = true }
tokio = { version = "^1.0", features = ["fs", "macros"], optional = true }
tracing = { version = "0.1", optional = true }
tracing-subscriber = { version = "0.3", features = ["fmt"], optional = true }
[features]
default = []
migrate = ["chrono", "clap", "serde_repr", "tokio", "tracing", "tracing-subscriber"]