Releases: RustEnthusiast/nstd
Releases · RustEnthusiast/nstd
NSTD 0.4.0
What's Changed
Full Changelog: v0.3.3...v0.4.0
nstd
- Added
nstd.env
.
nstd.core
- Added
nstd_core_ptr_raw_is_aligned
. - Added
nstd_core_ptr_raw_align[_mut]
. - Added
NSTDOptional[Ptr|Slice|CStr|Str][Mut]
. - Added
nstd_core_ptr_raw_dangling[_mut]
. - Added
nstd_core_str[_mut]_as_cstr
.
nstd.cstring
- Added
nstd_cstring_from_bytes
. - Added
nstd_cstring_from_cstr_unchecked
. - Removed
nstd_cstring_as_cstr_mut
.
nstd.fs
nstd_fs_[absolute|read_to_string]
now returnsNSTDIOStringResult
.nstd_fs_read
now returnsNSTDIOBufferResult
.
nstd.heap_ptr
nstd_heap_ptr_new_zeroed
is now unsafe.
nstd.io
nstd_io_read[_line]
now returnsNSTDIOStringResult
.- Added
NSTDIOBufferResult
&NSTDIOStringResult
.
nstd.os
- Added
NSTDWindowsHandle
. - Removed
NSTDWindowsSharedLibHandle
. - Removed
NSTDWindowsHeapHandle
. - Removed
NSTDUnixSharedLibHandle
. - [
unix.alloc
] Fixed linker error when using multiple versions of the crate.
nstd.shared_lib
nstd_shared_lib_load
now takesNSTDCStr
.
nstd.shared_ptr
nstd_shared_ptr_new_zeroed
is now unsafe.
nstd.string
- Added
nstd_string_from_bytes
.
nstd.thread
- Added
NSTDThreadResult
. nstd_thread_name
now returnsNSTDOptionalStr
.NSTDThreadDescriptor::name
is nowNSTDOptionalStr
.- Added
nstd_thread_current
.
nstd.vec
- Added
nstd_vec_end[_mut]
. - Added
nstd_vec_set_len
. - Renamed
nstd_vec_as_mut_ptr
tonstd_vec_as_ptr_mut
.
NSTD 0.3.3
What's Changed
Full Changelog: v0.3.2...v0.3.3
nstd
- Internal safety improvements.
- Added
proc
- Added
thread
. - Removed dependency for
libloading
.
nstd.os
- Added
NSTDUnixSharedLibHandle
. - Added
NSTD_OS_UNIX
.
NSTD 0.3.2
What's Changed
Full Changelog: v0.3.1...v0.3.2
nstd
- Fixed docs.rs build for non-x86_64 Unix systems.
NSTD 0.3.1
What's Changed
Full Changelog: v0.3.0...v0.3.1
nstd
- Fixed docs.rs build for non-x86_64 Unix systems.
NSTD 0.3.0
What's Changed
Full Changelog: v0.2.0...v0.3.0
nstd
- The overflow behavior for the "release" profile has been set to panic.
- The panic behavior for the "release" profile has been set to abort.
nstd.core
str[_mut]_to_*
functions now returnNSTDOptional
.- Added
cstr[_mut]_[first|last][_const]
. - Added
ops
. - Added
cty_is_unicode
. - Renamed
str[_mut]_get_char
tostr[_mut]_get
. - Added
NSTDOptional
. - Added
NSTDResult
. - Added
panic
. - Made
math_[clamp|div_ceil|div_floor]_*
safe.
nstd.cstring
- Added
clear
. - Added
from_cstr
. - Renamed
to_bytes
tointo_bytes
.
nstd.fs
- Added
NSTDFileResult
.
nstd.os
- Added
NSTDWindowsHeapHandle
. - Added
NSTDWindowsSharedLibHandle
. - Added
unix.alloc
. - Added
[unix|windows].shared_lib
. - Added
NSTDWindowsHeapResult
. - Added
windows_alloc_heap_validate
. - Added
windows_alloc_heap_size
. - Added
NSTDWindowsAllocError
. - Renamed
NSTDWindowsHeapHandle
toNSTDWindowsHeap
.
nstd.shared_lib
- Added
NSTDOptionalSharedLib
.
nstd.string
- Added
clear
. - Added
from_str
. - Renamed
to_bytes
tointo_bytes
.
nstd.vec
- Added
clear
. - Added
from_slice
.
NSTD 0.2.0
What's Changed
Full Changelog: v0.1.3...v0.2.0
nstd
- Added
nstd.fs
. - Added
nstd.math
. - Added
asm
feature. - Made
NSTDChar
a primitive. - Updated windows-sys to version 0.42.
nstd.core
- Made
str[_mut]_substr
unsafe. - Made
str[_mut]_from_bytes
unsafe. - Made
str[_mut]_from_cstr
unsafe. - Renamed
cty
's ASCII functions (is_punctuation
,is_graphic
,to_lowercase
,to_uppercase
). - Added
mem_search
. - Added
str[_mut]_from_raw_cstr[_with_null]
. - Made
cstr[_mut]_get_null[_const]
unsafe. - Made
cstr[_mut]_from_raw[_with_null]
unsafe. - Renamed range types.
math_[clamp|div_ceil|div_floor]
are now unsafe.cty_is_[graphic|punctuation]
now takeNSTDChar
.- Added
math_div_floor_*
. - Added
math_pow_*
. - Added
math_abs_*
.
nstd.os
- Added
NSTD_OS_[LINUX|MACOS|WINDOWS]
constants. - Made
NSTDWindowsHeapHandle
a structure.
NSTD 0.1.3
What's Changed
nstd
- Added
extern "C"
toNSTDAPI
(removesNSTDCPP[START|END]
).
nstd.core
- Removed
nstd_core_slice[_mut]_compare
.
NSTD 0.1.2
What's Changed
nstd
- Removed
Const
postfix fromNSTDAnyConst
.
nstd.core
- Fixed
NSTDSlice[Mut]::as_slice[_mut]
returning a slice of incorrect length. - Renamed
fty
functions. - Added
nstd_core_str[_mut]_byte_len
. - Removed
Const
postfix fromNSTD[Ptr|Slice|Str|CStr]Const
.
nstd.string
- Added
nstd_string_byte_len
.
NSTD 0.1.1
What's Changed
nstd
- Renamed
NSTD[I|U]Size
toNSTD[U]Int
.
nstd.core
- Fixed
math.div_ceil
functions returning the incorrect value.
NSTD 0.1.0
The first release of nstd
.