mirror of
https://github.com/lune-org/lune.git
synced 2025-05-04 10:43:57 +01:00
Update dependencies across all crates
This commit is contained in:
parent
b147e83d3c
commit
0d653450de
10 changed files with 901 additions and 530 deletions
1389
Cargo.lock
generated
1389
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
|
@ -15,14 +15,14 @@ workspace = true
|
|||
[dependencies]
|
||||
mlua = { version = "0.10.3", features = ["luau"] }
|
||||
|
||||
glam = "0.27"
|
||||
rand = "0.8"
|
||||
thiserror = "1.0"
|
||||
glam = "0.30"
|
||||
rand = "0.9"
|
||||
thiserror = "2.0"
|
||||
|
||||
rbx_binary = "1.0.0"
|
||||
rbx_dom_weak = "3.0.0"
|
||||
rbx_reflection = "5.0.0"
|
||||
rbx_reflection_database = "1.0.0"
|
||||
rbx_xml = "1.0.0"
|
||||
rbx_binary = "1.0"
|
||||
rbx_dom_weak = "3.0"
|
||||
rbx_reflection = "5.0"
|
||||
rbx_reflection_database = "1.0"
|
||||
rbx_xml = "1.0"
|
||||
|
||||
lune-utils = { version = "0.1.3", path = "../lune-utils" }
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
use core::fmt;
|
||||
|
||||
use mlua::prelude::*;
|
||||
use rand::seq::SliceRandom;
|
||||
use rand::prelude::*;
|
||||
use rbx_dom_weak::types::BrickColor as DomBrickColor;
|
||||
|
||||
use lune_utils::TableBuilder;
|
||||
|
@ -61,7 +61,7 @@ impl LuaExportsTable for BrickColor {
|
|||
};
|
||||
|
||||
let brick_color_random = |_: &Lua, ()| {
|
||||
let number = BRICK_COLOR_PALETTE.choose(&mut rand::thread_rng());
|
||||
let number = BRICK_COLOR_PALETTE.choose(&mut rand::rng());
|
||||
Ok(color_from_number(*number.unwrap()))
|
||||
};
|
||||
|
||||
|
|
|
@ -53,7 +53,7 @@ impl LuaUserData for Vector2 {
|
|||
fn add_methods<M: LuaUserDataMethods<Self>>(methods: &mut M) {
|
||||
// Methods
|
||||
methods.add_method("Angle", |_, this, rhs: LuaUserDataRef<Vector2>| {
|
||||
Ok(this.0.angle_between(rhs.0))
|
||||
Ok(this.0.angle_to(rhs.0))
|
||||
});
|
||||
methods.add_method("Cross", |_, this, rhs: LuaUserDataRef<Vector2>| {
|
||||
let this_v3 = Vec3::new(this.0.x, this.0.y, 0f32);
|
||||
|
|
|
@ -15,7 +15,7 @@ workspace = true
|
|||
[dependencies]
|
||||
mlua = { version = "0.10.3", features = ["luau"] }
|
||||
|
||||
thiserror = "1.0"
|
||||
thiserror = "2.0"
|
||||
chrono = "0.4.38"
|
||||
chrono_lc = "0.1.6"
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ workspace = true
|
|||
mlua = { version = "0.10.3", features = ["luau"] }
|
||||
mlua-luau-scheduler = { version = "0.0.2", path = "../mlua-luau-scheduler" }
|
||||
|
||||
directories = "5.0"
|
||||
directories = "6.0"
|
||||
pin-project = "1.0"
|
||||
os_str_bytes = { version = "7.0", features = ["conversions"] }
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ mlua = { version = "0.10.3", features = ["luau"] }
|
|||
mlua-luau-scheduler = { version = "0.0.2", path = "../mlua-luau-scheduler" }
|
||||
|
||||
rbx_cookie = { version = "0.1.4", default-features = false }
|
||||
roblox_install = "1.0.0"
|
||||
roblox_install = "1.0"
|
||||
|
||||
lune-utils = { version = "0.1.3", path = "../lune-utils" }
|
||||
lune-roblox = { version = "0.1.4", path = "../lune-roblox" }
|
||||
|
|
|
@ -44,7 +44,7 @@ std = [
|
|||
"std-task",
|
||||
]
|
||||
|
||||
cli = ["dep:clap", "dep:rustyline", "dep:zip_next"]
|
||||
cli = ["dep:clap", "dep:rustyline", "dep:zip"]
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
@ -56,11 +56,11 @@ mlua-luau-scheduler = { version = "0.0.2", path = "../mlua-luau-scheduler" }
|
|||
anyhow = "1.0"
|
||||
console = "0.15"
|
||||
dialoguer = "0.11"
|
||||
directories = "5.0"
|
||||
directories = "6.0"
|
||||
futures-util = "0.3"
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
serde_json = "1.0"
|
||||
thiserror = "1.0"
|
||||
thiserror = "2.0"
|
||||
|
||||
tracing = "0.1"
|
||||
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
||||
|
@ -76,5 +76,5 @@ lune-utils = { version = "0.1.3", path = "../lune-utils" }
|
|||
### CLI
|
||||
|
||||
clap = { optional = true, version = "4.1", features = ["derive"] }
|
||||
rustyline = { optional = true, version = "14.0" }
|
||||
zip_next = { optional = true, version = "1.1" }
|
||||
rustyline = { optional = true, version = "15.0" }
|
||||
zip = { optional = true, version = "2.6" }
|
||||
|
|
|
@ -63,7 +63,7 @@ pub async fn get_or_download_base_executable(target: BuildTarget) -> BuildResult
|
|||
// archive is a somewhat slow / blocking operation
|
||||
let binary_file_name = format!("lune{}", target.exe_suffix());
|
||||
let binary_file_handle = task::spawn_blocking(move || {
|
||||
let mut archive = zip_next::ZipArchive::new(zip_file)?;
|
||||
let mut archive = zip::ZipArchive::new(zip_file)?;
|
||||
|
||||
let mut binary = Vec::new();
|
||||
archive
|
||||
|
|
|
@ -14,7 +14,7 @@ pub enum BuildError {
|
|||
#[error("failed to download lune binary: {0}")]
|
||||
Download(#[from] reqwest::Error),
|
||||
#[error("failed to unzip lune binary: {0}")]
|
||||
Unzip(#[from] zip_next::result::ZipError),
|
||||
Unzip(#[from] zip::result::ZipError),
|
||||
#[error("panicked while unzipping lune binary: {0}")]
|
||||
UnzipJoin(#[from] tokio::task::JoinError),
|
||||
#[error("io error: {0}")]
|
||||
|
|
Loading…
Add table
Reference in a new issue