- Added new dependencies: `colored`, `lazy_static`, `sqlformat`, and `unicode_categories` to improve code readability and SQL formatting capabilities. - Introduced a new module `format_sql` for better SQL query formatting in `fit_model.rs`. - Updated `fit_model.rs` to utilize the new `format_sql` function for logging SQL commands, enhancing clarity in database operations. - Adjusted the `Cargo.toml` and `Cargo.lock` files to reflect the new dependencies and their versions. These changes improve the maintainability and readability of the code, particularly in the context of SQL operations.
29 lines
652 B
TOML
29 lines
652 B
TOML
[package]
|
|
name = "mf-fitter"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
anyhow = "1.0"
|
|
clap = { version = "4.4", features = ["derive"] }
|
|
ctrlc = "3.4"
|
|
deadpool-postgres = "0.11"
|
|
dotenv = "0.15"
|
|
futures = "0.3"
|
|
libmf = "0.3"
|
|
log = "0.4"
|
|
ndarray = { version = "0.15", features = ["blas"] }
|
|
ndarray-linalg = { version = "0.16", features = ["openblas-system"] }
|
|
num_cpus = "1.16"
|
|
plotly = { version = "0.8", features = ["kaleido"] }
|
|
pretty_env_logger = "0.5"
|
|
rand = "0.8"
|
|
rand_distr = "0.4"
|
|
tokio = { version = "1.35", features = ["full"] }
|
|
tokio-postgres = "0.7"
|
|
bytes = "1.5.0"
|
|
indicatif = "0.17"
|
|
sqlformat = "0.2"
|
|
colored = "2.1"
|
|
regex = "1.10"
|