Commit Graph

9 Commits

Author SHA1 Message Date
Lann Martin 304fc108cc
chore: Fix some rustdoc lints
Signed-off-by: Lann Martin <lann.martin@fermyon.com>
2023-01-04 10:51:44 -05:00
Konstantin Shabanov 44bc3a003f
fix: Get rid of log/env_logger leftovers
Also, fixes redis-rust template.

refs: https://github.com/fermyon/spin/issues/945
Signed-off-by: Konstantin Shabanov <mail@etehtsea.me>
2022-12-07 15:03:25 +06:00
Konstantin Shabanov 87fc3a0689
Bump wasmtime to 3.0.0
Fixes compatibility with redesigned error handling (Result<T,
wasmtime::Trap> -> anyhow::Result<T>).

Refs: https://github.com/bytecodealliance/wasmtime/pull/5149

Signed-off-by: Konstantin Shabanov <mail@etehtsea.me>
2022-11-30 00:16:58 +06:00
Lann Martin 0f573730ca
Add Store::set_deadline
This implements execution deadlines with wasmtime's "epoch interruption"
feature.

Signed-off-by: Lann Martin <lann.martin@fermyon.com>
2022-11-14 14:30:46 -05:00
Lann Martin 72d00dda8c
chore: Use workspace inheritance
This uses the "workspace inheretance" features introduced in Cargo 1.64
to deduplicate dependency specifications and package info across the
workspace.

Add package 'license' and 'rust-version' to the workspace root.

Signed-off-by: Lann Martin <lann.martin@fermyon.com>
2022-11-10 10:55:33 -05:00
Lann Martin 4ee7dc74a6
Add tests to spin-core crate
Signed-off-by: Lann Martin <lann.martin@fermyon.com>
2022-09-29 14:41:37 -04:00
Lann Martin b21f18593f
Add documentation to spin-core crate
Signed-off-by: Lann Martin <lann.martin@fermyon.com>
2022-09-29 14:41:36 -04:00
Lann Martin 548efa3119
Migrate spin-http to new core
Signed-off-by: Lann Martin <lann.martin@fermyon.com>
2022-09-29 14:39:43 -04:00
Lann Martin 216a5f7a23
Copy spin-core and spin-app crates from prototype
Signed-off-by: Lann Martin <lann.martin@fermyon.com>
2022-09-29 14:26:36 -04:00