2022-09-06 21:01:37 +03:00
|
|
|
[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"
|
2024-04-17 16:44:40 +03:00
|
|
|
rust-version = "1.66.0"
|
2022-09-06 21:01:37 +03:00
|
|
|
|
|
|
|
[lib]
|
|
|
|
name = "synapse"
|
2022-09-29 18:12:09 +03:00
|
|
|
# We generate a `cdylib` for Python and a standard `lib` for running
|
|
|
|
# tests/benchmarks.
|
|
|
|
crate-type = ["lib", "cdylib"]
|
2022-09-06 21:01:37 +03:00
|
|
|
|
2023-09-28 14:01:16 +03:00
|
|
|
# This is deprecated, see tool.maturin in pyproject.toml.
|
|
|
|
# It is left here for compatibilty with maturin < 0.15.
|
2022-09-06 21:01:37 +03:00
|
|
|
[package.metadata.maturin]
|
|
|
|
# This is where we tell maturin where to place the built library.
|
|
|
|
name = "synapse.synapse_rust"
|
|
|
|
|
|
|
|
[dependencies]
|
2022-11-14 17:45:17 +03:00
|
|
|
anyhow = "1.0.63"
|
2024-04-25 15:50:12 +03:00
|
|
|
base64 = "0.21.7"
|
2024-04-18 13:20:30 +03:00
|
|
|
bytes = "1.6.0"
|
|
|
|
headers = "0.4.0"
|
|
|
|
http = "1.1.0"
|
2022-09-20 14:10:31 +03:00
|
|
|
lazy_static = "1.4.0"
|
|
|
|
log = "0.4.17"
|
2024-04-25 15:50:12 +03:00
|
|
|
mime = "0.3.17"
|
2023-11-22 17:55:43 +03:00
|
|
|
pyo3 = { version = "0.20.0", features = [
|
2023-09-05 15:12:50 +03:00
|
|
|
"macros",
|
|
|
|
"anyhow",
|
|
|
|
"abi3",
|
2023-10-06 13:27:59 +03:00
|
|
|
"abi3-py38",
|
2023-09-05 15:12:50 +03:00
|
|
|
] }
|
2023-11-22 17:55:43 +03:00
|
|
|
pyo3-log = "0.9.0"
|
|
|
|
pythonize = "0.20.0"
|
2022-11-14 17:45:17 +03:00
|
|
|
regex = "1.6.0"
|
2024-04-25 15:50:12 +03:00
|
|
|
sha2 = "0.10.8"
|
2022-11-14 17:45:17 +03:00
|
|
|
serde = { version = "1.0.144", features = ["derive"] }
|
|
|
|
serde_json = "1.0.85"
|
2024-04-25 15:50:12 +03:00
|
|
|
ulid = "1.1.2"
|
2022-09-12 13:03:42 +03:00
|
|
|
|
2023-02-02 03:01:06 +03:00
|
|
|
[features]
|
|
|
|
extension-module = ["pyo3/extension-module"]
|
|
|
|
default = ["extension-module"]
|
|
|
|
|
2022-09-12 13:03:42 +03:00
|
|
|
[build-dependencies]
|
2022-11-14 17:45:17 +03:00
|
|
|
blake2 = "0.10.4"
|
2022-09-12 13:03:42 +03:00
|
|
|
hex = "0.4.3"
|