mirror of
https://github.com/andwati/telecom-platform.git
synced 2026-11-23 20:38:48 +00:00
refactor: Fix Rust edition, remove duplicate lint rule, and improve error handling in charging-engine and packet-gateway
- Change Rust edition from "2026" to "2024" in workspace Cargo.toml - Remove duplicate expect_used lint rule from workspace lints - Prefix unused account variable with underscore in calculate_usage_cost - Split CARGO_MANIFEST_DIR assignment into separate variable in run_migrations - Clone plan_id before moving plan in add_rating_plan handler - Replace expect() with unwrap() in governor
This commit is contained in:
+1
-2
@@ -8,7 +8,7 @@ resolver = "2"
|
||||
[workspace.package]
|
||||
version = "1.0.0"
|
||||
authors = ["TaaS Team <[email protected]>"]
|
||||
edition = "2026"
|
||||
edition = "2024"
|
||||
rust-version = "1.94"
|
||||
license = "MIT"
|
||||
|
||||
@@ -27,7 +27,6 @@ unwrap_used = "deny"
|
||||
expect_used = "deny"
|
||||
panic = "deny"
|
||||
unwrap_in_result = "deny"
|
||||
expect_used = "deny"
|
||||
unimplemented = "deny"
|
||||
todo = "warn"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user