In Rust 1.47 - Whatвђ™s New

Many existing methods were made const , allowing them to be used in constant contexts: The new method for all NonZero integers.

Compare these changes with more recent versions like . What’s new in Rust 1.47

Several new APIs were added to the stable standard library, including: Many existing methods were made const , allowing

ASCII character checks (e.g., is_ascii_alphabetic , is_ascii_digit ). Many existing methods were made const

: By default, build dependencies are now built with opt-level = 0 to speed up compilation times.

: The compiler now supports the -C control-flow-guard option for Windows platforms, providing an extra layer of security against memory corruption vulnerabilities.