2022-09-06 14:01:37 -04: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"
|
2022-09-21 05:42:03 -04:00
|
|
|
rust-version = "1.58.1"
|
2022-09-06 14:01:37 -04:00
|
|
|
|
|
|
|
[lib]
|
|
|
|
name = "synapse"
|
2022-09-29 11:12:09 -04:00
|
|
|
# We generate a `cdylib` for Python and a standard `lib` for running
|
|
|
|
# tests/benchmarks.
|
|
|
|
crate-type = ["lib", "cdylib"]
|
2022-09-06 14:01:37 -04:00
|
|
|
|
|
|
|
[package.metadata.maturin]
|
|
|
|
# This is where we tell maturin where to place the built library.
|
|
|
|
name = "synapse.synapse_rust"
|
|
|
|
|
|
|
|
[dependencies]
|
2022-10-24 05:20:13 -04:00
|
|
|
anyhow = "1.0.66"
|
2022-09-20 07:10:31 -04:00
|
|
|
lazy_static = "1.4.0"
|
|
|
|
log = "0.4.17"
|
|
|
|
pyo3 = { version = "0.17.1", features = ["extension-module", "macros", "anyhow", "abi3", "abi3-py37"] }
|
|
|
|
pyo3-log = "0.7.0"
|
|
|
|
pythonize = "0.17.0"
|
|
|
|
regex = "1.6.0"
|
2022-10-24 05:19:55 -04:00
|
|
|
serde = { version = "1.0.147", features = ["derive"] }
|
2022-10-24 09:08:22 -04:00
|
|
|
serde_json = "1.0.87"
|
2022-09-12 06:03:42 -04:00
|
|
|
|
|
|
|
[build-dependencies]
|
|
|
|
blake2 = "0.10.4"
|
|
|
|
hex = "0.4.3"
|