Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split lune into proper crates #188

Merged
merged 68 commits into from
May 12, 2024
Merged
Changes from 1 commit
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
91fd9d9
Set up workspace manifest and move lune crate into crates dir
filiptibell Apr 21, 2024
99a8fa3
Remove automated cargo publish workflow
filiptibell Apr 21, 2024
e53d247
Add all crates for standard library to workspace
filiptibell Apr 21, 2024
5c5ea5b
Add utils crate
filiptibell Apr 21, 2024
13309ba
Add table builder to utils crate
filiptibell Apr 21, 2024
34e1165
Allow unnecessary wraps and similar names lints
filiptibell Apr 21, 2024
a5e349c
Port task library to new crate
filiptibell Apr 21, 2024
ac3721f
Migrate stdio builtin to new crate
filiptibell Apr 21, 2024
3b3fa65
Create full enum for lune standard libraries
filiptibell Apr 21, 2024
121afae
Add version string to lune-utils crate
filiptibell Apr 21, 2024
0bb9786
Fix lune tests running from the wrong dir
filiptibell Apr 21, 2024
136cb7d
Mostly port globals to lune-std crate
filiptibell Apr 21, 2024
cf7e1f3
Collect path-related functions in lune-utils crate
filiptibell Apr 21, 2024
a714efd
Add luaurc to lune-utils crate, resolve issues with require in lune-std
filiptibell Apr 21, 2024
5a52a51
Fix version string using lune-utils version instead of lune version, …
filiptibell Apr 21, 2024
f51a4a0
Reimplement stdio color and style apis, more strict types and helpful…
filiptibell Apr 22, 2024
5ad6b9a
Start lune std and utils crate versions at 0.1.0
filiptibell Apr 22, 2024
b04c0c2
Start implementing fmt module in lune-utils
filiptibell Apr 22, 2024
896121a
Add example usage doc to label enum
filiptibell Apr 22, 2024
4e00bcf
Start work on error parser in lune-utils
filiptibell Apr 22, 2024
7c702e4
Enable mlua luau feature in all crates
filiptibell Apr 22, 2024
6dad31d
Initial working version of new error parser and display
filiptibell Apr 22, 2024
e983b60
Add mechanism for using custom global version instead of lune-std cra…
filiptibell Apr 22, 2024
3433fb4
Initial implementation of new value formatter
filiptibell Apr 22, 2024
7f80093
Add note about results in value format impl
filiptibell Apr 22, 2024
ed409a6
Properly support recursive table formatting and multithreaded use
filiptibell Apr 22, 2024
5d94188
Reimplement printing globals and stdio.format using new formatter
filiptibell Apr 22, 2024
7fff3cb
Migrate datetime builtin to lune-std-datetime crate
filiptibell Apr 22, 2024
d947355
Migrate fs builtin to lune-std-fs crate
filiptibell Apr 22, 2024
bfe93ee
Fix lints in lune-std-datetime
filiptibell Apr 22, 2024
3bd6bb0
Migrate luau builtin to lune-std-luau crate
filiptibell Apr 22, 2024
ab3b577
Migrate serde builtin to lune-std-serde crate
filiptibell Apr 22, 2024
d1bfbba
Enable missing tokio features in various crates
filiptibell Apr 22, 2024
67597b7
Migrate process builtin to lune-std-process crate
filiptibell Apr 22, 2024
bc42cf5
Migrate regex builtin to lune-std-regex crate
filiptibell Apr 22, 2024
040c40a
Add new lune-roblox crate
filiptibell Apr 22, 2024
313dbcf
Migrate roblox module to new lune-roblox crate
filiptibell Apr 22, 2024
7f7cfb5
Fix every single clippy lint in lune-roblox crate (im tired, boss)
filiptibell Apr 22, 2024
d0c15e9
Migrate roblox builtin to new lune-std-roblox crate
filiptibell Apr 22, 2024
00f601e
Move luaurc struct and its dependencies from lune-utils to lune-std
filiptibell Apr 22, 2024
2261733
Migrate net builtin to new lune-std-net crate
filiptibell Apr 23, 2024
c8dcea0
Remove old builtins from lune crate and use lune-std instead
filiptibell Apr 23, 2024
b4b7440
Move runtime struct into runtime module
filiptibell Apr 23, 2024
3b3bd54
Add proper cfgs and feature dependencies to lune crate
filiptibell Apr 23, 2024
1941fed
Resolve remaining issues when features are disabled
filiptibell Apr 23, 2024
0dc1625
Fix cwd not ending with path separator
filiptibell Apr 23, 2024
98aebe5
Fix indentation and newline in new pretty format algo
filiptibell Apr 23, 2024
a84994b
Fix old version of scheduler crate being used
filiptibell May 10, 2024
8f5b5ee
Fix net serve test port being taken
filiptibell May 10, 2024
8a3f84c
Start making script to generate compressed test files
filiptibell May 10, 2024
6875353
Add diffs in compression generation script
filiptibell May 10, 2024
7513ea3
Add sanity check to make sure serde decompress passes first
filiptibell May 10, 2024
803c8c0
Fix arg
filiptibell May 10, 2024
d11bb16
Log output of compression tools after run
filiptibell May 10, 2024
ba39039
Fix gzip test file having os flag embedded in it
filiptibell May 10, 2024
57323e5
Handle decompress errors better
filiptibell May 10, 2024
237da52
Show file diff before trying to decompress
filiptibell May 10, 2024
286c659
Fix newlines being on their own lines
filiptibell May 10, 2024
160987c
Almost fix lz4
filiptibell May 11, 2024
48dd07e
lz4-flex does not support high compression level
filiptibell May 11, 2024
5c454eb
Migrate to lz4 crate to be able to decode hc mode
filiptibell May 11, 2024
2f6dec4
Find a cli that does raw zlib, fix zlib test file
filiptibell May 11, 2024
ec5625a
Make output of generation script friendlier
filiptibell May 11, 2024
ae1ab35
Even friendlier still
filiptibell May 11, 2024
2a7a198
Try to fix test runner on Windows
filiptibell May 11, 2024
d951361
Add publishing to crates.io in release workflow
filiptibell May 12, 2024
e72766a
Update action versions in github workflows
filiptibell May 12, 2024
9ae5727
Update tooling, run formatting
filiptibell May 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix old version of scheduler crate being used
filiptibell committed May 10, 2024
commit a84994beea53e536edee73b94effed815f41a064
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crates/lune-std-net/Cargo.toml
Original file line number Diff line number Diff line change
@@ -12,7 +12,7 @@ workspace = true

[dependencies]
mlua = { version = "0.9.7", features = ["luau"] }
mlua-luau-scheduler = "0.0.1"
mlua-luau-scheduler = "0.0.2"

bstr = "1.9"
futures-util = "0.3"
2 changes: 1 addition & 1 deletion crates/lune-std-process/Cargo.toml
Original file line number Diff line number Diff line change
@@ -12,7 +12,7 @@ workspace = true

[dependencies]
mlua = { version = "0.9.7", features = ["luau"] }
mlua-luau-scheduler = "0.0.1"
mlua-luau-scheduler = "0.0.2"

directories = "5.0"
pin-project = "1.0"
2 changes: 1 addition & 1 deletion crates/lune-std-roblox/Cargo.toml
Original file line number Diff line number Diff line change
@@ -12,7 +12,7 @@ workspace = true

[dependencies]
mlua = { version = "0.9.7", features = ["luau"] }
mlua-luau-scheduler = "0.0.1"
mlua-luau-scheduler = "0.0.2"

once_cell = "1.17"
rbx_cookie = { version = "0.1.4", default-features = false }
2 changes: 1 addition & 1 deletion crates/lune-std-stdio/Cargo.toml
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@ workspace = true
[dependencies]
dialoguer = "0.11"
mlua = { version = "0.9.7", features = ["luau"] }
mlua-luau-scheduler = "0.0.1"
mlua-luau-scheduler = "0.0.2"

tokio = { version = "1", default-features = false, features = [
"io-std",
2 changes: 1 addition & 1 deletion crates/lune-std-task/Cargo.toml
Original file line number Diff line number Diff line change
@@ -12,7 +12,7 @@ workspace = true

[dependencies]
mlua = { version = "0.9.7", features = ["luau"] }
mlua-luau-scheduler = "0.0.1"
mlua-luau-scheduler = "0.0.2"

tokio = { version = "1", default-features = false, features = ["time"] }

2 changes: 1 addition & 1 deletion crates/lune-std/Cargo.toml
Original file line number Diff line number Diff line change
@@ -37,7 +37,7 @@ task = ["dep:lune-std-task"]

[dependencies]
mlua = { version = "0.9.7", features = ["luau"] }
mlua-luau-scheduler = "0.0.1"
mlua-luau-scheduler = "0.0.2"

serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
2 changes: 1 addition & 1 deletion crates/lune/Cargo.toml
Original file line number Diff line number Diff line change
@@ -57,7 +57,7 @@ workspace = true

[dependencies]
mlua = { version = "0.9.7", features = ["luau"] }
mlua-luau-scheduler = "0.0.1"
mlua-luau-scheduler = "0.0.2"

anyhow = "1.0"
console = "0.15"