std feature now automatically activates the alloc feature

Closes https://github.com/Lokathor/tinyvec/issues/159
This commit is contained in:
Lokathor 2022-04-25 09:35:49 -06:00 committed by GitHub
parent a53c254b88
commit 7b3392a8c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,7 +23,7 @@ default = []
alloc = ["tinyvec_macros"]
# Provide things that require Rust's `std` module
std = []
std = ["alloc"]
# (not part of Vec!) Extra methods to let you grab the slice of memory after the
# "active" portion of an `ArrayVec` or `SliceVec`.