Skip to content

Nightly feature usage #25

Open
Open
@dhardy

Description

@dhardy

KAS currently requires may use unstable language features when using nightly Rust.

Features enabled by the nightly feature flag (optional but recommended):

  • proc_macro_diagnostic — used in kas-macros for better diagnostics
  • min_specialization — used by the Label widget to select appropriate draw routine
  • specialisation: used by TryFormat utility to use Debug impl where available on generic type
  • doc_cfg — enables annotation of feature flags in documentation
  • generic_associated_types — used in several places where associated types require a lifetime parameter, and desired to use in several more places. unsafe and boxing/cloning used as workarounds. This feature is now stable!

Features not used but desired:

Metadata

Metadata

Assignees

No one assigned

    Labels

    low priorityNot a near-term goal / not easily achievable

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions