Imports
- interface
wasi:logging/logging@0.1.0-draft - interface
wasi:config/store@0.2.0-draft
Exports
- interface
wasi:logging/logging@0.1.0-draft
WIT
package root:component;
world root {
import wasi:logging/logging@0.1.0-draft;
import wasi:config/store@0.2.0-draft;
export wasi:logging/logging@0.1.0-draft;
}
The WIT of its dependencies, as it was built against them
This version keeps the parts of its dependencies it uses, as they were when it was built: their indexed versions differ from them, e.g. a pre-release that has since moved, or aren't indexed.
package wasi:logging@0.1.0-draft {
interface logging {
enum level {
trace,
debug,
info,
warn,
error,
critical,
}
log: func(level: level, context: string, message: string);
}
}
package wasi:config@0.2.0-draft {
interface store {
variant error {
upstream(string),
io(string),
}
get-all: func() -> result<list<tuple<string, string>>, error>;
}
}