mirror of
https://github.com/timothymiller/cloudflare-ddns.git
synced 2026-03-26 08:58:57 -03:00
Switch reqwest to rustls-no-provider and add rustls crate; install rustls provider at startup. Replace regex::Regex with regex_lite::Regex across code. Consolidate api_get/post/put/delete into a single api_request that takes a Method and optional body. Add .dockerignore and UPX compression in Dockerfile. Remove unused domain/IDNA code, trim dead helpers, tweak tokio flavor and release opt-level, and update tests to use crate::test_client()
28 lines
729 B
TOML
28 lines
729 B
TOML
[package]
|
|
name = "cloudflare-ddns"
|
|
version = "2.1.0"
|
|
edition = "2021"
|
|
description = "Access your home network remotely via a custom domain name without a static IP"
|
|
license = "GPL-3.0"
|
|
|
|
[dependencies]
|
|
reqwest = { version = "0.13", features = ["json", "form", "rustls-no-provider"], default-features = false }
|
|
rustls = { version = "0.23", features = ["ring"], default-features = false }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
tokio = { version = "1", features = ["rt", "macros", "time", "signal", "net"] }
|
|
regex-lite = "0.1"
|
|
url = "2"
|
|
if-addrs = "0.15"
|
|
|
|
[profile.release]
|
|
opt-level = "z"
|
|
lto = true
|
|
codegen-units = 1
|
|
strip = true
|
|
panic = "abort"
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3.27.0"
|
|
wiremock = "0.6"
|