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(socketio): Async adapter #395

Merged
merged 38 commits into from
Dec 24, 2024
Merged
Show file tree
Hide file tree
Changes from 20 commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
297edb2
wip
Totodore Nov 3, 2024
ad85341
doc: wip
Totodore Nov 3, 2024
c48787b
doc: wip
Totodore Nov 3, 2024
8647d34
doc: wip
Totodore Nov 4, 2024
85ce496
wip
Totodore Nov 4, 2024
65574c7
wip
Totodore Nov 4, 2024
e094c06
merge
Totodore Nov 4, 2024
113384b
wip: async adapter
Totodore Nov 4, 2024
1ad4be7
doc: make example works with async adapter
Totodore Nov 4, 2024
d47758f
Merge branch 'feat-adapter-rework' into async-adapter
Totodore Nov 5, 2024
4ec5721
chore(ci): run ci on all PR
Totodore Nov 5, 2024
b384743
feat(socketio/adapter): replace RoomParam by BroadcastOptions
Totodore Nov 8, 2024
6917604
* Remove Debug bound on adapter
Totodore Nov 11, 2024
c0ecf9c
feat(adapter): factor out adapter to core
Totodore Nov 15, 2024
3f21c98
feat(core/adapter): move flags to bit repr
Totodore Nov 15, 2024
421eb81
fix(socketio/ns): deadlock for disconnect_many
Totodore Nov 15, 2024
4e6ce7f
fix(adapter): test
Totodore Nov 16, 2024
22b8942
wip: move local adapter as a dep of core adapter.
Totodore Dec 4, 2024
21b9d65
feat: move from hashset to vec for options
Totodore Dec 5, 2024
9d19bf0
feat: use smallvec for broadcast flags
Totodore Dec 5, 2024
c159e21
feat(engineio): add `to_vec` for `Str`
Totodore Dec 7, 2024
040d9a6
feat: add serde for `Packet`, `AckError` & `Value`
Totodore Dec 7, 2024
5c77fd7
chore(clippy): fix clippy lints
Totodore Dec 15, 2024
a2c6af7
fix: typos
Totodore Dec 16, 2024
2f11d14
feat: type erase emitter to avoid type overflow
Totodore Oct 10, 2024
67bcc99
fix: tests
Totodore Dec 17, 2024
db50c6d
feat: typestate pattern for SocketIoBuilder + tests fixes
Totodore Dec 17, 2024
d188154
feat: revert to basic adapter init
Totodore Dec 17, 2024
114154a
feat:
Totodore Dec 19, 2024
cb30a86
feat(socketio): add broadcast operator on io struct (#401)
Totodore Dec 19, 2024
ad49977
Merge remote-tracking branch 'origin/main' into async-adapter
Totodore Dec 19, 2024
0ae33fe
feat(core): serialization size optimization.
Totodore Dec 20, 2024
6152069
wip: reduce adapter complexity by removing useless methods.
Totodore Dec 20, 2024
ee9de93
chore(clippy): fix lint `into_iter_on_ref`
Totodore Dec 21, 2024
b299d6e
fix(test): spawn init future only if not ready
Totodore Dec 21, 2024
dac1033
doc(socketio/ns): hide ns::Emitter in docs
Totodore Dec 21, 2024
87d4379
fix(examples): use new sync/async API
Totodore Dec 21, 2024
83b8865
doc(socketio): improve doc related to local/remote adapters
Totodore Dec 22, 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
2 changes: 0 additions & 2 deletions .github/workflows/github-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ on:
branches:
- main
pull_request:
branches:
- main

jobs:
format:
Expand Down
4 changes: 4 additions & 0 deletions crates/socketioxide-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ engineioxide = { version = "0.15.0", path = "../engineioxide" }
serde.workspace = true
thiserror.workspace = true
arbitrary = { version = "1.3.2", features = ["derive"], optional = true }
futures-core.workspace = true
smallvec.workspace = true
tracing = { workspace = true, optional = true }

[features]
tracing = ["dep:tracing"]
fuzzing = ["dep:arbitrary"]
Loading
Loading