[package]
edition = "2024"
name = "currying"
version = "0.4.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A crate for currying anything implementing `FnOnce`. Arguments can be passed one at a time, yielding a new something implementing `FnOnce` (and possibly `FnMut` and `Fn`) which can be called with one less argument."
readme = "README.md"
keywords = [
"function",
"fp",
"curry",
"currying",
"haskell",
]
categories = [
"rust-patterns",
"algorithms",
"mathematics",
"no-std::no-alloc",
]
license = "MIT"
repository = "https://github.com/sigurd4/currying"
[badges.maintainence]
status = "as-is"
[features]
128 = [
"tupleops/128",
"96",
]
16 = [
"tupleops/16",
"8",
]
160 = [
"tupleops/160",
"128",
]
192 = [
"tupleops/192",
"160",
]
224 = [
"tupleops/224",
"192",
]
256 = [
"tupleops/256",
"224",
]
32 = [
"tupleops/32",
"16",
]
64 = [
"tupleops/64",
"32",
]
8 = ["tupleops/8"]
96 = [
"tupleops/96",
"64",
]
default = [
"rcurry",
"16",
]
dont_hurt_yourself_by_using_all_features = [
"tupleops/dont_hurt_yourself_by_using_all_features",
"256",
]
rcurry = []
[lib]
name = "currying"
path = "src/lib.rs"
[dependencies.moddef]
version = "0.3.0"
[dependencies.tupleops]
version = "0.1.1"
features = ["concat"]
[dependencies.tupleops-macros]
version = "0.1.0"