-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathCargo.toml
42 lines (36 loc) · 1.43 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
[package]
name = "valkey-bloom"
authors = ["Karthik Subbarao"]
version = "99.99.99-dev"
edition = "2021"
license = "BSD-3-Clause"
repository = "https://github.com/valkey-io/valkey-bloom"
readme = "README.md"
description = "A bloom filter module for Valkey"
homepage = "https://github.com/valkey-io/valkey-bloom"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
valkey-module = { version = "0.1.5", features = ["min-valkey-compatibility-version-8-0", "min-redis-compatibility-version-7-2"]}
valkey-module-macros = "0"
linkme = "0"
bloomfilter = { version = "3.0.1", features = ["serde"] }
lazy_static = "1.4.0"
libc = "0.2"
serde = { version = "1.0", features = ["derive"] }
bincode = "1.3"
[dev-dependencies]
rand = "0.8"
rstest = "0.23.0"
[lib]
crate-type = ["cdylib"]
name = "valkey_bloom"
[profile.dev]
opt-level = 0
debug = 2
debug-assertions = true
[features]
default = ["min-valkey-compatibility-version-8-0"]
enable-system-alloc = ["valkey-module/enable-system-alloc"]
min-valkey-compatibility-version-8-0 = []
valkey_8_0 = [] # Valkey-bloom is intended to be loaded on server versions >= Valkey 8.1 and by default it is built this way (unless this flag is provided). It is however compatible with Valkey version 8.0 if the user explicitly provides this feature flag in their cargo build command.
use-redismodule-api = [] # We don't support this feature flag which is why it is empty.