Commit graph

637 commits

Author SHA1 Message Date
Filip Tibell
f98400f753
Improve error for net serve failing to bind 2023-02-14 19:05:35 +01:00
Filip Tibell
a9261f889f
Do some debugging, fix scheduler not always exiting with the correct code/error 2023-02-14 16:39:15 +01:00
Filip Tibell
b5f6e6da98
Implement async background tasks for scheduler 2023-02-14 15:27:10 +01:00
Filip Tibell
d2ff0783a5
Implement bulk of async APIs 2023-02-14 13:17:07 +01:00
Filip Tibell
b1b69c7d94
Properly handle tasks that switch context in new scheduler 2023-02-13 23:36:30 +01:00
Filip Tibell
879d6723a3
Document some more scheduler stuff 2023-02-13 21:47:18 +01:00
Filip Tibell
e3e56301ce
Elide lifetimes where possible 2023-02-13 21:31:19 +01:00
Filip Tibell
805b9d89ad
Fully implement and document the task scheduler 2023-02-13 21:29:05 +01:00
Filip Tibell
fc5de3c8d5
Initial implementation of proper task scheduler, no async yet 2023-02-13 15:28:18 +01:00
Filip Tibell
bb182033b9
Fix task.delay keeping Lune alive even if cancelled 2023-02-12 19:07:15 +01:00
Filip Tibell
5157e60379
Improve websocket examples 2023-02-12 18:24:55 +01:00
Filip Tibell
620361348f
Improve example comment 2023-02-12 17:30:15 +01:00
Filip Tibell
b302543502
Add examples for web socket servers & clients 2023-02-12 15:25:17 +01:00
Filip Tibell
d50df04d09
Fix typo in changelog 2023-02-12 00:10:23 +01:00
Filip Tibell
0149093e11
Update lockfile 2023-02-11 23:43:06 +01:00
Filip Tibell
4b6a934637
Version 0.4.0 2023-02-11 23:39:59 +01:00
Filip Tibell
1e7cbc4062
Clean up typedefs file 2023-02-11 23:38:47 +01:00
Filip Tibell
adc503d6ae
Fix docs file not parsing because of declare class syntax 2023-02-11 23:37:23 +01:00
Filip Tibell
091dc17337
Implement web socket client 2023-02-11 23:29:17 +01:00
Filip Tibell
6c97003571
Implement web sockets for net serve 2023-02-11 22:40:14 +01:00
Filip Tibell
962d89fd40
Accept & upgrade websocket connections 2023-02-11 15:09:06 +01:00
Filip Tibell
41212f4b4c
Net serve now returns a handle to stop serving requests safely 2023-02-11 14:25:53 +01:00
Filip Tibell
6c49ef7e4a
Use static lua lifetime 2023-02-11 12:39:39 +01:00
Filip Tibell
709a69aa82
Refactor and document lune lib public members 2023-02-10 12:14:28 +01:00
Filip Tibell
3073fb8fec
Move internal message struct out from lib file 2023-02-09 23:28:12 +01:00
Filip Tibell
f3cb4f2ce0
Make process.spawn result a global type 2023-02-09 23:23:16 +01:00
Filip Tibell
be39ecc00a
Reuse http client for net.request 2023-02-09 23:21:26 +01:00
Filip Tibell
eebe009873
Use console crate for ansi colors in list command 2023-02-09 23:07:30 +01:00
Filip Tibell
f18fe48008
Add support for tilde home dir substitution in process.spawn 2023-02-09 22:59:17 +01:00
Filip Tibell
7699d06647
Proper implementation of async process spawn 2023-02-09 22:23:22 +01:00
Filip Tibell
72f6b356c4
Initial work on async impl of process spawn 2023-02-09 17:23:06 +01:00
Filip Tibell
7aa8896997
Query parameters for net serve is now a table instead of a string 2023-02-07 21:54:52 -05:00
Filip Tibell
16d9c94822
Update hello lune example 2023-02-06 13:10:52 -05:00
Filip Tibell
f1296e391b
Version 0.3.0 2023-02-06 13:02:13 -05:00
Filip Tibell
ee64d2ef9c
Implement stdio prompt function 2023-02-06 12:59:48 -05:00
Filip Tibell
bbf1c9f4f7
Migrate console global to stdio 2023-02-06 00:13:12 -05:00
Filip Tibell
420a861061
Don't export everything in the lune lib 2023-02-05 22:32:10 -05:00
Filip Tibell
2e3f95ebd6
Migrate console lib printing functions to regular globals 2023-02-05 22:25:36 -05:00
Filip Tibell
6ae139d987
Update crate publish action version 2023-02-05 19:46:03 -05:00
Filip Tibell
f5d9aab2e5
Fix publishing to crates.io 2023-02-05 19:41:38 -05:00
Filip Tibell
bd71075023
Fix release workflow some more 2023-02-05 19:24:53 -05:00
Filip Tibell
e921d994d1
Fix release workflow 2023-02-05 19:23:12 -05:00
Filip Tibell
4ae8cecd90
Version 0.2.2 2023-02-05 19:17:31 -05:00
Filip Tibell
aec7f820ca
Migrate to using cargo workspaces 2023-02-05 19:13:58 -05:00
Filip Tibell
403d87f7f5
Rename example 2023-02-05 11:36:57 -05:00
Filip Tibell
43713fbe92
Add teapot to example 2023-02-04 23:49:51 -05:00
Filip Tibell
5f831ebb9f
Fix rogue quote in example 2023-02-04 23:47:04 -05:00
Filip Tibell
23b570b609
Improve csv printer example 2023-02-03 23:47:22 -05:00
Filip Tibell
28d6817c49
Add more examples, global types for net APIs 2023-02-03 23:40:27 -05:00
Filip Tibell
a8b57653f3
Fix typedefs download breaking after switching to reqwest 2023-02-03 22:21:40 -05:00