KAS currently requires may use unstable language features when using nightly Rust.
Features enabled by the nightly feature flag (optional but recommended):
nightly-diagnostics — used in kas-macros for better diagnostics
min_specialization — used by the Label widget to select appropriate draw routine no longer used
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!
Additional (not generally recommended) nightly features:
spec — the TryFormat utility uses specialisation to impl Debug where available on a generic type
doc_cfg — enables annotation of feature flags in documentation
Features not used but desired:
KAS currently
requiresmay use unstable language features when using nightly Rust.Features enabled by the
nightlyfeature flag (optional but recommended):nightly-diagnostics— used inkas-macrosfor better diagnosticsno longer usedmin_specialization— used by theLabelwidget to select appropriate draw routineThis feature is now stable!generic_associated_types— used in several places where associated types require a lifetime parameter, and desired to use in several more places.unsafeand boxing/cloning used as workarounds.Additional (not generally recommended) nightly features:
spec— theTryFormatutility uses specialisation to implDebugwhere available on a generic typedoc_cfg— enables annotation of feature flags in documentationFeatures not used but desired:
if-let-chainsNow stable