blastdns 2.0.0__tar.gz → 2.0.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. {blastdns-2.0.0 → blastdns-2.0.2}/.github/workflows/benchmark.yml +37 -20
  2. {blastdns-2.0.0 → blastdns-2.0.2}/.github/workflows/python-tests.yml +20 -10
  3. {blastdns-2.0.0 → blastdns-2.0.2}/.github/workflows/rust-tests.yml +5 -5
  4. {blastdns-2.0.0 → blastdns-2.0.2}/Cargo.lock +78 -81
  5. {blastdns-2.0.0 → blastdns-2.0.2}/Cargo.toml +6 -6
  6. {blastdns-2.0.0 → blastdns-2.0.2}/PKG-INFO +14 -15
  7. {blastdns-2.0.0 → blastdns-2.0.2}/README.md +13 -14
  8. {blastdns-2.0.0 → blastdns-2.0.2}/pyproject.toml +1 -1
  9. blastdns-2.0.2/scripts/benchmark.py +521 -0
  10. {blastdns-2.0.0 → blastdns-2.0.2}/src/client.rs +8 -1
  11. {blastdns-2.0.0 → blastdns-2.0.2}/src/controller.rs +628 -75
  12. {blastdns-2.0.0 → blastdns-2.0.2}/src/health.rs +1 -1
  13. blastdns-2.0.2/uv.lock +972 -0
  14. blastdns-2.0.0/scripts/benchmark.py +0 -557
  15. blastdns-2.0.0/uv.lock +0 -656
  16. {blastdns-2.0.0 → blastdns-2.0.2}/.github/dependabot.yml +0 -0
  17. {blastdns-2.0.0 → blastdns-2.0.2}/.github/workflows/cla.yml +0 -0
  18. {blastdns-2.0.0 → blastdns-2.0.2}/LICENSE +0 -0
  19. {blastdns-2.0.0 → blastdns-2.0.2}/blastdns/__init__.py +0 -0
  20. {blastdns-2.0.0 → blastdns-2.0.2}/blastdns/client.py +0 -0
  21. {blastdns-2.0.0 → blastdns-2.0.2}/blastdns/exceptions.py +0 -0
  22. {blastdns-2.0.0 → blastdns-2.0.2}/blastdns/models.py +0 -0
  23. {blastdns-2.0.0 → blastdns-2.0.2}/blastdns/tests/test_batching.py +0 -0
  24. {blastdns-2.0.0 → blastdns-2.0.2}/blastdns/tests/test_client.py +0 -0
  25. {blastdns-2.0.0 → blastdns-2.0.2}/blastdns/tests/test_exceptions.py +0 -0
  26. {blastdns-2.0.0 → blastdns-2.0.2}/blastdns/tests/test_mock_client.py +0 -0
  27. {blastdns-2.0.0 → blastdns-2.0.2}/blastdns/tests/test_zone_transfer.py +0 -0
  28. {blastdns-2.0.0 → blastdns-2.0.2}/blastdns/zone_transfer.py +0 -0
  29. {blastdns-2.0.0 → blastdns-2.0.2}/examples/resolve-batch.py +0 -0
  30. {blastdns-2.0.0 → blastdns-2.0.2}/examples/resolve-single-host.py +0 -0
  31. {blastdns-2.0.0 → blastdns-2.0.2}/scripts/start-test-axfr.sh +0 -0
  32. {blastdns-2.0.0 → blastdns-2.0.2}/scripts/start-test-dns.sh +0 -0
  33. {blastdns-2.0.0 → blastdns-2.0.2}/scripts/stop-test-axfr.sh +0 -0
  34. {blastdns-2.0.0 → blastdns-2.0.2}/scripts/stop-test-dns.sh +0 -0
  35. {blastdns-2.0.0 → blastdns-2.0.2}/scripts/test-zone/db.zonetransfer.test +0 -0
  36. {blastdns-2.0.0 → blastdns-2.0.2}/scripts/test-zone/named.conf +0 -0
  37. {blastdns-2.0.0 → blastdns-2.0.2}/src/cache.rs +0 -0
  38. {blastdns-2.0.0 → blastdns-2.0.2}/src/config.rs +0 -0
  39. {blastdns-2.0.0 → blastdns-2.0.2}/src/error.rs +0 -0
  40. {blastdns-2.0.0 → blastdns-2.0.2}/src/lib.rs +0 -0
  41. {blastdns-2.0.0 → blastdns-2.0.2}/src/limiter.rs +0 -0
  42. {blastdns-2.0.0 → blastdns-2.0.2}/src/main.rs +0 -0
  43. {blastdns-2.0.0 → blastdns-2.0.2}/src/mock.rs +0 -0
  44. {blastdns-2.0.0 → blastdns-2.0.2}/src/python.rs +0 -0
  45. {blastdns-2.0.0 → blastdns-2.0.2}/src/resolver.rs +0 -0
  46. {blastdns-2.0.0 → blastdns-2.0.2}/src/sim.rs +0 -0
  47. {blastdns-2.0.0 → blastdns-2.0.2}/src/utils.rs +0 -0
  48. {blastdns-2.0.0 → blastdns-2.0.2}/src/worker.rs +0 -0
  49. {blastdns-2.0.0 → blastdns-2.0.2}/src/zone_transfer.rs +0 -0
  50. {blastdns-2.0.0 → blastdns-2.0.2}/tests/cli_tests.py +0 -0
@@ -1,8 +1,6 @@
1
1
  name: Benchmark
2
2
 
3
3
  on:
4
- push:
5
- branches: [dev, stable]
6
4
  pull_request:
7
5
 
8
6
  concurrency:
@@ -14,22 +12,27 @@ permissions:
14
12
 
15
13
  jobs:
16
14
  benchmark:
17
- runs-on: ubuntu-latest
15
+ runs-on: ubuntu-24.04
18
16
 
19
17
  steps:
18
+ # The PR merged into its base, so the comparison isolates exactly this change.
20
19
  - uses: actions/checkout@v7
21
20
 
22
- - name: Install Rust toolchain
23
- uses: actions-rust-lang/setup-rust-toolchain@v1
24
-
25
- - name: Build release binary
26
- run: cargo build --release
21
+ - name: Check out base
22
+ uses: actions/checkout@v7
23
+ with:
24
+ ref: ${{ github.event.pull_request.base.sha }}
25
+ path: .bench-base
27
26
 
28
- - name: Build MassDNS
29
- run: |
30
- git clone --depth 1 https://github.com/blechschmidt/massdns.git /tmp/massdns
31
- cd /tmp/massdns && make
32
- sudo cp /tmp/massdns/bin/massdns /usr/local/bin/massdns
27
+ - name: Install Rust toolchain
28
+ uses: actions-rust-lang/setup-rust-toolchain@v2
29
+ with:
30
+ # A base built with a newer toolchain can carry warnings; that's for the
31
+ # test workflows to catch, not a reason to skip the comparison.
32
+ build-warnings: warn
33
+ cache-workspaces: |
34
+ . -> target
35
+ .bench-base -> target
33
36
 
34
37
  - name: Set up Python
35
38
  uses: actions/setup-python@v7
@@ -39,11 +42,12 @@ jobs:
39
42
  - name: Install uv
40
43
  uses: astral-sh/setup-uv@v7
41
44
 
42
- - name: Install Python dependencies
43
- run: uv sync
45
+ - name: Build head
46
+ run: uv sync && uv run maturin develop --release
44
47
 
45
- - name: Build Python extension
46
- run: uv run maturin develop --release
48
+ - name: Build base
49
+ working-directory: .bench-base
50
+ run: uv sync && uv run maturin develop --release
47
51
 
48
52
  - name: Install dnsmasq
49
53
  run: sudo apt-get update && sudo apt-get install -y dnsmasq
@@ -52,9 +56,22 @@ jobs:
52
56
  run: sudo ./scripts/start-test-dns.sh
53
57
 
54
58
  - name: Run benchmark
55
- run: uv run python scripts/benchmark.py > benchmark_report.md
56
-
59
+ env:
60
+ BASE_SHA: ${{ github.event.pull_request.base.sha }}
61
+ HEAD_SHA: ${{ github.event.pull_request.head.sha }}
62
+ BASE_REF: ${{ github.base_ref }}
63
+ run: |
64
+ uv run python scripts/benchmark.py \
65
+ --base .bench-base/.venv/bin/python \
66
+ --head .venv/bin/python \
67
+ --base-label "$BASE_REF @ ${BASE_SHA::7}" \
68
+ --head-label "this PR @ ${HEAD_SHA::7}" \
69
+ > benchmark_report.md
70
+
71
+ # The report still gets shown and posted when runs failed: those are the
72
+ # results that matter most.
57
73
  - name: Display benchmark results
74
+ if: ${{ !cancelled() }}
58
75
  run: cat benchmark_report.md
59
76
 
60
77
  - name: Upload benchmark results
@@ -70,7 +87,7 @@ jobs:
70
87
  run: sudo ./scripts/stop-test-dns.sh || true
71
88
 
72
89
  - name: Comment benchmark results on PR
73
- if: github.event_name == 'pull_request'
90
+ if: ${{ !cancelled() && github.event_name == 'pull_request' }}
74
91
  uses: actions/github-script@v9
75
92
  with:
76
93
  script: |
@@ -21,22 +21,21 @@ permissions:
21
21
 
22
22
  jobs:
23
23
  python-tests:
24
- runs-on: ubuntu-latest
24
+ runs-on: ubuntu-24.04
25
25
  strategy:
26
26
  matrix:
27
27
  python-version:
28
- - "3.9"
29
- - "3.10"
30
28
  - "3.11"
31
29
  - "3.12"
32
30
  - "3.13"
33
31
  - "3.14"
32
+ - "3.15"
34
33
 
35
34
  steps:
36
35
  - uses: actions/checkout@v7
37
36
 
38
37
  - name: Install Rust toolchain
39
- uses: actions-rust-lang/setup-rust-toolchain@v1
38
+ uses: actions-rust-lang/setup-rust-toolchain@v2
40
39
 
41
40
  - name: Set up Python
42
41
  uses: actions/setup-python@v7
@@ -165,13 +164,19 @@ jobs:
165
164
  - uses: actions/checkout@v7
166
165
  - uses: actions/setup-python@v7
167
166
  with:
168
- python-version: 3.x
167
+ python-version: |
168
+ 3.10
169
+ 3.11
170
+ 3.12
171
+ 3.13
172
+ 3.14
173
+ 3.15
169
174
  architecture: ${{ matrix.platform.target }}
170
175
  - name: Build wheels
171
176
  uses: PyO3/maturin-action@v1
172
177
  with:
173
178
  target: ${{ matrix.platform.target }}
174
- args: --release --out dist --find-interpreter
179
+ args: --release --out dist -i 3.10 3.11 3.12 3.13 3.14 3.15
175
180
  sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
176
181
  - name: Upload wheels
177
182
  uses: actions/upload-artifact@v7
@@ -194,12 +199,17 @@ jobs:
194
199
  - uses: actions/checkout@v7
195
200
  - uses: actions/setup-python@v7
196
201
  with:
197
- python-version: 3.x
202
+ python-version: |
203
+ 3.11
204
+ 3.12
205
+ 3.13
206
+ 3.14
207
+ 3.15
198
208
  - name: Build wheels
199
209
  uses: PyO3/maturin-action@v1
200
210
  with:
201
211
  target: ${{ matrix.platform.target }}
202
- args: --release --out dist --find-interpreter
212
+ args: --release --out dist -i 3.11 3.12 3.13 3.14 3.15
203
213
  sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
204
214
  - name: Upload wheels
205
215
  uses: actions/upload-artifact@v7
@@ -209,7 +219,7 @@ jobs:
209
219
 
210
220
  sdist-build:
211
221
  needs: python-tests
212
- runs-on: ubuntu-latest
222
+ runs-on: ubuntu-24.04
213
223
  if: github.event_name == 'push' && github.ref == 'refs/heads/stable'
214
224
  steps:
215
225
  - uses: actions/checkout@v7
@@ -232,7 +242,7 @@ jobs:
232
242
  - windows-build
233
243
  - macos-build
234
244
  - sdist-build
235
- runs-on: ubuntu-latest
245
+ runs-on: ubuntu-24.04
236
246
  permissions:
237
247
  # Use to sign the release artifacts
238
248
  id-token: write
@@ -11,13 +11,13 @@ concurrency:
11
11
 
12
12
  jobs:
13
13
  rust-tests:
14
- runs-on: ubuntu-latest
14
+ runs-on: ubuntu-24.04
15
15
 
16
16
  steps:
17
17
  - uses: actions/checkout@v7
18
18
 
19
19
  - name: Install Rust toolchain
20
- uses: actions-rust-lang/setup-rust-toolchain@v1
20
+ uses: actions-rust-lang/setup-rust-toolchain@v2
21
21
 
22
22
  - name: Check formatting
23
23
  run: cargo fmt --all -- --check
@@ -46,13 +46,13 @@ jobs:
46
46
  run: ./scripts/stop-test-dns.sh || true
47
47
 
48
48
  cli-tests:
49
- runs-on: ubuntu-latest
49
+ runs-on: ubuntu-24.04
50
50
 
51
51
  steps:
52
52
  - uses: actions/checkout@v7
53
53
 
54
54
  - name: Install Rust toolchain
55
- uses: actions-rust-lang/setup-rust-toolchain@v1
55
+ uses: actions-rust-lang/setup-rust-toolchain@v2
56
56
 
57
57
  - name: Build release binary
58
58
  run: cargo build --release --locked
@@ -75,7 +75,7 @@ jobs:
75
75
 
76
76
  rust-publish:
77
77
  needs: rust-tests
78
- runs-on: ubuntu-latest
78
+ runs-on: ubuntu-24.04
79
79
  if: github.event_name == 'push' && github.ref == 'refs/heads/stable'
80
80
 
81
81
  steps:
@@ -11,12 +11,6 @@ dependencies = [
11
11
  "memchr",
12
12
  ]
13
13
 
14
- [[package]]
15
- name = "allocator-api2"
16
- version = "0.2.21"
17
- source = "registry+https://github.com/rust-lang/crates.io-index"
18
- checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923"
19
-
20
14
  [[package]]
21
15
  name = "anstream"
22
16
  version = "1.0.0"
@@ -84,12 +78,6 @@ dependencies = [
84
78
  "syn 2.0.117",
85
79
  ]
86
80
 
87
- [[package]]
88
- name = "autocfg"
89
- version = "1.5.0"
90
- source = "registry+https://github.com/rust-lang/crates.io-index"
91
- checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8"
92
-
93
81
  [[package]]
94
82
  name = "aws-lc-rs"
95
83
  version = "1.16.2"
@@ -121,7 +109,7 @@ checksum = "c4512299f36f043ab09a583e57bceb5a5aab7a73db1805848e8fef3c9e8c78b3"
121
109
 
122
110
  [[package]]
123
111
  name = "blastdns"
124
- version = "2.0.0"
112
+ version = "2.0.2"
125
113
  dependencies = [
126
114
  "anyhow",
127
115
  "clap",
@@ -134,7 +122,7 @@ dependencies = [
134
122
  "lru",
135
123
  "pyo3",
136
124
  "pyo3-async-runtimes",
137
- "rand",
125
+ "rand 0.10.3",
138
126
  "regex",
139
127
  "serde",
140
128
  "serde_json",
@@ -174,6 +162,17 @@ version = "1.0.4"
174
162
  source = "registry+https://github.com/rust-lang/crates.io-index"
175
163
  checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
176
164
 
165
+ [[package]]
166
+ name = "chacha20"
167
+ version = "0.10.2"
168
+ source = "registry+https://github.com/rust-lang/crates.io-index"
169
+ checksum = "65c35e4b699c7e15ccbe7ee35c005e4fc0a278d22238a2857e6ce2dadeda1b06"
170
+ dependencies = [
171
+ "cfg-if",
172
+ "cpufeatures",
173
+ "rand_core 0.10.1",
174
+ ]
175
+
177
176
  [[package]]
178
177
  name = "clap"
179
178
  version = "4.6.3"
@@ -229,6 +228,15 @@ version = "1.0.5"
229
228
  source = "registry+https://github.com/rust-lang/crates.io-index"
230
229
  checksum = "1d07550c9036bf2ae0c684c4297d503f838287c83c53686d05370d0e139ae570"
231
230
 
231
+ [[package]]
232
+ name = "cpufeatures"
233
+ version = "0.3.1"
234
+ source = "registry+https://github.com/rust-lang/crates.io-index"
235
+ checksum = "5ca28b0ae3115b884660db4118d803791fd6756b6e88f39c0f3f7859060d7566"
236
+ dependencies = [
237
+ "libc",
238
+ ]
239
+
232
240
  [[package]]
233
241
  name = "critical-section"
234
242
  version = "1.2.0"
@@ -502,6 +510,7 @@ dependencies = [
502
510
  "cfg-if",
503
511
  "libc",
504
512
  "r-efi 6.0.0",
513
+ "rand_core 0.10.1",
505
514
  "wasip2",
506
515
  "wasip3",
507
516
  ]
@@ -521,8 +530,6 @@ version = "0.17.0"
521
530
  source = "registry+https://github.com/rust-lang/crates.io-index"
522
531
  checksum = "4f467dd6dccf739c208452f8014c75c18bb8301b050ad1cfb27153803edb0f51"
523
532
  dependencies = [
524
- "allocator-api2",
525
- "equivalent",
526
533
  "foldhash 0.2.0",
527
534
  ]
528
535
 
@@ -545,7 +552,7 @@ dependencies = [
545
552
  "hickory-proto",
546
553
  "once_cell",
547
554
  "radix_trie",
548
- "rand",
555
+ "rand 0.9.5",
549
556
  "serde",
550
557
  "thiserror",
551
558
  "tokio",
@@ -570,7 +577,7 @@ dependencies = [
570
577
  "idna",
571
578
  "ipnet",
572
579
  "once_cell",
573
- "rand",
580
+ "rand 0.9.5",
574
581
  "ring",
575
582
  "rustls-pki-types",
576
583
  "serde",
@@ -595,7 +602,7 @@ dependencies = [
595
602
  "moka",
596
603
  "once_cell",
597
604
  "parking_lot",
598
- "rand",
605
+ "rand 0.9.5",
599
606
  "resolv-conf",
600
607
  "smallvec",
601
608
  "thiserror",
@@ -723,15 +730,6 @@ dependencies = [
723
730
  "serde_core",
724
731
  ]
725
732
 
726
- [[package]]
727
- name = "indoc"
728
- version = "2.0.7"
729
- source = "registry+https://github.com/rust-lang/crates.io-index"
730
- checksum = "79cf5c93f93228cf8efb3ba362535fb11199ac548a09ce117c9b1adc3030d706"
731
- dependencies = [
732
- "rustversion",
733
- ]
734
-
735
733
  [[package]]
736
734
  name = "ipconfig"
737
735
  version = "0.3.4"
@@ -797,9 +795,9 @@ checksum = "09edd9e8b54e49e587e4f6295a7d29c3ea94d469cb40ab8ca70b288248a81db2"
797
795
 
798
796
  [[package]]
799
797
  name = "libc"
800
- version = "0.2.189"
798
+ version = "0.2.190"
801
799
  source = "registry+https://github.com/rust-lang/crates.io-index"
802
- checksum = "3eaf3ede3fee6db1a4c2ee091bf8a8b4dccdc6d17f656fb07896ee72867612f2"
800
+ checksum = "ce5d3ddc6d3fa000eb1536d85e147bfe31aacaba692ed6a876f95cb7c855be78"
803
801
 
804
802
  [[package]]
805
803
  name = "litemap"
@@ -824,9 +822,9 @@ checksum = "5e5032e24019045c762d3c0f28f5b6b8bbf38563a65908389bf7978758920897"
824
822
 
825
823
  [[package]]
826
824
  name = "lru"
827
- version = "0.18.3"
825
+ version = "0.18.5"
828
826
  source = "registry+https://github.com/rust-lang/crates.io-index"
829
- checksum = "0d317b4b9eb398e6acce275758ec6125535505e7a146fb1a9b8bda2451b0ff4c"
827
+ checksum = "ef9ac18847474e638e3702b76c65d4eb93428471a74778ef0f1be711717f89b5"
830
828
  dependencies = [
831
829
  "hashbrown 0.17.0",
832
830
  ]
@@ -846,15 +844,6 @@ version = "2.8.0"
846
844
  source = "registry+https://github.com/rust-lang/crates.io-index"
847
845
  checksum = "f8ca58f447f06ed17d5fc4043ce1b10dd205e060fb3ce5b979b8ed8e59ff3f79"
848
846
 
849
- [[package]]
850
- name = "memoffset"
851
- version = "0.9.1"
852
- source = "registry+https://github.com/rust-lang/crates.io-index"
853
- checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a"
854
- dependencies = [
855
- "autocfg",
856
- ]
857
-
858
847
  [[package]]
859
848
  name = "mio"
860
849
  version = "1.2.0"
@@ -1009,29 +998,27 @@ dependencies = [
1009
998
 
1010
999
  [[package]]
1011
1000
  name = "pyo3"
1012
- version = "0.27.2"
1001
+ version = "0.30.1"
1013
1002
  source = "registry+https://github.com/rust-lang/crates.io-index"
1014
- checksum = "ab53c047fcd1a1d2a8820fe84f05d6be69e9526be40cb03b73f86b6b03e6d87d"
1003
+ checksum = "229ca13b8a15bb0d1487b81ab975bfcd97513416499a8312011b6036e42e0de4"
1015
1004
  dependencies = [
1016
- "indoc",
1017
1005
  "libc",
1018
- "memoffset",
1019
1006
  "once_cell",
1020
1007
  "portable-atomic",
1021
1008
  "pyo3-build-config",
1022
1009
  "pyo3-ffi",
1023
1010
  "pyo3-macros",
1024
1011
  "serde",
1025
- "unindent",
1026
1012
  ]
1027
1013
 
1028
1014
  [[package]]
1029
1015
  name = "pyo3-async-runtimes"
1030
- version = "0.27.0"
1016
+ version = "0.30.0"
1031
1017
  source = "registry+https://github.com/rust-lang/crates.io-index"
1032
- checksum = "57ddb5b570751e93cc6777e81fee8087e59cd53b5043292f2a6d59d5bd80fdfd"
1018
+ checksum = "b877331c7817ccb6379e9d19a06993160141f1d0a386e55276128717df85e3fc"
1033
1019
  dependencies = [
1034
- "futures",
1020
+ "futures-channel",
1021
+ "futures-util",
1035
1022
  "once_cell",
1036
1023
  "pin-project-lite",
1037
1024
  "pyo3",
@@ -1041,29 +1028,29 @@ dependencies = [
1041
1028
 
1042
1029
  [[package]]
1043
1030
  name = "pyo3-async-runtimes-macros"
1044
- version = "0.27.0"
1031
+ version = "0.30.0"
1045
1032
  source = "registry+https://github.com/rust-lang/crates.io-index"
1046
- checksum = "bcd7d70ee0ca1661c40407e6f84e4463ef2658c90a9e2fbbd4515b2bcdfcaeca"
1033
+ checksum = "607580b0e30d9c612372a35e0c1bf38c4ad3a8774625c6256ed67555e93373c5"
1047
1034
  dependencies = [
1048
1035
  "proc-macro2",
1049
1036
  "quote",
1050
- "syn 2.0.117",
1037
+ "syn 3.0.1",
1051
1038
  ]
1052
1039
 
1053
1040
  [[package]]
1054
1041
  name = "pyo3-build-config"
1055
- version = "0.27.2"
1042
+ version = "0.30.1"
1056
1043
  source = "registry+https://github.com/rust-lang/crates.io-index"
1057
- checksum = "b455933107de8642b4487ed26d912c2d899dec6114884214a0b3bb3be9261ea6"
1044
+ checksum = "70130e2b6dd1ee589a8788026a429561ca5c40fa7a2fa7914c2282eddae24700"
1058
1045
  dependencies = [
1059
1046
  "target-lexicon",
1060
1047
  ]
1061
1048
 
1062
1049
  [[package]]
1063
1050
  name = "pyo3-ffi"
1064
- version = "0.27.2"
1051
+ version = "0.30.1"
1065
1052
  source = "registry+https://github.com/rust-lang/crates.io-index"
1066
- checksum = "1c85c9cbfaddf651b1221594209aed57e9e5cff63c4d11d1feead529b872a089"
1053
+ checksum = "5e7ff73c555c286d212d4ce7e5fbda845a973c4f61bd5f160f5f2c3c2a04d1c4"
1067
1054
  dependencies = [
1068
1055
  "libc",
1069
1056
  "pyo3-build-config",
@@ -1071,27 +1058,26 @@ dependencies = [
1071
1058
 
1072
1059
  [[package]]
1073
1060
  name = "pyo3-macros"
1074
- version = "0.27.2"
1061
+ version = "0.30.1"
1075
1062
  source = "registry+https://github.com/rust-lang/crates.io-index"
1076
- checksum = "0a5b10c9bf9888125d917fb4d2ca2d25c8df94c7ab5a52e13313a07e050a3b02"
1063
+ checksum = "c46d2e5862c7bb8207e3b639f713dda3c499933444784154c11d013c5a691b60"
1077
1064
  dependencies = [
1078
1065
  "proc-macro2",
1079
1066
  "pyo3-macros-backend",
1080
1067
  "quote",
1081
- "syn 2.0.117",
1068
+ "syn 3.0.1",
1082
1069
  ]
1083
1070
 
1084
1071
  [[package]]
1085
1072
  name = "pyo3-macros-backend"
1086
- version = "0.27.2"
1073
+ version = "0.30.1"
1087
1074
  source = "registry+https://github.com/rust-lang/crates.io-index"
1088
- checksum = "03b51720d314836e53327f5871d4c0cfb4fb37cc2c4a11cc71907a86342c40f9"
1075
+ checksum = "38b89f066f2ae72a2aef52d1537ca2fcd104440ebfadee06e97aa90738a25b9b"
1089
1076
  dependencies = [
1090
1077
  "heck",
1091
1078
  "proc-macro2",
1092
- "pyo3-build-config",
1093
1079
  "quote",
1094
- "syn 2.0.117",
1080
+ "syn 3.0.1",
1095
1081
  ]
1096
1082
 
1097
1083
  [[package]]
@@ -1127,12 +1113,23 @@ dependencies = [
1127
1113
 
1128
1114
  [[package]]
1129
1115
  name = "rand"
1130
- version = "0.9.4"
1116
+ version = "0.9.5"
1131
1117
  source = "registry+https://github.com/rust-lang/crates.io-index"
1132
- checksum = "44c5af06bb1b7d3216d91932aed5265164bf384dc89cd6ba05cf59a35f5f76ea"
1118
+ checksum = "b9ef1d0d795eb7d84685bca4f72f3649f064e6641543d3a8c415898726a57b41"
1133
1119
  dependencies = [
1134
1120
  "rand_chacha",
1135
- "rand_core",
1121
+ "rand_core 0.9.5",
1122
+ ]
1123
+
1124
+ [[package]]
1125
+ name = "rand"
1126
+ version = "0.10.3"
1127
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1128
+ checksum = "65c9fb96cbc91e3478eaae79a69fcd3f1ae4ad052e471fe6732fff548984b4af"
1129
+ dependencies = [
1130
+ "chacha20",
1131
+ "getrandom 0.4.2",
1132
+ "rand_core 0.10.1",
1136
1133
  ]
1137
1134
 
1138
1135
  [[package]]
@@ -1142,7 +1139,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
1142
1139
  checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb"
1143
1140
  dependencies = [
1144
1141
  "ppv-lite86",
1145
- "rand_core",
1142
+ "rand_core 0.9.5",
1146
1143
  ]
1147
1144
 
1148
1145
  [[package]]
@@ -1154,6 +1151,12 @@ dependencies = [
1154
1151
  "getrandom 0.3.4",
1155
1152
  ]
1156
1153
 
1154
+ [[package]]
1155
+ name = "rand_core"
1156
+ version = "0.10.1"
1157
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1158
+ checksum = "63b8176103e19a2643978565ca18b50549f6101881c443590420e4dc998a3c69"
1159
+
1157
1160
  [[package]]
1158
1161
  name = "redox_syscall"
1159
1162
  version = "0.5.18"
@@ -1271,9 +1274,9 @@ dependencies = [
1271
1274
 
1272
1275
  [[package]]
1273
1276
  name = "serde_json"
1274
- version = "1.0.151"
1277
+ version = "1.0.154"
1275
1278
  source = "registry+https://github.com/rust-lang/crates.io-index"
1276
- checksum = "c841b55ecdae098c80dcae9cf767f6f8a0c2cdb3416bbef72181df4d0fe73f14"
1279
+ checksum = "e7e9cc8b1b85264074fbcc02a88680c4096b1e47df8f739dceb03bf482f04bd6"
1277
1280
  dependencies = [
1278
1281
  "itoa",
1279
1282
  "memchr",
@@ -1378,18 +1381,18 @@ checksum = "adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca"
1378
1381
 
1379
1382
  [[package]]
1380
1383
  name = "thiserror"
1381
- version = "2.0.20"
1384
+ version = "2.0.21"
1382
1385
  source = "registry+https://github.com/rust-lang/crates.io-index"
1383
- checksum = "ec86235f5fcc2a73650310756d2ac5b138a5780bbbdfae3eeccec992c435ba4f"
1386
+ checksum = "09e52cb86a36cede5cb101bf8908837b3e4c6e5e59fe7fd85c23fb56200d189e"
1384
1387
  dependencies = [
1385
1388
  "thiserror-impl",
1386
1389
  ]
1387
1390
 
1388
1391
  [[package]]
1389
1392
  name = "thiserror-impl"
1390
- version = "2.0.20"
1393
+ version = "2.0.21"
1391
1394
  source = "registry+https://github.com/rust-lang/crates.io-index"
1392
- checksum = "bc04cd3e1236dd4a98afca4569f2deb3f120e5422a4023be2cb683f8486292af"
1395
+ checksum = "fe5197923287db20a58125f0bc85c062f7f2c892de97b18c356f9efb14b28524"
1393
1396
  dependencies = [
1394
1397
  "proc-macro2",
1395
1398
  "quote",
@@ -1451,9 +1454,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20"
1451
1454
 
1452
1455
  [[package]]
1453
1456
  name = "tokio"
1454
- version = "1.53.1"
1457
+ version = "1.53.3"
1455
1458
  source = "registry+https://github.com/rust-lang/crates.io-index"
1456
- checksum = "202caea871b69668250d242070849eb495be178ed697a3e98aebce5bc81a0bed"
1459
+ checksum = "ce3335fa71841cda333a58d7615b03901380ecf09d59b3296d21f8bbac0dde4e"
1457
1460
  dependencies = [
1458
1461
  "bytes",
1459
1462
  "libc",
@@ -1548,12 +1551,6 @@ version = "0.2.6"
1548
1551
  source = "registry+https://github.com/rust-lang/crates.io-index"
1549
1552
  checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853"
1550
1553
 
1551
- [[package]]
1552
- name = "unindent"
1553
- version = "0.2.4"
1554
- source = "registry+https://github.com/rust-lang/crates.io-index"
1555
- checksum = "7264e107f553ccae879d21fbea1d6724ac785e8c3bfc762137959b5802826ef3"
1556
-
1557
1554
  [[package]]
1558
1555
  name = "untrusted"
1559
1556
  version = "0.7.1"
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "blastdns"
3
- version = "2.0.0"
3
+ version = "2.0.2"
4
4
  edition = "2024"
5
5
  description = "Async DNS lookup library for bulk/parallel DNS resolution"
6
6
  license = "AGPL-3.0"
@@ -34,10 +34,10 @@ thiserror = "2.0.18"
34
34
  tokio = { version = "1.52.3", features = ["macros", "rt", "rt-multi-thread", "time", "net", "sync", "fs", "io-std"] }
35
35
  tracing = "0.1.41"
36
36
  tracing-subscriber = { version = "0.3", features = ["env-filter"] }
37
- pyo3 = { version = "0.27", features = ["serde"], optional = true }
38
- pyo3-async-runtimes = { version = "0.27", features = ["attributes", "tokio-runtime"], optional = true }
37
+ pyo3 = { version = "0.30", features = ["serde"], optional = true }
38
+ pyo3-async-runtimes = { version = "0.30", features = ["attributes", "tokio-runtime"], optional = true }
39
39
 
40
40
  [dev-dependencies]
41
- pyo3 = { version = "0.27", features = ["auto-initialize"] }
42
- pyo3-async-runtimes = { version = "0.27", features = ["attributes", "tokio-runtime"] }
43
- rand = "0.9.2"
41
+ pyo3 = { version = "0.30", features = ["auto-initialize"] }
42
+ pyo3-async-runtimes = { version = "0.30", features = ["attributes", "tokio-runtime"] }
43
+ rand = "0.10.3"