mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-25 11:14:30 +01:00
Make extension-module optional, but default. (#14965)
This commit is contained in:
parent
58214dbb9b
commit
da8a957113
2 changed files with 6 additions and 1 deletions
1
changelog.d/14965.misc
Normal file
1
changelog.d/14965.misc
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Allow running `cargo` without the `extension-module` option.
|
|
@ -23,13 +23,17 @@ name = "synapse.synapse_rust"
|
||||||
anyhow = "1.0.63"
|
anyhow = "1.0.63"
|
||||||
lazy_static = "1.4.0"
|
lazy_static = "1.4.0"
|
||||||
log = "0.4.17"
|
log = "0.4.17"
|
||||||
pyo3 = { version = "0.17.1", features = ["extension-module", "macros", "anyhow", "abi3", "abi3-py37"] }
|
pyo3 = { version = "0.17.1", features = ["macros", "anyhow", "abi3", "abi3-py37"] }
|
||||||
pyo3-log = "0.7.0"
|
pyo3-log = "0.7.0"
|
||||||
pythonize = "0.17.0"
|
pythonize = "0.17.0"
|
||||||
regex = "1.6.0"
|
regex = "1.6.0"
|
||||||
serde = { version = "1.0.144", features = ["derive"] }
|
serde = { version = "1.0.144", features = ["derive"] }
|
||||||
serde_json = "1.0.85"
|
serde_json = "1.0.85"
|
||||||
|
|
||||||
|
[features]
|
||||||
|
extension-module = ["pyo3/extension-module"]
|
||||||
|
default = ["extension-module"]
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
blake2 = "0.10.4"
|
blake2 = "0.10.4"
|
||||||
hex = "0.4.3"
|
hex = "0.4.3"
|
||||||
|
|
Loading…
Reference in a new issue