Update dependencies and enhance SQL formatting in fit_model
- 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.
This commit is contained in:
@@ -23,3 +23,6 @@ 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"
|
||||
|
||||
Reference in New Issue
Block a user