-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathCargo.toml
33 lines (26 loc) · 826 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
[package]
name = "fallible_collections"
version = "0.5.1"
authors = ["vcombey <vcombey@student.42.fr>"]
edition = "2021"
license = "MIT OR Apache-2.0"
repository = "https://github.com/vcombey/fallible_collections.git"
description = "a crate which adds fallible allocation api to std collections"
readme = "README.md"
keywords = ["fallible", "allocation", "collections", "oom", "try-reserve"]
categories = ["rust-patterns", "memory-management"]
rust-version = "1.64"
[dependencies]
hashbrown = { version = "0.14", optional = true }
[features]
default = ["hashmap"]
# Allow use of std
std = []
# Functionality based on std::io types
std_io = ["std"]
# Add fallible `HashMap`
hashmap = ["dep:hashbrown"]
# Enable on nightly builds to allow use of unstable features
unstable = []
# Obsolete. Always enabled.
rust_1_57 = []