bf1b326d5a
- Upgrade from Rust 1.70.0 to 1.82.0 to resolve dependency version conflicts - Update all GitHub Actions workflows to use Rust 1.82.0 - Regenerate Cargo.lock with compatible dependency versions (lockfile v4) - Fix Cargo.lock version incompatibility with older Cargo versions - Maintain Debian 12 compatibility (glibc 2.34) - Add lettre dependency to main dependencies section - All tests passing (25 unit tests + 6 integration tests) Fixes: lock file version `4` not understood by older Cargo versions Resolves: Modern dependencies requiring Rust 1.81+ (zerofrom, ICU crates, etc.)
36 lines
968 B
TOML
36 lines
968 B
TOML
[package]
|
|
name = "ddns_updater"
|
|
version = "1.0.0"
|
|
edition = "2021" # Use 2021 edition for better compatibility
|
|
default-run = "ddns_updater"
|
|
rust-version = "1.70" # Specify minimum Rust version for Debian 12
|
|
|
|
[dependencies]
|
|
clap = { version = "4.2.0", features = ["derive"] }
|
|
tokio = { version = "1.28.0", features = ["full"] }
|
|
async-trait = "0.1.71"
|
|
serde = { version = "1.0.164", features = ["derive"] }
|
|
serde_json = "1.0.99"
|
|
chrono = { version = "0.4.26", features = ["serde"] }
|
|
regex = "1.9.0"
|
|
reqwest = { version = "0.11.14", features = ["json", "rustls-tls"], default-features = false }
|
|
url = "2.4.0"
|
|
thiserror = "1.0.44"
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3.6.0"
|
|
tokio-test = "0.4.3"
|
|
|
|
# Build configuration for Debian 12 (libc 2.36-9+deb12u10) compatibility
|
|
[profile.release]
|
|
opt-level = 3
|
|
lto = "thin"
|
|
codegen-units = 1
|
|
panic = "abort"
|
|
strip = true
|
|
|
|
[profile.dev]
|
|
panic = "abort"
|
|
|
|
# Note: Target-specific rustflags moved to .cargo/config.toml for better control
|