# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "btctax-core"
version = "0.3.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 = "determinism"
path = "tests/determinism.rs"

[[test]]
name = "evaluate"
path = "tests/evaluate.rs"

[[test]]
name = "kat_forms"
path = "tests/kat_forms.rs"

[[test]]
name = "kat_tax"
path = "tests/kat_tax.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"

[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"

[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"
