forked from matrix-org/rust-synapse-compress-state
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
43 lines (36 loc) · 910 Bytes
/
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
[workspace]
members = ["synapse_auto_compressor", "compressor_integration_tests"]
[package]
authors = ["Erik Johnston"]
description = "A tool to compress some state in a Synapse instance's database"
name = "synapse_compress_state"
version = "0.1.0"
edition = "2018"
[dependencies]
clap = "2.33.0"
indicatif = "0.16.0"
openssl = "0.10.32"
postgres = "0.19.0"
postgres-openssl = "0.5.0"
rand = "0.8.0"
rayon = "1.3.0"
string_cache = "0.8.0"
env_logger = "0.9.0"
log = "0.4.14"
pyo3-log = "0.4.0"
log-panics = "2.0.0"
[dependencies.state-map]
git = "https://github.com/matrix-org/rust-matrix-state-map"
# Needed for pyo3 support
[lib]
crate-type = ["cdylib", "rlib"]
[dependencies.pyo3]
version = "0.14.1"
features = ["extension-module","abi3-py36"]
[dependencies.tikv-jemallocator]
version = "0.4.1"
optional = true
[features]
default = ["jemalloc"]
jemalloc = ["tikv-jemallocator"]
no-progress-bars = []