summary refs log tree commit diff
path: root/rust/Cargo.toml
blob: 07ae0295e0887919db299cbfafc0ae453c19b5bf (plain) (blame)
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
[package]
# We name the package `synapse` so that things like logging have the right
# logging target.
name = "synapse"

# dummy version. See pyproject.toml for the Synapse's version number.
version = "0.1.0"

edition = "2021"
rust-version = "1.58.1"

[lib]
name = "synapse"
# We generate a `cdylib` for Python and a standard `lib` for running
# tests/benchmarks.
crate-type = ["lib", "cdylib"]

[package.metadata.maturin]
# This is where we tell maturin where to place the built library.
name = "synapse.synapse_rust"

[dependencies]
anyhow = "1.0.63"
env_logger = "0.10.0"
futures = "0.3.25"
futures-util = "0.3.25"
http = "0.2.8"
hyper = { version = "0.14.23", features = ["client", "http1", "http2", "runtime", "server", "full"] }
hyper-tls = "0.5.0"
lazy_static = "1.4.0"
log = "0.4.17"
native-tls = "0.2.11"
pyo3 = { version = "0.17.1", features = ["extension-module", "macros", "anyhow", "abi3", "abi3-py37"] }
pyo3-asyncio = { version = "0.17.0", features = ["tokio", "tokio-runtime"] }
pyo3-log = "0.7.0"
pythonize = "0.17.0"
regex = "1.6.0"
serde = { version = "1.0.144", features = ["derive"] }
serde_json = "1.0.85"
tokio = "1.23.0"
tokio-native-tls = "0.3.0"
trust-dns-resolver = "0.22.0"

[build-dependencies]
blake2 = "0.10.4"
hex = "0.4.3"