-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCargo.toml
108 lines (86 loc) · 2.3 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
102
103
104
105
106
107
108
[package]
categories = ["database-driver"]
description = "A collection of db drivers for the lunatic runtime"
edition = "2021"
keywords = ["database", "db", "mysql", "redis", "lunatic"]
license = "Apache-2.0/MIT"
name = "lunatic-db"
readme = "Readme.md"
repository = "https://github.com/lunatic-solutions/lunatic-db"
version = "0.1.2"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
targets = ["wasm32-wasi"]
[features]
default = ["mysql", "redis"]
mysql = ["lunatic-mysql"]
redis = ["lunatic-redis"]
[dependencies]
lunatic-mysql = {version = "0.1.1", optional = true}
lunatic-redis = {version = "0.1.3", optional = true}
[workspace]
members = ["lunatic-mysql", "lunatic-redis"]
[profile.bench]
debug = true
[dev-dependencies]
fnv = "1.0.5"
lunatic = "0.12.0"
lunatic-db = {path = "."}
partial-io = {version = "0.5", features = ["quickcheck1"]}
quickcheck = "1.0.3"
rand = "0.8"
serde = {version = "1.0.132", features = ["derive"]}
tempfile = "3.2"
[[example]]
name = "redis-queues"
path = "lunatic-redis/examples/queues.rs"
[[example]]
name = "redis-basic"
path = "lunatic-redis/examples/basic.rs"
[[example]]
name = "redis-set-mget"
path = "lunatic-redis/examples/set-mget.rs"
[[example]]
name = "redis-pub-sub"
path = "lunatic-redis/examples/pub-sub.rs"
[[example]]
name = "redis-streams"
path = "lunatic-redis/examples/streams.rs"
[[example]]
name = "redis-geospatial"
path = "lunatic-redis/examples/geospatial.rs"
[[example]]
name = "redis-scan"
path = "lunatic-redis/examples/scan.rs"
# tests of subcrates
# [[test]]
# name = "redis_test_basic"
# path = "lunatic-redis/tests/test_basic.rs"
# [[test]]
# name = "test_async_async_std"
# required-features = ["async-std-comp"]
[[test]]
name = "redis-parser"
path = "lunatic-redis/tests/parser.rs"
[[test]]
name = "redis-types"
path = "lunatic-redis/tests/test_types.rs"
[[test]]
name = "redis-streams"
path = "lunatic-redis/tests/test_streams.rs"
# [[test]]
# name = "test_acl"
# [[bench]]
# harness = false
# name = "bench_basic"
# required-features = ["tokio-comp"]
# [[bench]]
# harness = false
# name = "bench_cluster"
# required-features = ["cluster"]
# MySQL examples
# [[example]]
# name = "mysql-basic"
# path = "mysql/examples/mysql.rs"