[package]
edition = "2024"
name = "fp-library"
version = "0.7.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A functional programming library for Rust featuring your favourite higher-kinded types and type classes."
readme = "README.md"
keywords = [
"functional",
"higher-kinded",
"hkt",
"types",
]
categories = [
"algorithms",
"data-structures",
"rust-patterns",
]
license = "BlueOak-1.0.0"
repository = "https://github.com/nothingnesses/rust-fp-library"
[package.metadata.docs.rs]
all-features = true
[features]
default = []
rayon = ["dep:rayon"]
[lib]
name = "fp_library"
path = "src/lib.rs"
[[test]]
name = "compile_fail"
path = "tests/compile_fail.rs"
[[test]]
name = "hkt_integration"
path = "tests/hkt_integration.rs"
[[test]]
name = "pointer_integration"
path = "tests/pointer_integration.rs"
[[test]]
name = "property_tests"
path = "tests/property_tests.rs"
[[test]]
name = "stack_safety"
path = "tests/stack_safety.rs"
[[test]]
name = "thread_safety"
path = "tests/thread_safety.rs"
[[bench]]
name = "benchmarks"
path = "benches/benchmarks.rs"
harness = false
[dependencies.fp-macros]
version = "0.3"
[dependencies.rayon]
version = "1.11"
optional = true
[dependencies.thiserror]
version = "2.0"
[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]
[dev-dependencies.quickcheck]
version = "1.0"
[dev-dependencies.quickcheck_macros]
version = "1.1"
[dev-dependencies.trybuild]
version = "1.0"