Skip to content

Releases: RustEnthusiast/nstd

NSTD 0.4.0

22 Dec 15:28
Compare
Choose a tag to compare
NSTD 0.4.0 Pre-release
Pre-release

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 returns NSTDIOStringResult.
  • nstd_fs_read now returns NSTDIOBufferResult.

nstd.heap_ptr

  • nstd_heap_ptr_new_zeroed is now unsafe.

nstd.io

  • nstd_io_read[_line] now returns NSTDIOStringResult.
  • 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 takes NSTDCStr.

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 returns NSTDOptionalStr.
  • NSTDThreadDescriptor::name is now NSTDOptionalStr.
  • Added nstd_thread_current.

nstd.vec

  • Added nstd_vec_end[_mut].
  • Added nstd_vec_set_len.
  • Renamed nstd_vec_as_mut_ptr to nstd_vec_as_ptr_mut.

NSTD 0.3.3

27 Nov 13:26
Compare
Choose a tag to compare
NSTD 0.3.3 Pre-release
Pre-release

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

10 Nov 18:47
Compare
Choose a tag to compare
NSTD 0.3.2 Pre-release
Pre-release

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

10 Nov 15:16
Compare
Choose a tag to compare
NSTD 0.3.1 Pre-release
Pre-release

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

10 Nov 07:02
Compare
Choose a tag to compare
NSTD 0.3.0 Pre-release
Pre-release

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 return NSTDOptional.
  • Added cstr[_mut]_[first|last][_const].
  • Added ops.
  • Added cty_is_unicode.
  • Renamed str[_mut]_get_char to str[_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 to into_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 to NSTDWindowsHeap.

nstd.shared_lib

  • Added NSTDOptionalSharedLib.

nstd.string

  • Added clear.
  • Added from_str.
  • Renamed to_bytes to into_bytes.

nstd.vec

  • Added clear.
  • Added from_slice.

NSTD 0.2.0

29 Sep 14:40
Compare
Choose a tag to compare
NSTD 0.2.0 Pre-release
Pre-release

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 take NSTDChar.
  • 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

04 Sep 18:46
Compare
Choose a tag to compare
NSTD 0.1.3 Pre-release
Pre-release

What's Changed

nstd

  • Added extern "C" to NSTDAPI (removes NSTDCPP[START|END]).

nstd.core

  • Removed nstd_core_slice[_mut]_compare.

NSTD 0.1.2

30 Aug 05:36
Compare
Choose a tag to compare
NSTD 0.1.2 Pre-release
Pre-release

What's Changed

nstd

  • Removed Const postfix from NSTDAnyConst.

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 from NSTD[Ptr|Slice|Str|CStr]Const.

nstd.string

  • Added nstd_string_byte_len.

NSTD 0.1.1

20 Aug 19:45
Compare
Choose a tag to compare
NSTD 0.1.1 Pre-release
Pre-release

What's Changed

nstd

  • Renamed NSTD[I|U]Size to NSTD[U]Int.

nstd.core

  • Fixed math.div_ceil functions returning the incorrect value.

NSTD 0.1.0

19 Aug 00:28
Compare
Choose a tag to compare
NSTD 0.1.0 Pre-release
Pre-release

The first release of nstd.