Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

client/*: Treat protocol name as str and not [u8] #6967

Merged
3 commits merged into from
Aug 28, 2020

Commits on Aug 27, 2020

  1. client/*: Treat protocol name as str and not [u8]

    Notification protocol names are in practice always valid utf8 strings.
    Instead of treating them as such in the type system, thus far they were
    casted to a [u8] at creation time.
    
    With this commit protocol names are instead treated as valid utf8
    strings throughout the codebase and passed as `Cow<'static, str>`
    instead of `Cow<'static, [u8]>`. Among other things this eliminates the
    need for string casting when logging.
    mxinden committed Aug 27, 2020
    Configuration menu
    Copy the full SHA
    ad66f09 View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2020

  1. Configuration menu
    Copy the full SHA
    69b9f45 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    307a6d6 View commit details
    Browse the repository at this point in the history