[package]
edition = "2024"
name = "fp-library"
version = "0.12.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"]
serde = ["dep:serde"]
[lib]
name = "fp_library"
path = "src/lib.rs"
[[test]]
name = "ado_notation"
path = "tests/ado_notation.rs"
[[test]]
name = "compile_fail"
path = "tests/compile_fail.rs"
[[test]]
name = "do_notation"
path = "tests/do_notation.rs"
[[test]]
name = "document_fields_example"
path = "tests/document_fields_example.rs"
[[test]]
name = "hkt_integration"
path = "tests/hkt_integration.rs"
[[test]]
name = "lifetime_turbofish_test"
path = "tests/lifetime_turbofish_test.rs"
[[test]]
name = "optics_test"
path = "tests/optics_test.rs"
[[test]]
name = "pointer_integration"
path = "tests/pointer_integration.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.5"
[dependencies.rayon]
version = "1.11"
optional = true
[dependencies.serde]
version = "1.0"
features = ["derive"]
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"
[lints.clippy]
expect_used = "warn"
indexing_slicing = "warn"
panic = "warn"
todo = "warn"
unimplemented = "warn"
unreachable = "warn"
unwrap_used = "warn"