chore(sdk): Use pin-project-lite in matrix-sdk.

This patch moves the `pin-project-lite` dependency from `matrix-sdk-ui`
to the workspace, and uses it in `matrix-sdk`.
This commit is contained in:
Ivan Enderlin
2024-05-08 21:15:57 +02:00
parent 35173347fd
commit 2d10ea4dc9
4 changed files with 6 additions and 3 deletions

1
Cargo.lock generated
View File

@@ -3170,6 +3170,7 @@ dependencies = [
"mime",
"mime2ext",
"once_cell",
"pin-project-lite",
"rand",
"reqwest",
"ruma",

View File

@@ -39,6 +39,9 @@ futures-util = { version = "0.3.26", default-features = false, features = [
http = "1.1.0"
imbl = "2.0.0"
itertools = "0.12.0"
once_cell = "1.16.0"
pin-project-lite = "0.2.9"
rand = "0.8.5"
reqwest = { version = "0.12.4", default-features = false }
ruma = { version = "0.10.1", features = [
"client-api-c",
@@ -50,8 +53,6 @@ ruma = { version = "0.10.1", features = [
"unstable-msc3266",
] }
ruma-common = { version = "0.13.0" }
once_cell = "1.16.0"
rand = "0.8.5"
serde = "1.0.151"
serde_html_form = "0.2.0"
serde_json = "1.0.91"

View File

@@ -41,7 +41,7 @@ matrix-sdk = { workspace = true, features = ["experimental-sliding-sync"] }
matrix-sdk-base = { workspace = true }
mime = "0.3.16"
once_cell = { workspace = true }
pin-project-lite = "0.2.9"
pin-project-lite = { workspace = true }
ruma = { workspace = true, features = ["html", "unstable-msc3381"] }
serde = { workspace = true }
serde_json = { workspace = true }

View File

@@ -96,6 +96,7 @@ matrix-sdk-sqlite = { workspace = true, optional = true }
matrix-sdk-test = { workspace = true, optional = true }
mime = "0.3.16"
mime2ext = "0.1.52"
pin-project-lite = { workspace = true }
rand = { workspace = true , optional = true }
ruma = { workspace = true, features = ["rand", "unstable-msc2448", "unstable-msc2965", "unstable-msc3930", "unstable-msc3245-v1-compat", "unstable-msc2867"] }
serde = { workspace = true }