-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
51 lines (47 loc) · 1.33 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
[package]
name = "message_db"
version = "0.1.0"
authors = ["Ari Seyhun <[email protected]>"]
edition = "2021"
description = "Microservice native message and event store for Postgres"
repository = "https://github.com/thalo-rs/message-db"
license = "MIT OR Apache-2.0"
keywords = ["event-sourcing", "postgres", "eventide"]
categories = ["database"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[dependencies]
chrono = { version = "0.4", features = ["serde"] }
heck = "0.4"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
thiserror = "1.0"
uuid = { version = "1.2.2", features = ["serde", "v4"] }
either = { version = "1.8", optional = true }
futures = { version = "0.3", optional = true }
pin-project = { version = "1.0", optional = true }
sqlx = { version = "0.6", features = [
"chrono",
"json",
"macros",
"postgres",
"runtime-tokio-rustls",
"uuid",
], optional = true }
tokio = { version = "1.22", features = ["time"], optional = true }
tokio-util = { version = "0.7", optional = true }
tracing = { version = "0.1", optional = true }
typed-builder = { version = "0.11.0", optional = true }
[features]
default = ["database"]
database = [
"dep:either",
"dep:futures",
"dep:pin-project",
"dep:sqlx",
"dep:tokio",
"dep:tokio-util",
"dep:tracing",
"dep:typed-builder",
]