Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(sdk): Add LinkedChunk::subscribe_as_vector #3392

Merged
merged 27 commits into from
May 23, 2024
Merged
Show file tree
Hide file tree
Changes from 26 commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
2d10ea4
chore(sdk): Use `pin-project-lite` in `matrix-sdk`.
Hywan May 8, 2024
725d7bb
!tmp First draft of the `subscribe_as_vector` API.
Hywan May 8, 2024
9af57c7
feat(sdk) `AsVectorSubscriber::new` now receives the initial chunk le…
Hywan May 13, 2024
b894b70
feat(sdk): Rename `Update::InsertItems` to `Update::PushItems`.
Hywan May 14, 2024
672bb02
feat(sdk): Rename `Update::TruncateItems` to `Update::DetachLastItems`.
Hywan May 14, 2024
8ee0bbb
feat(sdk): Add `Update::ReattachItems` and `Update::ReattachItemsDone`.
Hywan May 14, 2024
8d2db9d
chore(sdk): `assert_items_eq` is shared amongst several test modules.
Hywan May 15, 2024
397a970
doc+test(sdk): Add documentation for `AsVectorSubscriber` + improve t…
Hywan May 15, 2024
38932e7
doc(sdk): Add moooooar documentation.
Hywan May 15, 2024
d1fad85
chore(sdk): Make Clippy happy.
Hywan May 16, 2024
67e5820
feat(sdk): `AsVectorSubscriber` becomes `AsVector`.
Hywan May 16, 2024
5ac5e04
doc(sdk): Fix or add missing documentation.
Hywan May 22, 2024
ad9c2ac
chore(sdk): Rename `ReattachItems` and `ReattachItemsDone`.
Hywan May 22, 2024
bf39976
doc(sdk): Add a useful inline documentation.
Hywan May 22, 2024
ea6e150
feat(sdk): `as_vector`s are no longer unsafe.
Hywan May 22, 2024
b4b2ee4
chore(sdk): Move code inside the same module.
Hywan May 22, 2024
87370ab
chore(sdk): Remove a useless `Option`.
Hywan May 22, 2024
c9086a4
fix(sdk): Ensure an underflow is not possible.
Hywan May 22, 2024
94fe6a9
test(sdk): More tests for `AsVector`.
Hywan May 22, 2024
57d454c
chore(sdk): `pin-project-lite` is no longer required.
Hywan May 22, 2024
3d3639a
chore(sdk): Replace `into_iter` by `iter`.
Hywan May 22, 2024
28a8ce1
chore(sdk): Make explicit a hidden lifetime.
Hywan May 22, 2024
c106115
chore(sdk): `derive(Clone)` is implemented if all parameters are `Clo…
Hywan May 23, 2024
e3fdf19
doc(sdk): Improve the documentation of `AsVector`.
Hywan May 23, 2024
ba1c797
chore(sdk): Rename `Updates` to `ObservableUpdates`.
Hywan May 23, 2024
39a6a2e
chore(sdk): Rename `Update::PushItems::position_hint` to `…::at`.
Hywan May 23, 2024
52c0614
doc(sdk): Fix tiny typos.
Hywan May 23, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion crates/matrix-sdk-ui/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down
Loading
Loading