-
-
Notifications
You must be signed in to change notification settings - Fork 23
/
Cargo.toml
55 lines (47 loc) · 1.53 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
[package]
name = "rustorm"
version = "0.19.0"
authors = [ "Jovansonlee Cesar <ivanceras@gmail.com>" ]
license = "MIT"
description = "A complete rewrite of rustorm"
repository = "https://github.com/ivanceras/rustorm"
documentation = "https://docs.rs/rustorm"
readme = "README.md"
keywords = ["orm", "postgresql", "sqlite"]
edition = "2018"
[package.metadata.docs.rs]
features = ["with-postgres"]
[dependencies]
log = "0.4"
postgres = {version = "0.15.1",features = ["with-uuid","with-chrono","with-time","with-geo","with-bit-vec", "with-serde_json"], optional = true}
r2d2_postgres = {version = "0.14.0", optional = true}
postgres-shared = {version = "0.4.0", optional = true}
r2d2 = "0.8"
url = "1.5"
cfg-if = "0.1.2"
uuid = "0.5.1"
chrono = "0.4.0"
rusqlite = {version = "0.21", optional = true}
r2d2_sqlite = {version = "0.14", optional = true}
serde = { version = "1.0.15", features = ["derive"] }
serde_json = "1.0.3"
byteorder = "1.0"
bigdecimal = "0.0.14"
num-bigint = "0.2"
num-traits = "0.2"
num-integer = "0.1"
meval = "0.1.0"
geo = "0.4"
time = "0.1.14"
rustorm_dao = { path = "crates/dao", version = "0.18.0" }
rustorm_codegen = { path = "crates/codegen", version = "0.18.0" }
r2d2_mysql = {version = "16.0.0", optional = true}
thiserror = "1.0.3"
[badges]
travis-ci = { repository = "ivanceras/rustorm" }
[features]
#default = ["with-postgres"]
with-postgres = ["postgres", "r2d2_postgres", "postgres-shared"]
with-sqlite = ["rusqlite","r2d2_sqlite"]
with-mysql = ["r2d2_mysql"]
db-auth = [] # Use the database as authentication server for the user