refactor: Update Rust version to 1.95, add SSRF protection to ES2 client, and fix CLI API endpoint paths

- Change rust-version from "1.94" to "1.95" in workspace Cargo.toml
- Add validateURL method to ES2Client with private IP blocking and domain whitelisting
- Add SSRF validation to DownloadProfile and GetProfileStatus endpoints
- Add slices, errors, net, and url imports to es2/client.go
- Update CLI charging API endpoints from /v1 to /api/v1 prefix
- Fix DeductCredit response handling to use nil
This commit is contained in:
nutcas3
2026-05-01 00:41:57 +03:00
parent b1f18e1a4e
commit dd346a7484
3 changed files with 45 additions and 5 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ resolver = "2"
version = "1.0.0"
authors = ["TaaS Team <[email protected]>"]
edition = "2024"
rust-version = "1.94"
rust-version = "1.95"
license = "MIT"
[workspace.metadata.cargo-audit]