-
Notifications
You must be signed in to change notification settings - Fork 58
/
Copy pathCargo.toml
121 lines (106 loc) · 3.32 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
[package]
name = "investments"
version = "7.2.0"
description = "Helps you with managing your investments"
keywords = ["finance", "investment", "stocks", "trading", "taxes"]
categories = ["command-line-utilities"]
authors = ["Dmitry Konishchev <[email protected]>"]
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/tbank/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.8.0"
calamine = "0.26.1"
chrono = "0.4.39"
chrono-tz = "0.10.1"
cast = "0.3.0"
clap = "4.5.27"
clap_complete = "4.5.44"
csv = "1.3.1"
cusip = "0.3.0"
dyn-clone = "1.0.18"
easy-logging = "1.0.0"
encoding_rs = "0.8.35"
governor = "0.8.0"
indoc = "2.0.5"
isin = "0.1.18"
itertools = "0.14.0"
lazy_static = "1.5.0"
log = "0.4.25"
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.5.0"
prettytable-rs = "0.10.0"
prometheus = "0.13.4"
prost = "0.13"
prost-types = "0.13"
quick-xml = { version = "0.37.2", features = [ "serialize" ] }
rayon = "1.10.0"
regex = "1.11.1"
reqwest = { version = "0.12.12", features = ["blocking", "json"] }
scraper = "0.22.0"
separator = "0.4.1"
serde = { version = "1.0.217", features = ["derive"] }
serde_json = "1.0.138"
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.43.0"
tonic = { version = "0.12", features = ["tls", "tls-roots"] }
uuid = { version = "1.12.1", features = ["v4", "serde"] }
validator = { version = "0.20.0", features = ["derive"] }
xml-rs = "0.8.25"
yaml-merge-keys = { version = "0.7.0", features = ["serde_yaml"] }
diesel = { version = "2.2.7", 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.75"
xls_table_derive = "0.8.5"
[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.6.1"
qtrac-retest = { path = "tests/retest" } # The original crate has been removed from crates.io (https://github.com/KonishchevDmitry/investments/issues/84)
rstest = "0.24.0"
tempfile = "3.16.0"
url = "2.5.4"