Expand description
#3478: the [dev] acknowledgements of remote-only bindings.
Some Cloudflare bindings have no local simulation: under bynk dev, a call
runs on the developer’s Cloudflare account and may incur charges. bynk dev
does not block such a call. It warns once, on the first one, unless the
project has acknowledged it in bynk.toml:
[dev]
ai = "allow"One mechanism serves every such binding kind: a RemoteKind names the
[dev] key and the variable bynk dev hands to wrangler dev (as
--var) for an acknowledged kind, which the kind’s provider reads to stay
quiet. Vectorize and AI Search add one entry each. No tooling here states
a price, an allowance or which operations are billed: the warning links to
Cloudflare’s own pages.
Re-exports§
pub use crate::env_protocol::DEV as DEV_VAR;
Structs§
- Remote
Kind - A binding kind with no local simulation under
bynk dev.
Constants§
- ALLOW
- The one value an acknowledgement takes.
- REMOTE_
KINDS - The remote-only binding kinds, by
[dev]key.
Functions§
- dev_
acks_ from - The remote-only kinds
[dev]acknowledges. Any other value than"allow", for a known key, is an error. - try_
read_ dev_ acks try_read_dev_acks_with, readingbynk.tomlfrom disk.- try_
read_ dev_ acks_ with - Read
bynk.toml’s[dev]acknowledgements, honouringoverlay. No manifest, or no[dev]table, acknowledges nothing.