[package]
edition = "2021"
name = "timed-map"
version = "1.7.0"
authors = ["Onur Ozkan <onur@orkavian.dev>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Lightweight map implementation that supports expiring entries and fully compatible with both std and no_std environments."
homepage = "https://github.com/orkavian/timed-map"
documentation = "https://docs.rs/timed-map"
readme = "README.md"
keywords = [
"map",
"no_std",
]
categories = [
"data-structures",
"no-std",
]
license = "MIT"
repository = "https://github.com/orkavian/timed-map"
[features]
default = ["std"]
rustc-hash = ["dep:rustc-hash"]
serde = ["dep:serde"]
std = []
wasm = ["dep:web-time"]
[lib]
name = "timed_map"
path = "src/lib.rs"
doctest = false
[dependencies.rustc-hash]
version = "2.0"
optional = true
[dependencies.serde]
version = "1.0"
optional = true
default-features = false
[dependencies.web-time]
version = "1.1"
optional = true
default-features = false
[dev-dependencies.serde_json]
version = "1.0"