47 lines
943 B
TOML
47 lines
943 B
TOML
[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]
|
|
indicatif = "0.17.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.6.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.clap]
|
|
version = "3.1.14"
|
|
features = ["cargo"]
|
|
|
|
[dependencies.pyo3]
|
|
version = "0.16.4"
|
|
features = ["extension-module"]
|
|
|
|
[dependencies.tikv-jemallocator]
|
|
version = "0.5.0"
|
|
optional = true
|
|
|
|
[features]
|
|
default = ["jemalloc"]
|
|
jemalloc = ["tikv-jemallocator"]
|
|
no-progress-bars = []
|