Repository navigation
26.05.06
Noelware.Violet
- Add support for references in Result via
std::reference_wrapper, like Optional (@auguwu) - Add a new panic system that should resembles Rust's panic interface (@auguwu)
- It'll use std::terminate by default, which means you can setup your own termination handlers via
std::set_terminate. - Assertions don't use the new panic system as they should only
std::abortthe process. They'll use the backtrace system once that's available.
- It'll use std::terminate by default, which means you can setup your own termination handlers via
- Add
ANYHOW,ANYHOW_FMT,ENSURE, andENSURE_FMTmacros in anyhow (@auguwu)- Originated and ported from
Noelware/Eous@5f1fb256
- Originated and ported from
- Add converting constructor for Result<T, E>(Err<F>) (@auguwu)
- Add more methods to Result (not available in
Result<void, E>specialization):Map,MapOr,MapOrElse,MapOrDefaultUnwrapOrDefault
Git History: 26.05.05...master
Bazel
As of 21/01/26, we have plans on uploading all Noelware.Violet frameworks onto the BCR and our own (
https://bzl.noelware.cloud). It could exist right now, if you are, you can use--registry=https://bzl.noelware.cloudand all frameworks will be available.
bazel_dep(name = "violet", version = "26.05.06")
archive_override(
module_name = "violet",
integrity = "sha256-T+KwJTYJ9h55Vhk/JVNGYjyUtkzHcW1YFpjvfScK4oU=",
urls = [
# "https://artifacts.noelware.org/bazel-registry/violet/26.05.06/bazeldist.tgz",
"https://github.com/Noelware/violet/releases/download/26.05.06/bazeldist.tgz",
]
)CMake
Right now, it is not the best to use the frameworks in a CMake environment! ehehe...~
Meson
Using the frameworks in a Meson environment is not ready yet!
GN ("Generate Ninja")
Using the frameworks in a GN environment is not ready yet!