-
Notifications
You must be signed in to change notification settings - Fork 31
/
Cargo.toml
58 lines (49 loc) · 1.6 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
[package]
name = "lunatic"
version = "0.14.1"
edition = "2021"
authors = ["Bernard Kolobara <[email protected]>"]
description = "Helper library for building Rust applications that run on lunatic."
license = "Apache-2.0/MIT"
readme = "Readme.md"
repository = "https://github.com/lunatic-solutions/lunatic-rs"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = []
json_serializer = ["serde_json"]
msgpack_serializer = ["rmp-serde"]
protobuf_serializer = ["protobuf"]
sqlite = ["lunatic-sqlite-api"]
[dependencies]
thiserror = "1.0"
rustversion = "1.0"
paste = "1.0"
serde = { version = "1.0", features = ["derive"] }
bincode = "1.3"
serde_json = { version = "1.0", optional = true }
rmp-serde = { version = "1.1", optional = true }
protobuf = { version = "3.1", optional = true }
lunatic-sqlite-api = { version = "0.13", optional = true }
lunatic-macros = { version = "0.13", path = "./lunatic-macros" }
lunatic-test = { version = "0.13", path = "./lunatic-test" }
lunatic-sys = { version = "0.14", path = "./lunatic-sys" }
[dev-dependencies]
criterion = { version = "0.4", default-features = false }
serde_bytes = "0.11"
lunatic = { path = ".", features = ["json_serializer", "msgpack_serializer"] }
[[bench]]
name = "serializer"
harness = false
[[bench]]
name = "spawning"
harness = false
[[test]]
name = "sqlite"
path = "tests/sqlite.rs"
required-features = ["sqlite"]
[workspace]
members = ["lunatic-macros", "lunatic-test", "lunatic-sys"]
[package.metadata.docs.rs]
targets = ["wasm32-wasi"]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]