1
0

Cargo.toml 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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.61.0"
  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. # This is deprecated, see tool.maturin in pyproject.toml.
  15. # It is left here for compatibilty with maturin < 0.15.
  16. [package.metadata.maturin]
  17. # This is where we tell maturin where to place the built library.
  18. name = "synapse.synapse_rust"
  19. [dependencies]
  20. anyhow = "1.0.63"
  21. lazy_static = "1.4.0"
  22. log = "0.4.17"
  23. pyo3 = { version = "0.19.2", features = [
  24. "macros",
  25. "anyhow",
  26. "abi3",
  27. "abi3-py38",
  28. ] }
  29. pyo3-log = "0.8.1"
  30. pythonize = "0.19.0"
  31. regex = "1.6.0"
  32. serde = { version = "1.0.144", features = ["derive"] }
  33. serde_json = "1.0.85"
  34. [features]
  35. extension-module = ["pyo3/extension-module"]
  36. default = ["extension-module"]
  37. [build-dependencies]
  38. blake2 = "0.10.4"
  39. hex = "0.4.3"