-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCargo.toml
55 lines (46 loc) · 1.24 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
[package]
name = "rorm-sql"
version = "0.8.3"
edition = "2021"
keywords = ["database", "abstraction-layer", "sqlite", "postgres", "mysql"]
categories = ["database"]
authors = ["myOmikron <[email protected]>"]
repository = "https://github.com/rorm-orm/rorm-sql"
homepage = "https://rorm.rs"
documentation = "https://docs.rorm.rs"
license = "MIT"
description = "The sql abstraction layer."
[dependencies]
# Date & time library
chrono = { version = ">=0.4.20", default-features = false }
time = { version = "~0.3" }
# Serialization library
serde = { version = "~1" }
serde_json = { version = "~1" }
# Uuid support
uuid = { version = "~1" }
# SQlite bindings for printf
libsqlite3-sys = { version = "~0.30", optional = true }
# Bitvec support
bit-vec = { version = "~0.6", optional = true }
# Ip network
ipnetwork = { version = "~0.20", optional = true }
# Mac Address support
mac_address = { version = "~1", optional = true }
rorm-declaration = { version = "0.4.0", path = "../rorm-declaration" }
[build-dependencies]
rustc_version = "0.4.0"
[package.metadata.docs.rs]
all-features = true
[features]
sqlite = [
"dep:libsqlite3-sys",
]
mysql = []
postgres = []
postgres-only = [
"postgres",
"dep:bit-vec",
"dep:ipnetwork",
"dep:mac_address",
]