mirror of
https://github.com/openharmony/third_party_rust_tinyvec.git
synced 2026-07-19 14:23:33 -04:00
8eaaec04e8
add nightly_const_generics flag
46 lines
1.1 KiB
TOML
46 lines
1.1 KiB
TOML
[package]
|
|
name = "tinyvec"
|
|
description = "Just, really the littlest Vec you could need. So smol."
|
|
version = "1.0.0-alpha.0"
|
|
authors = ["Lokathor <zefria@gmail.com>"]
|
|
edition = "2018"
|
|
license = "Zlib"
|
|
keywords = ["vec", "no_std", "no-std", "smol"]
|
|
categories = ["data-structures", "no-std"]
|
|
repository = "https://github.com/Lokathor/tinyvec"
|
|
|
|
[dependencies]
|
|
# not even std!
|
|
|
|
[features]
|
|
default = []
|
|
|
|
# Provide things that utilize the `alloc` crate.
|
|
alloc = []
|
|
|
|
# (not part of Vec!) Extra methods to let you grab the slice of memory after the
|
|
# "active" portion of an `ArrayVec`.
|
|
grab_spare_slice = []
|
|
|
|
# allow use of nightly feature `slice_partition_dedup`,
|
|
# will become useless once that is stabilized:
|
|
# https://github.com/rust-lang/rust/issues/54279
|
|
nightly_slice_partition_dedup = []
|
|
|
|
# use const generics for arrays
|
|
nightly_const_generics = []
|
|
|
|
[badges]
|
|
appveyor = { repository = "Lokathor/tinyvec" }
|
|
travis-ci = { repository = "Lokathor/tinyvec" }
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
|
|
[workspace]
|
|
members = ["fuzz"]
|
|
|
|
[[test]]
|
|
name = "tinyvec"
|
|
required-features = ["alloc"]
|