mirror of
https://github.com/CompeyDev/rusty-luau.git
synced 2024-12-12 04:40:40 +00:00
Strongly typed implementations of various rust idioms in Luau.
Erica Marigold
dde8ad0893
This release includes various changes to API interfaces, documentation, and includes new implementations. - Fixed inconsistencies `Option` & `Result` implementations - Implemented `Future`, a pollable asynchronous idiom, alternative to promises ```luau local net = require("@lune/net") local fut: Future<Result<string, string>> = Future.try(function(url) local resp = net.request({ url = url, method = "GET", }) assert(resp.ok) return resp.body end, { "https://jsonplaceholder.typicode.com/posts/1" }) local resp: Result<string, string> = fut:await() print(net.jsonDecode(resp:unwrap())) ``` - Added documentation for all available implementations - Included CI action - Added examples for `Result` - Removed incomplete `Iter` implementation |
||
---|---|---|
.github/workflows | ||
.moonwave | ||
.vscode | ||
examples | ||
lib | ||
.gitignore | ||
aftman.toml | ||
CHANGELOG.md | ||
LICENSE.md | ||
mod.luau | ||
moonwave.toml | ||
README.md | ||
selene.toml | ||
wally.lock | ||
wally.toml |
read the docs
strongly typed implementations of various rust idioms in luau.
currently, the following implementations are available: