forked from RedisJSON/RedisJSON
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
63 lines (53 loc) · 1.42 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
cargo-features = ["edition2021"]
[package]
name = "redisjson"
version = "99.99.99"
authors = ["Guy Korland <[email protected]>", "Meir Shpilraien <[email protected]>", "Omer Shadmi <[email protected]>"]
edition = "2021"
description = "JSON data type for Redis"
repository = "https://github.com/RedisJSON/RedisJSON"
readme = "README.md"
license = "Redis Source Available License (RSAL)"
keywords = ["redis", "json", "plugin"]
categories = ["database-implementations"]
[lib]
crate-type = ["cdylib", "rlib"]
name = "rejson"
[dependencies]
pest = "2.1"
pest_derive = "2.1"
bitflags = "1.3"
log = "0.4"
bson = "0.14"
ijson = "0.1.3"
serde_json = "1.0"
serde = "1.0"
libc = "0.2"
redis-module = { version="1.0", features = ["experimental-api"]}
itertools = "0.10"
[features]
# Workaround to allow cfg(feature = "test") in redismodue-rs dependencies:
# https://github.com/RedisLabsModules/redismodule-rs/pull/68
# This requires running the tests with `--features test`
test = ["redis-module/test"]
as-library = []
[[test]]
name = "array_filter"
path = "tests/rust_tests/array_filter.rs"
[[test]]
name = "filter"
path = "tests/rust_tests/filter.rs"
[[test]]
name = "jsonpath_examples"
path = "tests/rust_tests/jsonpath_examples.rs"
[[test]]
name = "op"
path = "tests/rust_tests/op.rs"
[[test]]
name = "paths"
path = "tests/rust_tests/paths.rs"
[[test]]
name = "return_type"
path = "tests/rust_tests/return_type.rs"
[profile.release]
debug = 1