[package]
edition = "2024"
rust-version = "1.97"
name = "reserving-kernels"
version = "0.2.3"
authors = ["Robert Jurgens, FCAS <robertdjurgens@gmail.com>"]
build = false
exclude = [
"assets/",
".github/",
".githooks/",
".gitignore",
".gitattributes",
".env",
".env.*",
"scripts/",
"benches/baseline-*.json",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure Rust numeric kernels for P&C actuarial reserving and reserve-risk capital modeling."
homepage = "https://sinisterrob.github.io"
documentation = "https://docs.rs/reserving-kernels"
readme = "README.md"
keywords = [
"actuarial",
"reserving",
"chain-ladder",
"bootstrap",
"insurance",
]
categories = [
"mathematics",
"science",
"simulation",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/SinisterRob/reserving-kernels"
[package.metadata.docs.rs]
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
default = []
wasm = []
[lib]
name = "reserving_kernels"
crate-type = [
"cdylib",
"rlib",
]
path = "src/lib.rs"
[[example]]
name = "export_exhibit"
path = "examples/export_exhibit.rs"
[[test]]
name = "kernels"
path = "tests/kernels.rs"
[[test]]
name = "source_benchmarks"
path = "tests/source_benchmarks.rs"
[[test]]
name = "subannual"
path = "tests/subannual.rs"
[[bench]]
name = "kernels"
path = "benches/kernels.rs"
harness = false
[[bench]]
name = "triangle_algebra"
path = "benches/triangle_algebra.rs"
harness = false
[dependencies.serde]
version = "1"
features = ["derive"]
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.serde_json]
version = "1"
[lints.clippy]
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
clone_on_ref_ptr = "warn"
dbg_macro = "warn"
derive_partial_eq_without_eq = "warn"
doc_markdown = "allow"
float_cmp = "allow"
imprecise_flops = "warn"
lossy_float_literal = "warn"
many_single_char_names = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_range_loop = "allow"
neg_cmp_op_on_partial_ord = "allow"
return_self_not_must_use = "allow"
similar_names = "allow"
suboptimal_flops = "allow"
todo = "warn"
too_long_first_doc_paragraph = "allow"
too_many_lines = "allow"
undocumented_unsafe_blocks = "warn"
unimplemented = "warn"
unreadable_literal = "allow"
[lints.clippy.pedantic]
level = "warn"
priority = -1