Lokathor bc9b76badc Create CHANGELOG.md (#121)
* Create CHANGELOG.md

* Update CHANGELOG.md
2020-10-11 18:42:23 -06:00
2020-08-21 15:25:39 -06:00
2020-08-17 07:39:29 -06:00
2020-01-06 19:29:40 -07:00
2020-10-11 18:42:23 -06:00
2020-10-11 18:42:11 -06:00
2020-10-11 18:42:11 -06:00
2020-01-06 19:29:40 -07:00
2020-08-09 09:13:26 -06:00
2020-08-18 23:53:29 -06:00

License:Zlib Minimum Rust Version crates.io docs.rs

Unsafe-Zero-Percent

tinyvec

A 100% safe crate of vec-like types. #![forbid(unsafe_code)]

Main types are as follows:

  • ArrayVec is an array-backed vec-like data structure. It panics on overflow.
  • SliceVec is the same deal, but using a &mut [T].
  • TinyVec (alloc feature) is an enum that's either an Inline(ArrayVec) or a Heap(Vec). If a TinyVec is Inline and would overflow it automatically transitions to Heap and continues whatever it was doing.

To attain this "100% safe code" status there is one compromise: the element type of the vecs must implement Default.

For more details, please see the docs.rs documentation

S
Description
安全的 vec-like 类型库
Readme 845 KiB
Languages
Rust 99.5%
Python 0.3%
Shell 0.2%