-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
102 lines (77 loc) · 2.82 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
[package]
name = "sqlx-rxqlite"
#documentation = "https://docs.rs/sqlx-rxqlite"
description = "rqlite driver implementation for SQLx. intended for use with sqlx; see the `sqlx` crate for details."
homepage = "https://github.com/HaHa421/sqlx-rxqlite"
version = "0.1.18"
edition = "2021"
license = "MIT OR Apache-2.0"
authors = [ "ha421 <hha835773@gmail.com>" ]
keywords = ["sqlx", "rqlite"]
categories = ["database"]
[features]
default = [ "chrono" ] # you need to explicitly specify the chrono feature when compiling #simple_chrono example
#any = ["sqlx-core/any"]
#json = ["sqlx-core/json", "serde"]
#offline = ["sqlx-core/offline", "serde"]
#migrate = ["sqlx-core/migrate"]
chrono = ["dep:chrono"]
#regexp = ["dep:regex"]
[dependencies]
anyhow = "1.0"
futures-core = { version = "0.3.19", default-features = false }
futures-channel = { version = "0.3.19", default-features = false, features = ["sink", "alloc", "std"] }
# used by the SQLite worker thread to block on the async mutex that locks the database handle
futures-executor = { version = "0.3.19" }
futures-intrusive = "0.5.0"
futures-util = { version = "0.3.19", default-features = false, features = ["alloc", "sink"] }
chrono = { version = "0.4" , optional = true }
#time = { workspace = true, optional = true }
#uuid = { workspace = true, optional = true }
url = { version = "2.2.2", default-features = false }
percent-encoding = "2.1.0"
flume = { version = "0.11.0", default-features = false, features = ["async"] }
atoi = "2.0"
log = "0.4.17"
tracing = { version = "0.1.37", features = ["log"] }
serde = { version = "1.0.145", features = ["derive"], optional = true }
regex = { version = "1.5.5", optional = true }
urlencoding = "2.1.3"
[dependencies.rxqlite-client]
version = "0.1"
#path = "../rxqlite-client"
[dependencies.rxqlite-common]
version = "0.1"
#path = "../rxqlite/crates/rxqlite-common"
[dependencies.rxqlite-lite-common]
version = "0.1"
#path = "../rxqlite/crates/rxqlite-lite-common"
[dependencies.sqlx-core]
version = "0.7.4"
[[example]]
name = "simple"
[[example]]
name = "simple_chrono"
required-features = [ "chrono" ]
[dev-dependencies]
anyhow = "1"
sqlx = { version = "0.7.4" , default-features = false, features = ["macros", "runtime-tokio", "tls-none" , "chrono" ] }
tokio = { version = "1", features = [ "full" ] }
futures = "0.3.30"
rand = "0.8.5"
[dev-dependencies.rxqlite-tests-common]
version = "0.1.7"
#path = "../rxqlite/crates/rxqlite-tests-common"
[dev-dependencies.rxqlite-common]
version = "0.1"
#path = "../rxqlite/crates/rxqlite-common"
[dev-dependencies.rxqlite-lite-common]
version = "0.1"
#path = "../rxqlite/crates/rxqlite-lite-common"
[dev-dependencies.rxqlite-notification]
version = "0.1"
#path = "../rxqlite/crates/rxqlite-notification"
[dev-dependencies.rxqlite-client]
version = "0.1"
features = [ "test-dependency" ]
#path = "../rxqlite-client"