| Crates.io | stack-buf |
| lib.rs | stack-buf |
| version | 0.1.6 |
| created_at | 2021-04-09 18:08:49.997271+00 |
| updated_at | 2021-05-01 17:12:39.495386+00 |
| description | Vector-like facade for arrays allocated entirely on the stack. |
| homepage | https://github.com/davidli2010/stack-buf |
| repository | https://github.com/davidli2010/stack-buf.git |
| max_upload_size | |
| id | 381412 |
| size | 87,058 |
Vector-like facade for arrays allocated entirely on the stack. Shallow wrapper around an underlying [T; N], which panics if the array bounds are exceeded.
Please read the API docs here.
stdEnabled by default. Use std library; disable to use no_std instead.
strWhen this optional dependency is enabled, StackStr is available.
serdeWhen this optional dependency is enabled, StackVec and StackStr implement the serde::Serialize and serde::Deserialize traits.
This version of stack-buf requires Rust 1.51 or later.
Dual-licensed to be compatible with the Rust project.
Licensed under the Apache License, Version 2.0 http://www.apache.org/licenses/LICENSE-2.0 or the MIT license http://opensource.org/licenses/MIT, at your option. This file may not be copied, modified, or distributed except according to those terms.
Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in stack-buf by you, shall be licensed as Apache-2.0 and MIT, without any additional
terms or conditions.
stack-buf is inspired by arrayvec and stackvector, and copy code snippets from them.