[package]
edition = "2021"
name = "frunk"
version = "0.5.0"
authors = ["Lloyd <lloydmeta@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Frunk provides developers with a number of functional programming tools like HList, Coproduct, Generic, LabelledGeneric, Validated, Monoid, Semigroup and friends."
documentation = "https://docs.rs/frunk"
readme = "README.md"
keywords = [
"Frunk",
"HList",
"Generic",
"Validated",
"Monoid",
]
license = "MIT"
repository = "https://github.com/lloydmeta/frunk"
[badges.travis-ci]
repository = "lloydmeta/frunk"
[features]
alloc = [
"frunk_core/alloc",
"serde?/alloc",
]
default = [
"validated",
"proc-macros",
"alloc",
]
proc-macros = ["frunk_proc_macros"]
std = [
"alloc",
"serde?/std",
]
validated = ["alloc"]
[lib]
name = "frunk"
path = "src/lib.rs"
[[example]]
name = "generic"
path = "examples/generic.rs"
[[example]]
name = "labelled"
path = "examples/labelled.rs"
[[example]]
name = "paths"
path = "examples/paths.rs"
required-features = ["proc-macros"]
[[test]]
name = "coproduct_tests"
path = "tests/coproduct_tests.rs"
[[test]]
name = "generic_tests"
path = "tests/generic_tests.rs"
[[test]]
name = "labelled_tests"
path = "tests/labelled_tests.rs"
[[test]]
name = "macro_tests"
path = "tests/macro_tests.rs"
[[test]]
name = "validated_tests"
path = "tests/validated_tests.rs"
[[bench]]
name = "empty"
path = "benches/empty.rs"
[[bench]]
name = "generic"
path = "benches/generic.rs"
[[bench]]
name = "hlist"
path = "benches/hlist.rs"
[[bench]]
name = "labelled"
path = "benches/labelled.rs"
[[bench]]
name = "monoid"
path = "benches/monoid.rs"
[[bench]]
name = "path"
path = "benches/path.rs"
[[bench]]
name = "semigroup"
path = "benches/semigroup.rs"
[[bench]]
name = "transmogrify"
path = "benches/transmogrify.rs"
[[bench]]
name = "validated"
path = "benches/validated.rs"
[dependencies.frunk_core]
version = "0.5.0"
default-features = false
[dependencies.frunk_derives]
version = "0.5.0"
default-features = false
[dependencies.frunk_proc_macros]
version = "0.1.5"
optional = true
default-features = false
[dependencies.serde]
version = "^1.0"
features = ["derive"]
optional = true
[dev-dependencies.frunk_laws]
version = "0.5.3"
default-features = false
[dev-dependencies.time]
version = "0.3"
[profile.bench]
opt-level = 3
lto = false
codegen-units = 1
debug = 0
debug-assertions = false
rpath = false