Lann

Results 146 comments of Lann

Have you seen bindle's (apparent) caching support? https://docs.rs/bindle/latest/bindle/cache/index.html

> This feels pretty untidy in places. If anyone has thoughts on how it could be tidied, I'd really appreciate it! How about a new `BindleLoader` struct with e.g. `url`,...

Bikeshedding: how about `ClockTrigger`? Covers both cron-like (specific times of day) and timer-like (intervals, not caring about specific time) cases.

I see 3 "levels" of implementation for this: 1. Timeouts only trigger while wasm instructions are actively running. - This should be relatively easy to implement with e.g. https://docs.rs/wasmtime/latest/wasmtime/struct.Store.html#method.set_epoch_deadline but...

I find tarpaulin + [this extension](https://marketplace.visualstudio.com/items?itemName=markis.code-coverage) pretty helpful.

@ecumene > I want something to execute on start, and never again Could you expound on what you want to do here? It seems like you could basically get this...

> I want "on start" to run some code that registers callbacks with another service before starting my app. This is an interesting one - sounds like you're basically doing...

> > service discovery registration > > [I'm actually registering a discord command](https://github.com/ecumene/discord_spin/blob/fd3f5c18c734a704ce1473c8f89f9551542056ca/src/lib.rs#L172). Right now, it does it on the event that's meant for ping (grimacing) Makes sense. I'm mostly...

This is pretty much subsumed by #763

I think we should default to verifying the integrity of remote-sourced binaries to encourage good security practices. That might look something like: ```toml [component.source] url = "https://raw.githubusercontent.com/..." integrity = "sha256:abc123..."...