Update Rust bindings list and links#28123
Conversation
Co-authored-by: elithrar <elithrar@users.noreply.github.com>
|
This pull request requires reviews from CODEOWNERS as it changes files that match the following patterns:
|
|
Preview URL: https://dc546afd.preview.developers.cloudflare.com Files with changes (up to 15)
|
|
/bonk fix the broken link: Error: 0 [ERROR] ✗ Found 1 invalid link in 1 file. Error: 0 [ERROR] [starlight-links-validator-integration] An unhandled error occurred while running the "astro:build:done" hook |
Co-authored-by: elithrar <elithrar@users.noreply.github.com>
|
The fix is straightforward: the link |
Here's a summary of the changes made to
src/content/docs/workers/languages/rust/index.mdx:Fixed stale links (as requested in the issue):
Secret: Replaced GitHub commit link (github.com/cloudflare/workers-rs/blob/e15f88...) withhttps://docs.rs/worker/latest/worker/struct.Secret.htmlVar: Replaced the same stale GitHub commit link withhttps://docs.rs/worker/latest/worker/type.Var.htmlKvStore: Updated from the separateworker-kvcrate link to the currentworkercrate path:https://docs.rs/worker/latest/worker/kv/struct.KvStore.htmlAdded missing bindings (validated against the
Envstruct methods inworkers-rsv0.7.4):D1Database-- D1 database binding (the primary ask in the issue)Queue-- Queues producer bindingAi-- Workers AI bindingHyperdrive-- Hyperdrive bindingAnalyticsEngineDataset-- Analytics Engine bindingDynamicDispatcher-- Dynamic Dispatch bindingSecretStore-- Secret Store bindingRateLimiter-- Rate Limiting bindingAll eight additions correspond to methods on the
Envstruct in theworkercrate and link to their respective docs.rs documentation pages and Cloudflare product documentation.Closes #25853
github run