Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

collab: Pin sea-orm-macro crate version together with sea-orm (#40846)

Be3d3e9130a882
diff --git a/Cargo.lock b/Cargo.lock
index bb5950741bd..27848216c69 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3379,6 +3379,7 @@ dependencies = [
"rpc",
"scrypt",
"sea-orm",
+ "sea-orm-macros",
"semantic_version",
"semver",
"serde",
diff --git a/Cargo.toml b/Cargo.toml
index 81e30b308af..bd0083d1220 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -901,4 +901,5 @@ ignored = [
"serde",
"component",
"documented",
+ "sea-orm-macros",
]
diff --git a/crates/collab/Cargo.toml b/crates/collab/Cargo.toml
index d3ded583d6a..52dbe461075 100644
--- a/crates/collab/Cargo.toml
+++ b/crates/collab/Cargo.toml
@@ -47,7 +47,9 @@ reqwest = { version = "0.11", features = ["json"] }
reqwest_client.workspace = true
rpc.workspace = true
scrypt = "0.11"
+# sea-orm and sea-orm-macros versions must match exactly.
sea-orm = { version = "=1.1.10", features = ["sqlx-postgres", "postgres-array", "runtime-tokio-rustls", "with-uuid"] }
+sea-orm-macros = "=1.1.10"
semantic_version.workspace = true
semver.workspace = true
serde.workspace = true