From dcb9feaa9c2a618791c44ffd35f1642f6eeccbc6 Mon Sep 17 00:00:00 2001 From: Tim Diekmann Date: Sat, 29 Aug 2026 21:40:49 +0200 Subject: [PATCH 1/2] SRE-983: Split the effect-dns-hickory Rust crate and TypeScript package The napi module kept `lib.rs` and `index.ts` in one `src`, which is the layout the tool expects but leaves both manifests in one directory. The crate moves to `rust/`, the package to `typescript/`, and `napi build` is pointed at the crate with `--manifest-path`. Unlike the other splits nothing generated crosses the boundary: napi compiles the crate straight into the package's `dist` beside the declarations it emits, and `tsc` builds over both. The package now depends on the crate. Without that the package graph has no edge between them, and a change to `lib.rs` would not select the package that compiles it. --- Cargo.toml | 2 +- .../hickory/{ => rust}/.cargo/config.toml | 0 .../effect-dns/hickory/{ => rust}/Cargo.toml | 8 - .../hickory/{ => rust}/LICENSE-APACHE.md | 0 .../hickory/{ => rust}/LICENSE-MIT.md | 0 .../effect-dns/hickory/{ => rust}/LICENSE.md | 0 .../effect-dns/hickory/{ => rust}/README.md | 0 .../effect-dns/hickory/{ => rust}/build.rs | 0 .../{ => rust}/docs/dependency-diagram.mmd | 0 .../effect-dns/hickory/rust/package.json | 10 + .../effect-dns/hickory/{ => rust}/src/lib.rs | 0 .../hickory/typescript/LICENSE-APACHE.md | 189 ++++++++++++++++++ .../hickory/typescript/LICENSE-MIT.md | 21 ++ .../effect-dns/hickory/typescript/LICENSE.md | 5 + .../hickory/{ => typescript}/eslint.config.js | 0 .../hickory/{ => typescript}/package.json | 6 +- .../hickory/{ => typescript}/src/index.ts | 0 .../{ => typescript}/tests/dummy.test.ts | 0 .../{ => typescript}/tsconfig.build.json | 0 .../hickory/{ => typescript}/tsconfig.json | 0 .../hickory/{ => typescript}/turbo.json | 0 .../hickory/{ => typescript}/vitest.config.ts | 0 .../legacy-base-tsconfig-to-refactor.json | 4 +- yarn.lock | 11 +- 24 files changed, 241 insertions(+), 15 deletions(-) rename libs/@local/effect-dns/hickory/{ => rust}/.cargo/config.toml (100%) rename libs/@local/effect-dns/hickory/{ => rust}/Cargo.toml (76%) rename libs/@local/effect-dns/hickory/{ => rust}/LICENSE-APACHE.md (100%) rename libs/@local/effect-dns/hickory/{ => rust}/LICENSE-MIT.md (100%) rename libs/@local/effect-dns/hickory/{ => rust}/LICENSE.md (100%) rename libs/@local/effect-dns/hickory/{ => rust}/README.md (100%) rename libs/@local/effect-dns/hickory/{ => rust}/build.rs (100%) rename libs/@local/effect-dns/hickory/{ => rust}/docs/dependency-diagram.mmd (100%) create mode 100644 libs/@local/effect-dns/hickory/rust/package.json rename libs/@local/effect-dns/hickory/{ => rust}/src/lib.rs (100%) create mode 100644 libs/@local/effect-dns/hickory/typescript/LICENSE-APACHE.md create mode 100644 libs/@local/effect-dns/hickory/typescript/LICENSE-MIT.md create mode 100644 libs/@local/effect-dns/hickory/typescript/LICENSE.md rename libs/@local/effect-dns/hickory/{ => typescript}/eslint.config.js (100%) rename libs/@local/effect-dns/hickory/{ => typescript}/package.json (72%) rename libs/@local/effect-dns/hickory/{ => typescript}/src/index.ts (100%) rename libs/@local/effect-dns/hickory/{ => typescript}/tests/dummy.test.ts (100%) rename libs/@local/effect-dns/hickory/{ => typescript}/tsconfig.build.json (100%) rename libs/@local/effect-dns/hickory/{ => typescript}/tsconfig.json (100%) rename libs/@local/effect-dns/hickory/{ => typescript}/turbo.json (100%) rename libs/@local/effect-dns/hickory/{ => typescript}/vitest.config.ts (100%) diff --git a/Cargo.toml b/Cargo.toml index c911ddc4cb2..dced6c6e5db 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,7 +11,7 @@ members = [ "libs/@local/codec/rust", "libs/@local/codegen", "libs/@local/config", - "libs/@local/effect-dns/hickory", + "libs/@local/effect-dns/hickory/rust", "libs/@local/graph/api", "libs/@local/graph/authentication/", "libs/@local/graph/authorization/rust", diff --git a/libs/@local/effect-dns/hickory/.cargo/config.toml b/libs/@local/effect-dns/hickory/rust/.cargo/config.toml similarity index 100% rename from libs/@local/effect-dns/hickory/.cargo/config.toml rename to libs/@local/effect-dns/hickory/rust/.cargo/config.toml diff --git a/libs/@local/effect-dns/hickory/Cargo.toml b/libs/@local/effect-dns/hickory/rust/Cargo.toml similarity index 76% rename from libs/@local/effect-dns/hickory/Cargo.toml rename to libs/@local/effect-dns/hickory/rust/Cargo.toml index d45a7a7af2c..3e11052f32f 100644 --- a/libs/@local/effect-dns/hickory/Cargo.toml +++ b/libs/@local/effect-dns/hickory/rust/Cargo.toml @@ -27,11 +27,3 @@ napi-build = { workspace = true } [lints] workspace = true - - -[package.metadata.sync.turborepo] -package-name = "@local/effect-dns-hickory" -extra-dev-dependencies = [ - { name = "@local/eslint", version = "workspace:*" }, - { name = "@local/tsconfig", version = "workspace:*" }, -] diff --git a/libs/@local/effect-dns/hickory/LICENSE-APACHE.md b/libs/@local/effect-dns/hickory/rust/LICENSE-APACHE.md similarity index 100% rename from libs/@local/effect-dns/hickory/LICENSE-APACHE.md rename to libs/@local/effect-dns/hickory/rust/LICENSE-APACHE.md diff --git a/libs/@local/effect-dns/hickory/LICENSE-MIT.md b/libs/@local/effect-dns/hickory/rust/LICENSE-MIT.md similarity index 100% rename from libs/@local/effect-dns/hickory/LICENSE-MIT.md rename to libs/@local/effect-dns/hickory/rust/LICENSE-MIT.md diff --git a/libs/@local/effect-dns/hickory/LICENSE.md b/libs/@local/effect-dns/hickory/rust/LICENSE.md similarity index 100% rename from libs/@local/effect-dns/hickory/LICENSE.md rename to libs/@local/effect-dns/hickory/rust/LICENSE.md diff --git a/libs/@local/effect-dns/hickory/README.md b/libs/@local/effect-dns/hickory/rust/README.md similarity index 100% rename from libs/@local/effect-dns/hickory/README.md rename to libs/@local/effect-dns/hickory/rust/README.md diff --git a/libs/@local/effect-dns/hickory/build.rs b/libs/@local/effect-dns/hickory/rust/build.rs similarity index 100% rename from libs/@local/effect-dns/hickory/build.rs rename to libs/@local/effect-dns/hickory/rust/build.rs diff --git a/libs/@local/effect-dns/hickory/docs/dependency-diagram.mmd b/libs/@local/effect-dns/hickory/rust/docs/dependency-diagram.mmd similarity index 100% rename from libs/@local/effect-dns/hickory/docs/dependency-diagram.mmd rename to libs/@local/effect-dns/hickory/rust/docs/dependency-diagram.mmd diff --git a/libs/@local/effect-dns/hickory/rust/package.json b/libs/@local/effect-dns/hickory/rust/package.json new file mode 100644 index 00000000000..ff3fe492fdb --- /dev/null +++ b/libs/@local/effect-dns/hickory/rust/package.json @@ -0,0 +1,10 @@ +{ + "name": "@rust/effect-dns-hickory", + "version": "0.0.0-private", + "private": true, + "description": "Hickory DNS implementation of DNS effect library", + "license": "MIT OR Apache-2.0", + "scripts": { + "doc:dependency-diagram": "cargo run -p hash-repo-chores -- dependency-diagram --output docs/dependency-diagram.mmd --root effect-dns-hickory --root-deps-and-dependents --link-mode non-roots --include-dev-deps --include-build-deps --logging-console-level info" + } +} diff --git a/libs/@local/effect-dns/hickory/src/lib.rs b/libs/@local/effect-dns/hickory/rust/src/lib.rs similarity index 100% rename from libs/@local/effect-dns/hickory/src/lib.rs rename to libs/@local/effect-dns/hickory/rust/src/lib.rs diff --git a/libs/@local/effect-dns/hickory/typescript/LICENSE-APACHE.md b/libs/@local/effect-dns/hickory/typescript/LICENSE-APACHE.md new file mode 100644 index 00000000000..1d1b6f8da4d --- /dev/null +++ b/libs/@local/effect-dns/hickory/typescript/LICENSE-APACHE.md @@ -0,0 +1,189 @@ +# Apache License + +_Version 2.0, January 2004_ +_<>_ + +### Terms and Conditions for use, reproduction, and distribution + +#### 1. Definitions + +“License” shall mean the terms and conditions for use, reproduction, and +distribution as defined by Sections 1 through 9 of this document. + +“Licensor” shall mean the copyright owner or entity authorized by the copyright +owner that is granting the License. + +“Legal Entity” shall mean the union of the acting entity and all other entities +that control, are controlled by, or are under common control with that entity. +For the purposes of this definition, “control” means **(i)** the power, direct or +indirect, to cause the direction or management of such entity, whether by +contract or otherwise, or **(ii)** ownership of fifty percent (50%) or more of the +outstanding shares, or **(iii)** beneficial ownership of such entity. + +“You” (or “Your”) shall mean an individual or Legal Entity exercising +permissions granted by this License. + +“Source” form shall mean the preferred form for making modifications, including +but not limited to software source code, documentation source, and configuration +files. + +“Object” form shall mean any form resulting from mechanical transformation or +translation of a Source form, including but not limited to compiled object code, +generated documentation, and conversions to other media types. + +“Work” shall mean the work of authorship, whether in Source or Object form, made +available under the License, as indicated by a copyright notice that is included +in or attached to the work (an example is provided in the Appendix below). + +“Derivative Works” shall mean any work, whether in Source or Object form, that +is based on (or derived from) the Work and for which the editorial revisions, +annotations, elaborations, or other modifications represent, as a whole, an +original work of authorship. For the purposes of this License, Derivative Works +shall not include works that remain separable from, or merely link (or bind by +name) to the interfaces of, the Work and Derivative Works thereof. + +“Contribution” shall mean any work of authorship, including the original version +of the Work and any modifications or additions to that Work or Derivative Works +thereof, that is intentionally submitted to Licensor for inclusion in the Work +by the copyright owner or by an individual or Legal Entity authorized to submit +on behalf of the copyright owner. For the purposes of this definition, +“submitted” means any form of electronic, verbal, or written communication sent +to the Licensor or its representatives, including but not limited to +communication on electronic mailing lists, source code control systems, and +issue tracking systems that are managed by, or on behalf of, the Licensor for +the purpose of discussing and improving the Work, but excluding communication +that is conspicuously marked or otherwise designated in writing by the copyright +owner as “Not a Contribution.” + +“Contributor” shall mean Licensor and any individual or Legal Entity on behalf +of whom a Contribution has been received by Licensor and subsequently +incorporated within the Work. + +#### 2. Grant of Copyright License + +Subject to the terms and conditions of this License, each Contributor hereby +grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, +irrevocable copyright license to reproduce, prepare Derivative Works of, +publicly display, publicly perform, sublicense, and distribute the Work and such +Derivative Works in Source or Object form. + +#### 3. Grant of Patent License + +Subject to the terms and conditions of this License, each Contributor hereby +grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, +irrevocable (except as stated in this section) patent license to make, have +made, use, offer to sell, sell, import, and otherwise transfer the Work, where +such license applies only to those patent claims licensable by such Contributor +that are necessarily infringed by their Contribution(s) alone or by combination +of their Contribution(s) with the Work to which such Contribution(s) was +submitted. If You institute patent litigation against any entity (including a +cross-claim or counterclaim in a lawsuit) alleging that the Work or a +Contribution incorporated within the Work constitutes direct or contributory +patent infringement, then any patent licenses granted to You under this License +for that Work shall terminate as of the date such litigation is filed. + +#### 4. Redistribution + +You may reproduce and distribute copies of the Work or Derivative Works thereof +in any medium, with or without modifications, and in Source or Object form, +provided that You meet the following conditions: + +- **(a)** You must give any other recipients of the Work or Derivative Works a copy of + this License; and +- **(b)** You must cause any modified files to carry prominent notices stating that You + changed the files; and +- **(c)** You must retain, in the Source form of any Derivative Works that You distribute, + all copyright, patent, trademark, and attribution notices from the Source form + of the Work, excluding those notices that do not pertain to any part of the + Derivative Works; and +- **(d)** If the Work includes a “NOTICE” text file as part of its distribution, then any + Derivative Works that You distribute must include a readable copy of the + attribution notices contained within such NOTICE file, excluding those notices + that do not pertain to any part of the Derivative Works, in at least one of the + following places: within a NOTICE text file distributed as part of the + Derivative Works; within the Source form or documentation, if provided along + with the Derivative Works; or, within a display generated by the Derivative + Works, if and wherever such third-party notices normally appear. The contents of + the NOTICE file are for informational purposes only and do not modify the + License. You may add Your own attribution notices within Derivative Works that + You distribute, alongside or as an addendum to the NOTICE text from the Work, + provided that such additional attribution notices cannot be construed as + modifying the License. + +You may add Your own copyright statement to Your modifications and may provide +additional or different license terms and conditions for use, reproduction, or +distribution of Your modifications, or for any such Derivative Works as a whole, +provided Your use, reproduction, and distribution of the Work otherwise complies +with the conditions stated in this License. + +#### 5. Submission of Contributions + +Unless You explicitly state otherwise, any Contribution intentionally submitted +for inclusion in the Work by You to the Licensor shall be under the terms and +conditions of this License, without any additional terms or conditions. +Notwithstanding the above, nothing herein shall supersede or modify the terms of +any separate license agreement you may have executed with Licensor regarding +such Contributions. + +#### 6. Trademarks + +This License does not grant permission to use the trade names, trademarks, +service marks, or product names of the Licensor, except as required for +reasonable and customary use in describing the origin of the Work and +reproducing the content of the NOTICE file. + +#### 7. Disclaimer of Warranty + +Unless required by applicable law or agreed to in writing, Licensor provides the +Work (and each Contributor provides its Contributions) on an “AS IS” BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, +including, without limitation, any warranties or conditions of TITLE, +NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are +solely responsible for determining the appropriateness of using or +redistributing the Work and assume any risks associated with Your exercise of +permissions under this License. + +#### 8. Limitation of Liability + +In no event and under no legal theory, whether in tort (including negligence), +contract, or otherwise, unless required by applicable law (such as deliberate +and grossly negligent acts) or agreed to in writing, shall any Contributor be +liable to You for damages, including any direct, indirect, special, incidental, +or consequential damages of any character arising as a result of this License or +out of the use or inability to use the Work (including but not limited to +damages for loss of goodwill, work stoppage, computer failure or malfunction, or +any and all other commercial damages or losses), even if such Contributor has +been advised of the possibility of such damages. + +#### 9. Accepting Warranty or Additional Liability + +While redistributing the Work or Derivative Works thereof, You may choose to +offer, and charge a fee for, acceptance of support, warranty, indemnity, or +other liability obligations and/or rights consistent with this License. However, +in accepting such obligations, You may act only on Your own behalf and on Your +sole responsibility, not on behalf of any other Contributor, and only if You +agree to indemnify, defend, and hold each Contributor harmless for any liability +incurred by, or claims asserted against, such Contributor by reason of your +accepting any such warranty or additional liability. + +_END OF TERMS AND CONDITIONS_ + +### APPENDIX: Apply the Apache License to a specific file + +To apply the Apache License to an individual file, attach the following notice. +The text should be enclosed in the appropriate comment syntax for the file +format. + + Copyright © 2022–, HASH + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/libs/@local/effect-dns/hickory/typescript/LICENSE-MIT.md b/libs/@local/effect-dns/hickory/typescript/LICENSE-MIT.md new file mode 100644 index 00000000000..e33c1d34b0e --- /dev/null +++ b/libs/@local/effect-dns/hickory/typescript/LICENSE-MIT.md @@ -0,0 +1,21 @@ +# MIT License + +Copyright © 2022–, HASH + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/libs/@local/effect-dns/hickory/typescript/LICENSE.md b/libs/@local/effect-dns/hickory/typescript/LICENSE.md new file mode 100644 index 00000000000..8b31346dd55 --- /dev/null +++ b/libs/@local/effect-dns/hickory/typescript/LICENSE.md @@ -0,0 +1,5 @@ +# License + +Licensed under either of the [Apache License, Version 2.0](LICENSE-APACHE.md) or [MIT license](LICENSE-MIT.md) at your option. + +For more information about contributing to this crate, see our top-level [CONTRIBUTING](https://github.com/hashintel/hash/blob/main/.github/CONTRIBUTING.md) policy. diff --git a/libs/@local/effect-dns/hickory/eslint.config.js b/libs/@local/effect-dns/hickory/typescript/eslint.config.js similarity index 100% rename from libs/@local/effect-dns/hickory/eslint.config.js rename to libs/@local/effect-dns/hickory/typescript/eslint.config.js diff --git a/libs/@local/effect-dns/hickory/package.json b/libs/@local/effect-dns/hickory/typescript/package.json similarity index 72% rename from libs/@local/effect-dns/hickory/package.json rename to libs/@local/effect-dns/hickory/typescript/package.json index 336c41bfbd9..e4a017eb092 100644 --- a/libs/@local/effect-dns/hickory/package.json +++ b/libs/@local/effect-dns/hickory/typescript/package.json @@ -9,9 +9,8 @@ "types": "dist/index.d.ts", "scripts": { "build": "rimraf dist && yarn build:release && tsc --build tsconfig.build.json", - "build:debug": "napi build --platform --js=impl.js --dts=impl.d.ts -o dist", - "build:release": "napi build --platform --release --js=impl.js --dts=impl.d.ts -o dist", - "doc:dependency-diagram": "cargo run -p hash-repo-chores -- dependency-diagram --output docs/dependency-diagram.mmd --root effect-dns-hickory --root-deps-and-dependents --link-mode non-roots --include-dev-deps --include-build-deps --logging-console-level info", + "build:debug": "napi build --platform --manifest-path ../rust/Cargo.toml --js=impl.js --dts=impl.d.ts -o dist", + "build:release": "napi build --platform --release --manifest-path ../rust/Cargo.toml --js=impl.js --dts=impl.d.ts -o dist", "fix:eslint": "eslint --fix .", "lint:eslint": "eslint --report-unused-disable-directives .", "lint:tsc": "tsc --noEmit", @@ -21,6 +20,7 @@ "devDependencies": { "@local/eslint": "workspace:*", "@local/tsconfig": "workspace:*", + "@rust/effect-dns-hickory": "workspace:*", "@vitest/coverage-istanbul": "4.1.10", "eslint": "9.39.4", "rimraf": "6.1.3", diff --git a/libs/@local/effect-dns/hickory/src/index.ts b/libs/@local/effect-dns/hickory/typescript/src/index.ts similarity index 100% rename from libs/@local/effect-dns/hickory/src/index.ts rename to libs/@local/effect-dns/hickory/typescript/src/index.ts diff --git a/libs/@local/effect-dns/hickory/tests/dummy.test.ts b/libs/@local/effect-dns/hickory/typescript/tests/dummy.test.ts similarity index 100% rename from libs/@local/effect-dns/hickory/tests/dummy.test.ts rename to libs/@local/effect-dns/hickory/typescript/tests/dummy.test.ts diff --git a/libs/@local/effect-dns/hickory/tsconfig.build.json b/libs/@local/effect-dns/hickory/typescript/tsconfig.build.json similarity index 100% rename from libs/@local/effect-dns/hickory/tsconfig.build.json rename to libs/@local/effect-dns/hickory/typescript/tsconfig.build.json diff --git a/libs/@local/effect-dns/hickory/tsconfig.json b/libs/@local/effect-dns/hickory/typescript/tsconfig.json similarity index 100% rename from libs/@local/effect-dns/hickory/tsconfig.json rename to libs/@local/effect-dns/hickory/typescript/tsconfig.json diff --git a/libs/@local/effect-dns/hickory/turbo.json b/libs/@local/effect-dns/hickory/typescript/turbo.json similarity index 100% rename from libs/@local/effect-dns/hickory/turbo.json rename to libs/@local/effect-dns/hickory/typescript/turbo.json diff --git a/libs/@local/effect-dns/hickory/vitest.config.ts b/libs/@local/effect-dns/hickory/typescript/vitest.config.ts similarity index 100% rename from libs/@local/effect-dns/hickory/vitest.config.ts rename to libs/@local/effect-dns/hickory/typescript/vitest.config.ts diff --git a/libs/@local/tsconfig/legacy-base-tsconfig-to-refactor.json b/libs/@local/tsconfig/legacy-base-tsconfig-to-refactor.json index 8dfb7ca1f5b..57720b47719 100644 --- a/libs/@local/tsconfig/legacy-base-tsconfig-to-refactor.json +++ b/libs/@local/tsconfig/legacy-base-tsconfig-to-refactor.json @@ -44,7 +44,9 @@ "@local/harpc-client/*": ["../harpc/client/typescript/src/*/index.ts"], "@local/effect-dns": ["../effect-dns/core/src/index.ts"], "@local/effect-dns/*": ["../effect-dns/core/src/*/index.ts"], - "@local/effect-dns-hickory": ["../effect-dns/hickory/dist/index.ts"], + "@local/effect-dns-hickory": [ + "../effect-dns/hickory/typescript/dist/index.ts" + ], "@local/eslint": ["../eslint/src/index.ts"], "@local/eslint/*": ["../eslint/src/*/index.ts"] }, diff --git a/yarn.lock b/yarn.lock index f50eeb4ef21..29e3ec824e4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9385,12 +9385,13 @@ __metadata: languageName: unknown linkType: soft -"@local/effect-dns-hickory@workspace:libs/@local/effect-dns/hickory": +"@local/effect-dns-hickory@workspace:libs/@local/effect-dns/hickory/typescript": version: 0.0.0-use.local - resolution: "@local/effect-dns-hickory@workspace:libs/@local/effect-dns/hickory" + resolution: "@local/effect-dns-hickory@workspace:libs/@local/effect-dns/hickory/typescript" dependencies: "@local/eslint": "workspace:*" "@local/tsconfig": "workspace:*" + "@rust/effect-dns-hickory": "workspace:*" "@vitest/coverage-istanbul": "npm:4.1.10" eslint: "npm:9.39.4" rimraf: "npm:6.1.3" @@ -14859,6 +14860,12 @@ __metadata: languageName: unknown linkType: soft +"@rust/effect-dns-hickory@workspace:*, @rust/effect-dns-hickory@workspace:libs/@local/effect-dns/hickory/rust": + version: 0.0.0-use.local + resolution: "@rust/effect-dns-hickory@workspace:libs/@local/effect-dns/hickory/rust" + languageName: unknown + linkType: soft + "@rust/error-stack-macros@workspace:*, @rust/error-stack-macros@workspace:libs/error-stack/macros": version: 0.0.0-use.local resolution: "@rust/error-stack-macros@workspace:libs/error-stack/macros" From 9c2a89097ad0426b8be758bc86c03f76d38df739 Mon Sep 17 00:00:00 2001 From: Tim Diekmann Date: Sat, 29 Aug 2026 22:01:12 +0200 Subject: [PATCH 2/2] SRE-983: Give the hickory crate its clippy scripts --- libs/@local/effect-dns/hickory/rust/package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libs/@local/effect-dns/hickory/rust/package.json b/libs/@local/effect-dns/hickory/rust/package.json index ff3fe492fdb..1e6fc37b6d1 100644 --- a/libs/@local/effect-dns/hickory/rust/package.json +++ b/libs/@local/effect-dns/hickory/rust/package.json @@ -5,6 +5,8 @@ "description": "Hickory DNS implementation of DNS effect library", "license": "MIT OR Apache-2.0", "scripts": { - "doc:dependency-diagram": "cargo run -p hash-repo-chores -- dependency-diagram --output docs/dependency-diagram.mmd --root effect-dns-hickory --root-deps-and-dependents --link-mode non-roots --include-dev-deps --include-build-deps --logging-console-level info" + "doc:dependency-diagram": "cargo run -p hash-repo-chores -- dependency-diagram --output docs/dependency-diagram.mmd --root effect-dns-hickory --root-deps-and-dependents --link-mode non-roots --include-dev-deps --include-build-deps --logging-console-level info", + "fix:clippy": "just clippy --fix", + "lint:clippy": "just clippy" } }