[package]
edition = "2024"
rust-version = "1.88"
name = "comemo"
version = "0.5.1"
authors = ["Laurenz <laurmaedje@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Incremental computation through constrained memoization."
readme = "README.md"
keywords = [
"incremental",
"memoization",
"tracked",
"constraints",
]
categories = ["caching"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/typst/comemo"
resolver = "2"
[features]
default = ["macros"]
macros = ["dep:comemo-macros"]
testing = []
[lib]
name = "comemo"
path = "src/lib.rs"
[[example]]
name = "basic"
path = "examples/basic.rs"
[[example]]
name = "calc"
path = "examples/calc.rs"
[[test]]
name = "tests"
path = "tests/tests.rs"
required-features = [
"macros",
"testing",
]
[dependencies.comemo-macros]
version = "0.5.1"
optional = true
[dependencies.parking_lot]
version = "0.12"
[dependencies.rustc-hash]
version = "2.1"
[dependencies.siphasher]
version = "1"
[dependencies.slab]
version = "0.4"
[dev-dependencies.quickcheck]
version = "1"
[dev-dependencies.quickcheck_macros]
version = "1"
[dev-dependencies.serial_test]
version = "3"