Skip to content

hex-literal: v1.0 tracker #814

Closed
Closed
@newpavlov

Description

@newpavlov

hex-literal is quite stable, with v0.3.0 being release over two years ago. So I think we can start to consider v1.0 release.

Potential changes:

  • Bump MSRV to 1.56 and edition to 2021 (Done in v0.4)
  • Decide whether we want to forbid comments inside literals or not, as described here (Done in v0.4)
  • Use MSRV-dependent dependency version resolution rust-lang/cargo#9930. It will allow us to bump hex-literal edition without breaking downstream builds and maybe incorporate new language features.
  • Use inline const {} expressions to force const evaluation (MSRV 1.79).
  • Wait for stabilization of generic_const_exprs and adt_const_params? It would allow us to write:
fn decode<const DATA: &'static [u8]>() -> [u8; decode_len(DATA)] { ... }

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