Skip to content

Reduce number of dependencies of zvariant #1650

@notgull

Description

@notgull

See #1649

zvariant brings in a number of dependencies that can probably be reduced. From the list, in order of relative difficulty:

  • The code using endi can be implemented using the standard library fairly easily.
  • The code using winnow can likely be implemented with it, using a parser built using only standard library utilities.
  • zvariant_derive et al can be made into optional features. This would allow removing the proc-macro dependencies from zvariant and zvariant_utils.
  • serde can be made optional. However, this requires us to have an alternative API for marshalling than serde.
  • proc-macro-crate can be removed from zvariant-derive as per Drop proc-macro-crate dependency #1365
  • There is a reality where zvariant is no-std or even no-alloc.

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