summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2022-11-14 14:45:17 +0000
committerGitHub <noreply@github.com>2022-11-14 14:45:17 +0000
commit6816300588b004e2819f6f285eef70a4f0da35d8 (patch)
tree2c49dea1b5f2eca324748fc31c5adeef690233af
parentRemove unused type-ignores (#14433) (diff)
downloadsynapse-6816300588b004e2819f6f285eef70a4f0da35d8.tar.xz
Make Dependabot only bump Rust deps in the lock file (#14434)
This is to help downstream packagers.
-rw-r--r--.github/dependabot.yml1
-rw-r--r--changelog.d/14434.misc1
-rw-r--r--rust/Cargo.toml12
3 files changed, 8 insertions, 6 deletions
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index 9ee62bf539..7ce353ed64 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -18,5 +18,6 @@ updates:
 
   - package-ecosystem: "cargo"
     directory: "/"
+    versioning-strategy: "lockfile-only"
     schedule:
       interval: "weekly"
diff --git a/changelog.d/14434.misc b/changelog.d/14434.misc
new file mode 100644
index 0000000000..75d24cd73d
--- /dev/null
+++ b/changelog.d/14434.misc
@@ -0,0 +1 @@
+Make Dependabot only bump Rust deps in the lock file.
diff --git a/rust/Cargo.toml b/rust/Cargo.toml
index 48f6144b29..cffaa5b51b 100644
--- a/rust/Cargo.toml
+++ b/rust/Cargo.toml
@@ -20,16 +20,16 @@ crate-type = ["lib", "cdylib"]
 name = "synapse.synapse_rust"
 
 [dependencies]
-anyhow = "1.0.66"
+anyhow = "1.0.63"
 lazy_static = "1.4.0"
 log = "0.4.17"
-pyo3 = { version = "0.17.3", features = ["extension-module", "macros", "anyhow", "abi3", "abi3-py37"] }
+pyo3 = { version = "0.17.1", features = ["extension-module", "macros", "anyhow", "abi3", "abi3-py37"] }
 pyo3-log = "0.7.0"
 pythonize = "0.17.0"
-regex = "1.7.0"
-serde = { version = "1.0.147", features = ["derive"] }
-serde_json = "1.0.87"
+regex = "1.6.0"
+serde = { version = "1.0.144", features = ["derive"] }
+serde_json = "1.0.85"
 
 [build-dependencies]
-blake2 = "0.10.5"
+blake2 = "0.10.4"
 hex = "0.4.3"