v0.19.0
Added
- new features:
docsrs
,num_int_niche
. - add optional dependency
unicode-width
. - new root modules:
io
,render
,ui
. - new fns
mem::ptr_in_stack
,factorial_*
,bytes_from_bits
. - new structs
Priming
,Comparing
,Slicing
,Sorting
,Biting
,Int
,Frac
. - new traits:
DataArray
,PrimitiveCast
,BitOps
,NumInt
,NumRefInt
,VecExt
. - new macros:
bitfield
,enumset
,ident_const_index
,ident_total_count
,init_array
. - new
NumErrors
variants:MismatchedSizes
,NonNegativeRequired
,PositiveRequired
. - new color constants:
COLOR_LUMINANCE_[RED|GREEN|BLUE]
. - complete
Floating
andFloatOps
methods and constants. - reexport
panic
fromerror
, andhint
fromcode
. - new type aliases:
isize_up
,usize_up
. - new enums:
DataErrors
,Sign
.
Removed
- remove
os::linux
functionality. - remove features:
linux
,linux_unsafe
,unsafe_linux
,unsafe_os
,ops
,ops_unsafe
,unsafe_ops
,unsafe_code
,unsafe_color
,unsafe_result
,unsafe_time
,code_usafe
,color_unsafe
,result_unsafe
,time_unsafe
. - remove standalone fns from:
num::ops
,mem::slice
,data::convert::collection
. - remove linux specific tools and github actions.
- remove the
Underflow
variant fromNumErrors
. - remove the prelude.
Changed
- bump rust version to
1.75.0
. - move
term
module toui
. - move
any
module todata
. - move
color
module torender
. - move
num
andops
modules tonum
. - move
data::slice
tomem::slice
. - move
error::{Also, Apply}
tocode
. - move
num::convert
module tocode
. - move niche number types to
num::niche
. - move
data::array
todata::collections::array
. - move corresponding standalone fns to
Sorting
,Comparing
andCasting
. - move
cmp
fns toComparing
methods:clamp*
,max*
,min*
,pclamp
,pmax
,pmin
. - rename
meta
module tocode
. - rename
task
module towork
. - rename
result
module toerror
. - rename
NumError
andNumResult
toNumErrors
andNumResult
, respectively, and move them to the num module. - rename
AnsiColor3
toAnsiColor3b
andAnsiColor8
toAnsiColor8b
. - rename fns:
div_half_*
todiv_ties_*
. - rename
term
features toui_term
features. - rename
Fp
toFloating
andFloatExt
toFloatOps
. - rename
Floating
andFloatOps
float parameters tox
,y
z
. - rename
Floating
andFloatOps
method:round
toround_ties_away
. - rename
FromPrimitives
toPrimitiveJoin
andIntoPrimitives
toPrimitiveSplit
. - rename fn
mem_ptr_ratio
and methodSize::ptr_ratio
toptr_size_ratio
. - rename reexported time types:
Duration
toSystemDuration
,Instant
toSystemInstant
. - reexport
BitwisePrimitives
andCastPrimitives
traits fromprelude
. - change
Ansi::print
method andansip
macro to depend onstd
. - improve
Floating
type andFloatOps
trait to be partially available withoutstd
orlibm
features, reverting to the taylor versions when there's no better option. - impl
DataCollection
forarray
,Vec
,VecDeque
,OrderedMap
,OrderedSet
,UnorderedMap
,UnorderedSet
. - impl
Error
andDisplay
forNumErrors
. - make
ascii_calc_digit_*
functions public. - make
DataCollection
always available. - make
prime_number_theorem
compilable withoutlibm
norstd
. - make
devela_macros
a non-optional dependency, and update it. - update color gamma fns, rename to
color_gamma_[apply|remove]_f*
, addf64
versions. - update
DataCollection
methods to returnDataResult
; add new methodscollection_contains
,collection_count
. - update
IntoPrimitives
related method to takeself
, remove one generic argument. - update
CastPrimitives
with missingusize
andisize
methods. - update
Collection
trait. - update crate description.
- update
devela_depend
.
Fixed
- fix
bytemuck
dependency whendata
is enabled. - update and improve CI tests.
- add many missing attributes.
- fix and update many docs.
Full Changelog: v0.18.1...v0.19.0