-
Notifications
You must be signed in to change notification settings - Fork 7
/
Cargo.toml
53 lines (47 loc) · 1.51 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
[package]
name = "akita"
version = "0.4.3"
authors = ["mrpan <[email protected]>"]
edition = "2018"
description = "Akita - Mini orm for rust."
readme = "README.md"
keywords = ["akita", "orm", "mysql", "sqlite"]
categories = ["data-structures", "database-implementations"]
homepage = "https://github.com/wslongchen/akita"
repository = "https://github.com/wslongchen/akita"
documentation = "https://docs.rs/akita"
license = "MIT"
[dependencies]
akita_derive = {version = "0.4.0", path = "./akita_derive"}
akita_core = {version = "0.4.0", path = "./akita_core"}
mysql = {version = "20.1.0", optional = true}
rusqlite = {version = "0.21.0", optional = true}
bigdecimal = "0.3.0"
r2d2 = {version = "0.8.9"}
chrono = { version = "0.4", features = ["serde"]}
uuid = {version = "0.8.2", features = ["serde", "v4"]}
base64 = "0.9"
once_cell = "1.8"
log = {version = "0.4", optional = true}
tracing = { version = "0.1.35", optional = true }
twox-hash = "1"
url = "2.2.2"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
[dev-dependencies]
akita_derive = { version = "0.4.0", path = "./akita_derive" }
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
features = ["akita-mysql"]
### FEATURES #################################################################
[features]
# default = []
akita-tracing = ["tracing"]
akita-logging = ["log"]
# Provide mysql pool with r2d2.
akita-mysql = ["mysql"]
# Provide sqlite pool with r2d2.
akita-sqlite = ["rusqlite"]
# Database with authentication
akita-auth = []
akita-fuse = []