Strongly typed implementations of various rust idioms in Luau.
Find a file
Erica Marigold dde8ad0893
chore(pkg): rusty-luau v0.2.0
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
2024-06-21 16:02:41 +05:30
.github/workflows revert: roblox support from main 2024-06-11 19:49:22 +05:30
.moonwave docs(moonwave): include customized moonwave configs 2024-04-16 16:11:23 +05:30
.vscode feat: initial Result and barebones Option implementation 2024-04-01 11:37:43 +05:30
examples chore(examples): include initial result example 2024-04-02 17:41:15 +05:30
lib chore: remove incomplete Iter 2024-06-21 16:00:39 +05:30
.gitignore revert: roblox support from main 2024-06-11 19:49:22 +05:30
aftman.toml chore(tooling): update lune 2024-06-21 15:58:37 +05:30
CHANGELOG.md chore(pkg): rusty-luau v0.2.0 2024-06-21 16:02:41 +05:30
LICENSE.md chore: include AGPL license 2024-04-02 17:29:30 +05:30
mod.luau revert: roblox support from main 2024-06-11 19:49:22 +05:30
moonwave.toml docs(moonwave): include customized moonwave configs 2024-04-16 16:11:23 +05:30
README.md chore(README): use abs license link 2024-06-21 15:53:44 +05:30
selene.toml chore(actions) + refactor(lint): include linting in workflow 2024-04-26 11:30:49 +05:30
wally.lock feat: include initial Future impl 2024-04-14 18:57:48 +05:30
wally.toml chore(pkg): expand list of excludes in manifest 2024-04-15 21:33:48 +05:30

wally AGPL-3.0 licensed docs CI

read the docs

strongly typed implementations of various rust idioms in luau.

currently, the following implementations are available: