Skip to content

Move encode/decode type key functions to openscreen-common #15

@backkem

Description

@backkem

Context

From PR #13 review comment by @kaidokert:

These end up duplicated now. I'd probably move them over to openscreen-common crate and just import from there.

Problem

The encode_type_key and decode_type_key functions are duplicated across:

  • openscreen-application/src/messages.rs
  • openscreen-network/src/messages.rs

Proposed Solution

Move these functions to the openscreen-common crate and import them from both openscreen-application and openscreen-network.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions