Cargo.toml 881 B

1234567891011121314151617181920212223242526272829303132333435
  1. [package]
  2. # We name the package `synapse` so that things like logging have the right
  3. # logging target.
  4. name = "synapse"
  5. # dummy version. See pyproject.toml for the Synapse's version number.
  6. version = "0.1.0"
  7. edition = "2021"
  8. rust-version = "1.58.1"
  9. [lib]
  10. name = "synapse"
  11. # We generate a `cdylib` for Python and a standard `lib` for running
  12. # tests/benchmarks.
  13. crate-type = ["lib", "cdylib"]
  14. [package.metadata.maturin]
  15. # This is where we tell maturin where to place the built library.
  16. name = "synapse.synapse_rust"
  17. [dependencies]
  18. anyhow = "1.0.63"
  19. lazy_static = "1.4.0"
  20. log = "0.4.17"
  21. pyo3 = { version = "0.17.1", features = ["extension-module", "macros", "anyhow", "abi3", "abi3-py37"] }
  22. pyo3-log = "0.7.0"
  23. pythonize = "0.17.0"
  24. regex = "1.6.0"
  25. serde = { version = "1.0.144", features = ["derive"] }
  26. serde_json = "1.0.85"
  27. [build-dependencies]
  28. blake2 = "0.10.4"
  29. hex = "0.4.3"