All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
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 promiseslocal 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
The very first release of rusty-luau.
- Initial
Option
&Result
implementations