Commit graph

114 commits

Author SHA1 Message Date
Filip Tibell
9157ed9d33 Add back url encoding and decoding functions 2025-04-27 18:16:53 +02:00
Filip Tibell
611a9a92d8 Implement decompression for incoming bodies 2025-04-27 18:16:53 +02:00
Filip Tibell
af46cbbe1b Share incoming body implementation between both client and server 2025-04-27 18:16:53 +02:00
Filip Tibell
85ba4e66fe Use tryfrom trait to convert from config to request or response 2025-04-27 18:16:53 +02:00
Filip Tibell
64d49de3be Make imports symmetric too 2025-04-27 18:16:53 +02:00
Filip Tibell
a0f55bc1ec Implement server response config and full symmetry between request and response methods 2025-04-27 18:16:53 +02:00
Filip Tibell
1e4b020d84 Make response fields crate visible 2025-04-27 18:16:53 +02:00
Filip Tibell
48e34b8c98 Move request sending to client sub module 2025-04-27 18:16:53 +02:00
Filip Tibell
c92d086123 Use only Bytes for internal representation, add helper methods to convert to Full<Bytes> 2025-04-27 18:16:53 +02:00
Filip Tibell
ee908067a7 Some more comments 2025-04-27 18:16:53 +02:00
Filip Tibell
46692e1133 Implement automatic redirect following for requests 2025-04-27 18:16:53 +02:00
Filip Tibell
ece2c1adf2 Preallocate incoming body 2025-04-27 18:16:53 +02:00
Filip Tibell
f5993c6505 Make sure the decompress option is preserved 2025-04-27 18:16:53 +02:00
Filip Tibell
14197d9398 Add back some old structs and utils for net requests + most tests now pass 2025-04-27 18:16:53 +02:00
Filip Tibell
07744d0079 Initial working request function in net 2025-04-27 18:16:53 +02:00
Filip Tibell
f9fc1c6de1 Executor should be clonable 2025-04-27 18:16:53 +02:00
Filip Tibell
0911fcbf5b Implement everything needed to integrate with hyper: executor + timer + sleep + io 2025-04-27 18:16:53 +02:00
Filip Tibell
89e8104bd4 Rename modules to client + server instead of request + serve + socket 2025-04-27 18:16:53 +02:00
Filip Tibell
1cd9813702 Implement initial http request stream with http + https 2025-04-27 18:16:53 +02:00
Filip Tibell
b4152a34af Make some blank modules 2025-04-27 18:16:53 +02:00
Filip Tibell
d70e09a591 Rip the net out 2025-04-27 18:16:53 +02:00
Sasial
1f43ff89f7
RuntimeReturnValues should derive Debug (#309) 2025-04-26 22:51:17 +02:00
Filip Tibell
fc12e15a9a
Add missing error-send feature to mlua in lune-std-serde 2025-04-25 16:29:00 +02:00
Filip Tibell
c3f483b3dd
Fix category in mlua-luau-scheduler 2025-04-25 16:26:13 +02:00
Filip Tibell
b74568eea0
Bump all crate versions 2025-04-25 12:49:58 +02:00
Filip Tibell
387080cf45
Make the final breaking change with net json and update changelog 2025-04-25 12:43:40 +02:00
Filip Tibell
1119f0d46b
Remove legacy stdin option in favor of full stdio options on process exec + adjust tests accordingly 2025-04-24 22:14:03 +02:00
Filip Tibell
551120fba1
Pass rest args plainly to process.args when using lune run 2025-04-24 22:01:00 +02:00
Filip Tibell
88494fedcb
Migrate lune-std to use async-fs and friends 2025-04-24 21:52:07 +02:00
Filip Tibell
0a3b57697d
Migrate lune-std-fs to use async-fs instead of tokio 2025-04-24 21:47:40 +02:00
Filip Tibell
c163c6f157
Fix __tostring metamethods sometimes not being respected properly 2025-04-24 21:31:03 +02:00
Filip Tibell
4ce2d3a80f
Make runtime return values into a non exhaustive struct to prevent future breakage 2025-04-24 21:15:46 +02:00
Filip Tibell
74375ff708
Implement self alias for module requires 2025-04-24 21:02:16 +02:00
Filip Tibell
a673f80c95
Start working on getting require semantics up to date 2025-04-24 20:38:10 +02:00
Filip Tibell
0d653450de
Update dependencies across all crates 2025-04-24 19:58:05 +02:00
Filip Tibell
b147e83d3c
Bundle each typedefs file with its respective lune-std crate to fix publishing and cargo-binstall issues 2025-04-24 19:49:20 +02:00
Filip Tibell
58a65afc2c
Write tracing output to stderr instead of stdout 2025-04-24 19:22:56 +02:00
Filip Tibell
6b45f44d1f
Implement readLine in lune-std-stdio 2025-04-24 18:53:17 +02:00
Filip Tibell
c4374a0e18
Complete migration of lune-std-process to use async-process instead of tokio 2025-04-24 16:28:34 +02:00
Filip Tibell
8059026251
Start migrating lune-std-process to use async-process instead of tokio 2025-04-24 13:16:50 +02:00
Filip Tibell
2a701e919c
Migrate lune-std-serde to async-io instead of tokio 2025-04-23 23:28:33 +02:00
Filip Tibell
aeaebf4290
Migrate lune-std-stdio to async-io instead of tokio 2025-04-23 23:22:35 +02:00
Filip Tibell
54115430f5
Migrate lune-std-task to use async-io instead of tokio for better scheduler integration + remove temp test file 2025-04-23 22:17:21 +02:00
Filip Tibell
524a5c0777
Remove unused tokio dependency from lune-utils 2025-04-23 19:29:08 +02:00
Filip Tibell
c091b05f6c
Guarantee that wait/sleep functions always yield in both task library and scheduler examples 2025-04-23 19:18:08 +02:00
Filip Tibell
8ffbb328f3
Enforce some more consistency with new datetime changes + add deprecation warning to iso methods 2025-04-23 16:01:12 +02:00
Filip Tibell
d6f4cb289e
Remove self_cell dependency from main crate (regex still needs it) 2025-04-23 15:27:28 +02:00
Filip Tibell
6252bc218e
Migrate to mlua 0.10 2025-04-23 15:20:53 +02:00
Filip Tibell
ad8822c1e7
Remove re-export of lune roblox crate in main crate 2025-04-23 13:21:25 +02:00
Filip Tibell
83fbcbb255
Remove once_cell dependency 2025-04-23 13:20:56 +02:00