From f2eeb98d0648820d0d29aaec2ade195bb5d8f72e Mon Sep 17 00:00:00 2001 From: cat-dev-null Date: Sat, 7 Mar 2026 20:50:35 -0700 Subject: [PATCH 1/2] build: added more options to optimize release binary size --- Cargo.toml | 2 ++ makefile | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 2ed9ea2..4d27efb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -29,6 +29,8 @@ debug = true lto = true overflow-checks = true panic = "abort" +strip = true +opt-level = "z" [dependencies] diff --git a/makefile b/makefile index 8dc36b1..d60ffc2 100644 --- a/makefile +++ b/makefile @@ -12,14 +12,13 @@ build: build-release: @cargo build --release --verbose - # @strip "${CARGO_TARGET_DIR:-target}/release/doge" build-time: @cargo +nightly clean @cargo +nightly build -Z timings build-quick: - @cargo build --no-default-features + @cargo build --no-default-features # Check the compilation check: From 1be903727a4cbf8f9176507a8dec616de367cd1f Mon Sep 17 00:00:00 2001 From: cat-dev-null Date: Sat, 7 Mar 2026 21:51:56 -0700 Subject: [PATCH 2/2] docs: fixed typo in Readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2f024c6..698295d 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ doge example.net MX ...looking up MX records instead doge example.net MX @1.1.1.1 ...using a specific nameserver instead doge example.net MX @1.1.1.1 -T ...using TCP rather than UDP - doge exapple.net MX @1.1.1.1 -p 69 ...using a nonstandard port + doge example.net MX @1.1.1.1 -p 69 ...using a nonstandard port doge -q example.net -t MX -n 1.1.1.1 -T As above, but using explicit arguments @@ -90,7 +90,7 @@
         Homebrew: brew install doge
         Cargo: cargo install dns-doge
-        ArchLinux: yay -S dns_doge
+        ArchLinux: yay -S dns-doge
         Ubuntu/Debian: Comming Soon
         RHEL/Fedora/Cenos: Publishing rpm