summary refs log tree commit diff
path: root/rust/Cargo.toml
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2023-09-28 07:01:16 -0400
committerGitHub <noreply@github.com>2023-09-28 07:01:16 -0400
commitc690fd16c48338cac14111d725c137db25436467 (patch)
tree2dcdd26175de7410c7224888cfa55260f94e7995 /rust/Cargo.toml
parentMerge branch 'master' into develop (diff)
downloadsynapse-c690fd16c48338cac14111d725c137db25436467.tar.xz
Use modern config for maturin. (#16394)
This allows maturin >= 0.15 to build the properly named
shared library object.

For now the old configuration is also kept to allow for
older maturin installs to be used.
Diffstat (limited to 'rust/Cargo.toml')
-rw-r--r--rust/Cargo.toml2
1 files changed, 2 insertions, 0 deletions
diff --git a/rust/Cargo.toml b/rust/Cargo.toml
index 16917136db..26403d58cc 100644
--- a/rust/Cargo.toml
+++ b/rust/Cargo.toml
@@ -15,6 +15,8 @@ name = "synapse"
 # tests/benchmarks.
 crate-type = ["lib", "cdylib"]
 
+# This is deprecated, see tool.maturin in pyproject.toml.
+# It is left here for compatibilty with maturin < 0.15.
 [package.metadata.maturin]
 # This is where we tell maturin where to place the built library.
 name = "synapse.synapse_rust"