-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
62 lines (52 loc) · 1.65 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
61
62
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies
#
# If you believe there's an error in this file please file an
# issue against the rust-lang/cargo repository. If you're
# editing this file be aware that the upstream Cargo.toml
# will likely look very different (and much more reasonable)
[package]
edition = "2018"
name = "esrs"
version = "0.3.1"
authors = ["Simone Cottini <[email protected]>"]
description = "A Prima.it-opinionated library to achieve cqrs/es"
readme = "README.md"
keywords = ["architecture", "ddd", "event-sourcing", "cqrs", "es"]
categories = ["rust-patterns", "web-programming", "asynchronous", "data-structures"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/primait/event_sourcing.rs"
[[example]]
name = "postgres-payments"
path = "examples/postgres_payments/src/main.rs"
[[example]]
name = "sqlite-payments"
path = "examples/sqlite_payments/src/main.rs"
[dependencies.async-trait]
version = "0.1.50"
[dependencies.chrono]
version = "^0.4"
features = ["serde"]
[dependencies.futures]
version = "0.3.13"
[dependencies.serde]
version = "^1.0"
features = ["derive"]
[dependencies.serde_json]
version = "^1.0"
[dependencies.sqlx]
version = "0.4"
features = ["runtime-tokio-native-tls", "uuid", "json", "chrono"]
[dependencies.uuid]
version = "^0.8.1"
features = ["serde", "v4"]
[dev-dependencies.tokio]
version = "0.2"
features = ["full"]
[features]
postgres = ["sqlx/postgres"]
sqlite = ["sqlx/sqlite"]