| 1 |
[package] |
| 2 |
name = "fallible_collections" |
| 3 |
version = "0.4.9" |
| 4 |
authors = ["vcombey <[email protected]>"] |
| 5 |
edition = "2018" |
| 6 |
license = "MIT/Apache-2.0" |
| 7 |
|
| 8 |
repository = "https://github.com/vcombey/fallible_collections.git" |
| 9 |
description = "a crate which adds fallible allocation api to std collections" |
| 10 |
readme = "README.md" |
| 11 |
keywords = ["fallible", "collections"] |
| 12 |
|
| 13 |
[dependencies] |
| 14 |
hashbrown = { version = "0.13", optional = true } |
| 15 |
|
| 16 |
[features] |
| 17 |
default = ["hashmap"] |
| 18 |
# Enable on nightly builds to allow use of unstable features |
| 19 |
unstable = [] |
| 20 |
# Functionality based on std::io types |
| 21 |
std_io = ["std"] |
| 22 |
# Allow use of std |
| 23 |
std = [] |
| 24 |
# Allow use of hashmap |
| 25 |
hashmap = ["hashbrown"] |
| 26 |
# Use fallible functions added in Rust 1.57 |
| 27 |
rust_1_57 = [] |