[package] name = "investments" version = "6.9.0" description = "Helps you with managing your investments" keywords = ["finance", "investment", "stocks", "trading", "taxes"] categories = ["command-line-utilities"] authors = ["Dmitry Konishchev "] homepage = "https://github.com/KonishchevDmitry/investments" repository = "https://github.com/KonishchevDmitry/investments" documentation = "https://github.com/KonishchevDmitry/investments" license = "GPL-3.0+" readme = "README.md" edition = "2021" exclude = ["/src/quotes/tinkoff/api", "/testdata"] [[bin]] name = "investments" path = "src/bin/investments/mod.rs" # Used by regression tests [[example]] name = "tax-statement-parser" path = "examples/tax_statement_parser.rs" [lints.clippy] collapsible-if = "allow" derive-partial-eq-without-eq = "allow" new-ret-no-self = "allow" new-without-default = "allow" redundant-field-names = "allow" too-many-arguments = "allow" type-complexity = "allow" unit-arg = "allow" [profile.release] codegen-units = 1 lto = true [dependencies] ansi_term = "0.12.1" bitflags = "2.6.0" calamine = "0.25.0" chrono = "0.4.38" chrono-tz = "0.10.0" cast = "0.3.0" clap = "4.5.18" clap_complete = "4.5.29" csv = "1.3.0" cusip = "0.3.0" dyn-clone = "1.0.17" easy-logging = "1.0.0" encoding_rs = "0.8.34" governor = "0.6.3" indoc = "2.0.5" isin = "0.1.18" itertools = "0.13.0" lazy_static = "1.5.0" log = "0.4.22" maplit = "1.0.2" matches = "0.1.10" maybe-owned = "0.3.4" num-integer = "0.1.46" num-traits = "0.2.19" platforms = "3.4.1" prettytable-rs = "0.10.0" prometheus = "0.13.4" prost = "0.13" prost-types = "0.13" quick-xml = { version = "0.36.2", features = [ "serialize" ] } rayon = "1.10.0" regex = "1.10.6" reqwest = { version = "0.12.7", features = ["blocking", "json"] } scraper = "0.20.0" separator = "0.4.1" serde = { version = "1.0.210", features = ["derive"] } serde_json = "1.0.128" serde_yaml = "0.9.34" serde-xml-rs = "0.6.0" shellexpand = "3.1.0" strum = { version = "0.26", features = ["derive"] } textwrap = "0.16.1" tokio = "1.40.0" tonic = { version = "0.12", features = ["tls", "tls-roots"] } uuid = { version = "1.10.0", features = ["v4", "serde"] } validator = { version = "0.18.1", features = ["derive"] } xml-rs = "0.8.22" yaml-merge-keys = { version = "0.7.0", features = ["serde_yaml"] } diesel = { version = "2.2.4", features = ["sqlite", "chrono"] } diesel_migrations = "2.2.0" diesel-derive-enum = { version = "2.1.0", features = ["sqlite"] } # Pin rust_decimal version since it's not stable enough yet rust_decimal = "~1.36.0" rust_decimal_macros = "~1.36.0" # FIXME(konishchev): A workaround for broken colored table rendering (https://github.com/phsym/prettytable-rs/issues/165) unicode-width = "=0.1.12" # Force static linking libsqlite3-sys = { version = ">=0.17.2, <0.28.0", features = ["bundled"] } openssl = { version = "0.10", features = ["vendored"] } static_table_derive = "0.1.72" xls_table_derive = "0.8.2" [patch.crates-io] static_table_derive = { path = "src/formatting/static_table_derive" } xls_table_derive = { path = "src/formats/xls/xls_table_derive" } [build-dependencies] tonic-build = "0.12" [dev-dependencies] mockito = "1.5.0" qtrac-retest = { path = "tests/retest" } # The original crate has been removed from crates.io (https://github.com/KonishchevDmitry/investments/issues/84) rstest = "0.22.0" tempfile = "3.12.0" url = "2.5.2"