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

WIP: Nut-17 #394

Draft
wants to merge 17 commits into
base: main
Choose a base branch
from
Draft

WIP: Nut-17 #394

wants to merge 17 commits into from

Commits on Oct 8, 2024

  1. WIP: Nut-17

    Very early stage non functional prototype to add support for any kind of
    subscriptions, aiming for NUT-17 support
    crodas committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    1429c10 View commit details
    Browse the repository at this point in the history
  2. Implement the actual broadcasting action

    There are two functions, an async and a fire and forget version
    crodas committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    d918820 View commit details
    Browse the repository at this point in the history
  3. Minor changes

    crodas committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    7bd9d72 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4b4ed47 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    50653fe View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2024

  1. First functional prototype

    crodas committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    3cbc5af View commit details
    Browse the repository at this point in the history
  2. Add tests

    crodas committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    ded8ec0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1b33ff6 View commit details
    Browse the repository at this point in the history
  4. Minor change

    I do not like `unwrap()`
    crodas committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    9c73bb8 View commit details
    Browse the repository at this point in the history
  5. WebSocket draft implementation

    This implementation does not rely on any new crate, instead it implements the
    types for the WebSocket.
    
    This is WIP, so this commit will be rebased and keep changing
    crodas committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    5f42933 View commit details
    Browse the repository at this point in the history
  6. Better organization for the code

    Also dropped `tokio::select` since it is not stable in 1.63
    crodas committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    fd4191a View commit details
    Browse the repository at this point in the history
  7. Add unit tests

    crodas committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    672a4fd View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2024

  1. Moved Subscription Manager to Mint

    Instead of letting Axum create it and use it for their WebSocket, make it part
    of Mint so that event subscriptions and publishing can happen in all layers.
    
    Also added helper functions to emit events
    
    Some typos in comments were fixed in this commit as well
    crodas committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    243baed View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c25266c View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2024

  1. Better naming for structs

    I think the `subscription_manager` was a bit unintuitive; I think
    `pubsub_manager` is a much more descriptive name.
    crodas committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    74b9ee4 View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2024

  1. Test WIP

    crodas committed Oct 12, 2024
    Configuration menu
    Copy the full SHA
    e3bc3aa View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2024

  1. Signaling Support via NUT-06

    crodas committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    6fafbfd View commit details
    Browse the repository at this point in the history