Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
README.md | 2024-12-12 | 1.2 kB | |
v3.0.0 source code.tar.gz | 2024-12-12 | 169.7 kB | |
v3.0.0 source code.zip | 2024-12-12 | 234.7 kB | |
Totals: 3 Items | 405.7 kB | 0 |
- Breaking: New sealed type
Option
implementation- Using
Option
as an extension type proved not to be very useful in practice. In fact,Option
as a sealed type would be more useful for a few reason outlined in the outdated option docs
- Using
- Breaking: Nullable methods added for every
Option
method and vice versa- Going back to our roots, we now equally support nullable and option methods going forward. Nullable methods are the default. e.g.
peek()
now returns aT?
,peekOpt()
returnsOption<T>
.
- Going back to our roots, we now equally support nullable and option methods going forward. Nullable methods are the default. e.g.
- Breaking: Rename
okay
/o
ande
/error
onResult
to v. - In preparation for the
@Enum
macro, we standardized the naming for enum/sealed types with one value -v
for one. Andv1
,v2
, ... for many (if unnamed) when the macro is released. A concise name is optimal for renaming e.gOk(v:final order)
orErr(v:final error)
- Add Fs library
- Add Env library
- Misc additions
- Rename/refactor
Full Changelog: https://github.com/mcmah309/rust/compare/v2.0.0...v3.0.0