-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathCargo.toml
51 lines (44 loc) · 1.68 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
[package]
name = "seshat"
version = "4.0.0"
authors = ["Damir Jelić <[email protected]>"]
edition = "2018"
license = "Apache-2.0"
description = "A matrix message logger with full text search support"
readme="README.md"
repository="https://github.com/matrix-org/seshat/"
[features]
default = ["encryption"]
encryption = ["rusqlite/sqlcipher", "aes", "crypto-mac", "hmac", "sha2",
"hkdf", "pbkdf2", "rand", "zeroize", "byteorder", "ctr"]
bundled-sqlcipher = ["encryption", "rusqlite/bundled-sqlcipher-vendored-openssl"]
[dependencies]
tantivy = "0.12.0"
tinysegmenter = "0.1.1"
rusqlite = "0.31.0"
fs_extra = "1.2.0"
r2d2_sqlite = "0.24.0"
r2d2 = "0.8.9"
lru-cache = "0.1.2"
uuid = { version = "1.3.0", features = ["v4", "serde"] }
aes = { version = "0.8.4", optional = true }
ctr = { version = "0.9.2", optional = true }
crypto-mac = { version = "0.11.1", optional = true }
hmac = { version = "0.11.0", optional = true }
sha2 = { version = "0.9.5", optional = true }
hkdf = { version = "0.11.0", optional = true }
pbkdf2 = { version = "0.8.0", optional = true }
rand = { version = "0.8.5", optional = true }
zeroize = { version = "1.8.1", optional = true }
byteorder = { version = "1.5.0", optional = true }
serde_json = "=1.0.61"
# This is pinned because Tantivy used an serde re-export that turned private in
# 1.0.119.
# Relevant serde commit https://github.com/serde-rs/serde/commit/dd1f4b483ee204d58465064f6e5bf5a457543b54
# Tantivy patch that fixes this issue https://github.com/tantivy-search/tantivy/pull/975
serde = { version = "=1.0.118", default-features = false, features = ["derive"] }
thiserror = "1.0.26"
[dev-dependencies]
tempfile = "3.2.0"
lazy_static = "1.4.0"
fake = "2.4.3"