[package]
edition = "2021"
name = "btctax-core"
version = "0.13.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Offline US Bitcoin tax engine — per-lot cost basis, realized gains, and IRS-form projection (part of btctax)."
homepage = "https://github.com/bg002h/bitcoin_tax"
readme = false
keywords = [
"bitcoin",
"tax",
"cryptocurrency",
"accounting",
"ledger",
]
categories = ["finance"]
license = "MIT OR Unlicense"
repository = "https://github.com/bg002h/bitcoin_tax"
[lib]
name = "btctax_core"
path = "src/lib.rs"
[[test]]
name = "compliance"
path = "tests/compliance.rs"
[[test]]
name = "corrections"
path = "tests/corrections.rs"
[[test]]
name = "decision_bad_target"
path = "tests/decision_bad_target.rs"
[[test]]
name = "defensive_discovery"
path = "tests/defensive_discovery.rs"
[[test]]
name = "defensive_era"
path = "tests/defensive_era.rs"
[[test]]
name = "defensive_journey"
path = "tests/defensive_journey.rs"
[[test]]
name = "determinism"
path = "tests/determinism.rs"
[[test]]
name = "evaluate"
path = "tests/evaluate.rs"
[[test]]
name = "golden_returns"
path = "tests/golden_returns.rs"
[[test]]
name = "harvest"
path = "tests/harvest.rs"
[[test]]
name = "kat_conservative"
path = "tests/kat_conservative.rs"
[[test]]
name = "kat_forms"
path = "tests/kat_forms.rs"
[[test]]
name = "kat_promote"
path = "tests/kat_promote.rs"
[[test]]
name = "kat_tax"
path = "tests/kat_tax.rs"
[[test]]
name = "kat_tranche"
path = "tests/kat_tranche.rs"
[[test]]
name = "lot_selection"
path = "tests/lot_selection.rs"
[[test]]
name = "method_election"
path = "tests/method_election.rs"
[[test]]
name = "method_election_scoped"
path = "tests/method_election_scoped.rs"
[[test]]
name = "optimize_compliance"
path = "tests/optimize_compliance.rs"
[[test]]
name = "optimize_mode1"
path = "tests/optimize_mode1.rs"
[[test]]
name = "optimize_mode2"
path = "tests/optimize_mode2.rs"
[[test]]
name = "optimize_score"
path = "tests/optimize_score.rs"
[[test]]
name = "optimize_wash_sale"
path = "tests/optimize_wash_sale.rs"
[[test]]
name = "persistence"
path = "tests/persistence.rs"
[[test]]
name = "properties"
path = "tests/properties.rs"
[[test]]
name = "pseudo_reconcile"
path = "tests/pseudo_reconcile.rs"
[[test]]
name = "reclassify_income"
path = "tests/reclassify_income.rs"
[[test]]
name = "safe_harbor_method"
path = "tests/safe_harbor_method.rs"
[[test]]
name = "tax_compute"
path = "tests/tax_compute.rs"
[[test]]
name = "transition"
path = "tests/transition.rs"
[[test]]
name = "voidable"
path = "tests/voidable.rs"
[[test]]
name = "whatif"
path = "tests/whatif.rs"
[dependencies.rusqlite]
version = "0.31"
features = ["bundled"]
[dependencies.rust_decimal]
version = "1.36"
features = [
"serde-str",
"std",
]
default-features = false
[dependencies.rust_decimal_macros]
version = "1.36"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
features = ["preserve_order"]
[dependencies.sha2]
version = "0.10"
[dependencies.thiserror]
version = "1"
[dependencies.time]
version = "0.3"
features = [
"serde-well-known",
"macros",
"parsing",
"formatting",
]
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.rust_decimal_macros]
version = "1.36"