mirror of
https://github.com/openharmony/third_party_rust_tinyvec.git
synced 2026-07-19 22:33:42 -04:00
std feature now automatically activates the alloc feature
Closes https://github.com/Lokathor/tinyvec/issues/159
This commit is contained in:
+1
-1
@@ -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`.
|
||||
|
||||
Reference in New Issue
Block a user