Commit graph

1003 commits

Author SHA1 Message Date
Filip Tibell
a82cb1da33 Implement serve handle again and proper graceful shutdowns 2025-04-27 18:16:53 +02:00
Filip Tibell
d57a7b949d Expand the net serve test suite 2025-04-27 18:16:53 +02:00
Filip Tibell
4725497f42 Initial working http server 2025-04-27 18:16:53 +02:00
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
e234eab813
Make pretext in latest changelog entry clearer 2025-04-25 16:43:12 +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
98e68629c9
Add release date to changelog 2025-04-25 16:23:56 +02:00
Filip Tibell
0954730646
Try actually writing the stdin to stdout in powershell 2025-04-25 15:53:07 +02:00
Filip Tibell
27409f1bf4
Try to use dotnet console class instead for stdin test 2025-04-25 15:39:35 +02:00
Filip Tibell
c13728fce4
Okay lets try poweshell again 2025-04-25 15:02:12 +02:00
Filip Tibell
7cbeafc5b3
Enforce bash in exec stdin test instead of trying to use powershell 2025-04-25 13:53:41 +02:00
Filip Tibell
5a23cf04fa
Attempt to fix process exec test on windows 2025-04-25 13:42:15 +02:00
Filip Tibell
f6d2afb003
Improve process exec stdin test 2025-04-25 13:03:22 +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
43f11cd9f5
Disable exact compression tests and write about why 2025-04-24 21:43:41 +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
acd0f126e5
Make sure all test files use proper requires 2025-04-24 20:32:55 +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