[package]
edition = "2024"
name = "rustica"
version = "0.12.0"
authors = ["jeong-il suk <wjddlf211@naver.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rustica is a functional programming library for the Rust language."
documentation = "https://docs.rs/rustica"
readme = "README.md"
keywords = [
"functional",
"immutable",
"monad",
"persistent",
"data-structures",
]
categories = [
"data-structures",
"rust-patterns",
"algorithms",
]
license = "Apache-2.0"
repository = "https://github.com/but212/rustica"
[package.metadata]
msrv = "1.88.0"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
async = [
"futures",
"tokio",
]
default = []
develop = ["full"]
full = [
"async",
"serde",
]
serde = [
"dep:serde",
"smallvec/serde",
"serde/rc",
]
[lib]
name = "rustica"
path = "src/lib.rs"
[[example]]
name = "advanced_parser"
path = "examples/advanced_parser.rs"
[[example]]
name = "choice_migration_v0_11_0"
path = "examples/choice_migration_v0_11_0.rs"
[[example]]
name = "error"
path = "examples/error.rs"
[[example]]
name = "identity_migration_v0_11_0"
path = "examples/identity_migration_v0_11_0.rs"
[[example]]
name = "readme"
path = "examples/readme.rs"
[[test]]
name = "mod"
path = "tests/mod.rs"
[[bench]]
name = "datatypes_benchmarks"
path = "benches/datatypes_benchmarks.rs"
harness = false
[dependencies.futures]
version = "0.3"
features = ["thread-pool"]
optional = true
[dependencies.lazy_static]
version = "1.5.0"
[dependencies.quickcheck]
version = "1.0"
[dependencies.rayon]
version = "1.10.0"
[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true
[dependencies.serde_json]
version = "1.0.143"
[dependencies.smallvec]
version = "1.14.0"
[dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
"time",
]
optional = true
[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]
[dev-dependencies.quickcheck]
version = "1.0"
[dev-dependencies.quickcheck_macros]
version = "1.0"