[package]
edition = "2021"
rust-version = "1.70"
name = "finance-solution"
version = "0.2.0"
authors = [
"Shan Newton <shan.alexander2020@gmail.com>",
"David Thureson <David.G.Thureson@gmail.com>",
]
build = false
exclude = [
"target/*",
"roadmap_to_v0.1.md",
"rust_design_patterns.md",
"rust_design_patterns_tldr.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Finance math: TVM, cashflow, amortization, equity path metrics, and technical analysis (SMA/EMA/MACD/Bollinger/Keltner/Stoch/VWAP/RVOL) with Result-only APIs, batch series, incremental state, solutions, and tables."
documentation = "https://docs.rs/finance-solution"
readme = "README.md"
keywords = [
"finance",
"tvm",
"technical-analysis",
"quant",
"amortization",
]
categories = [
"mathematics",
"science",
]
license = "MIT"
repository = "https://github.com/shan-alexander/finance-solution"
[lib]
name = "finance_solution"
path = "src/lib.rs"
[[example]]
name = "amortization_table_demo"
path = "examples/amortization_table_demo.rs"
[[example]]
name = "common_word_problems"
path = "examples/common_word_problems.rs"
[[example]]
name = "doubling_rules"
path = "examples/doubling_rules.rs"
[[example]]
name = "early_payoff_what_if"
path = "examples/early_payoff_what_if.rs"
[[example]]
name = "price_path_analysis"
path = "examples/price_path_analysis.rs"
[[example]]
name = "ta_indicators"
path = "examples/ta_indicators.rs"
[[test]]
name = "payment"
path = "tests/payment.rs"
[[test]]
name = "returns_stocks"
path = "tests/returns_stocks.rs"
[[bench]]
name = "my_benchmark"
path = "benches/my_benchmark.rs"
harness = false
[dependencies.float-cmp]
version = "0.10"
[dependencies.itertools]
version = "0.15"
[dependencies.log]
version = "0.4"
[dependencies.num-format]
version = "0.4"
[dev-dependencies.criterion]
version = "0.8"
[dev-dependencies.proptest]
version = "1.6"
[lints.clippy]
approx_constant = "allow"
assign_op_pattern = "allow"
bool_assert_comparison = "allow"
clone_on_copy = "allow"
collapsible_if = "allow"
derivable_impls = "allow"
doc_lazy_continuation = "allow"
excessive_precision = "allow"
field_reassign_with_default = "allow"
inconsistent_digit_grouping = "allow"
init_numbered_fields = "allow"
legacy_numeric_constants = "allow"
len_zero = "allow"
manual_memcpy = "allow"
manual_range_contains = "allow"
map_clone = "allow"
match_like_matches_macro = "allow"
module_inception = "allow"
needless_borrow = "allow"
needless_range_loop = "allow"
neg_multiply = "allow"
new_without_default = "allow"
ptr_arg = "allow"
redundant_field_names = "allow"
result_large_err = "allow"
should_implement_trait = "allow"
single_match = "allow"
too_many_arguments = "allow"
type_complexity = "allow"
unnecessary_cast = "allow"
useless_borrows_in_formatting = "allow"
useless_format = "allow"
useless_vec = "allow"