1
Fork 0
mirror of https://github.com/redstrate/Auracite.git synced 2025-06-30 09:37:45 +00:00

Update dependencies

This commit is contained in:
Joshua Goins 2025-06-28 11:33:49 -04:00
parent 3009655964
commit a2922d043d
4 changed files with 350 additions and 404 deletions

731
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -27,13 +27,13 @@ serde = { version = "1.0", features = ["derive"], default-features = false }
regex = { version = "1.11", default-features = false, features = ["unicode-perl"] } regex = { version = "1.11", default-features = false, features = ["unicode-perl"] }
# Used to generate the HTML page to easily preview your exported data # Used to generate the HTML page to easily preview your exported data
minijinja = { version = "2.9", default-features = false } minijinja = { version = "2.11", default-features = false }
# Download files # Download files
reqwest = { version = "0.12" } reqwest = { version = "0.12" }
# Zip the character archive # Zip the character archive
zip = { version = "2.5", default-features = false } zip = { version = "4.2", default-features = false }
# Exporting propietary game data # Exporting propietary game data
physis = { git = "https://github.com/redstrate/Physis" } physis = { git = "https://github.com/redstrate/Physis" }
@ -42,10 +42,7 @@ physis = { git = "https://github.com/redstrate/Physis" }
base64 = { version = "0.22", default-features = false } base64 = { version = "0.22", default-features = false }
# Not used directly by us, but to disable the "std" feature and is used by the scraper crate. # Not used directly by us, but to disable the "std" feature and is used by the scraper crate.
ahash = { version = "0.8.1", default-features = false } ahash = { version = "0.8", default-features = false }
# Ditto, but used by the ahash crate.
getrandom = { version = "0.2", features = ["js"], default-features = false }
[target.'cfg(target_family = "wasm")'.dependencies] [target.'cfg(target_family = "wasm")'.dependencies]
# Used to generate the WebAssembly version # Used to generate the WebAssembly version
@ -53,15 +50,18 @@ wasm-bindgen = { version = "0.2", default-features = false }
wasm-bindgen-futures = { version = "0.4", default-features = false } wasm-bindgen-futures = { version = "0.4", default-features = false }
# For async # For async
tokio = { version = "1.44", features = ["rt", "macros"], default-features = false } tokio = { version = "1.45", features = ["rt", "macros"], default-features = false }
serde_json = { version = "1.0", default-features = false, features = ["alloc"] } serde_json = { version = "1.0", default-features = false, features = ["alloc"] }
console_error_panic_hook = { version = "0.1.7", optional = true } console_error_panic_hook = { version = "0.1.7", optional = true }
# to fix some dependency that doesn't enable the feature
getrandom = { version = "0.3", features = ["wasm_js"] }
[target.'cfg(not(target_family = "wasm"))'.dependencies] [target.'cfg(not(target_family = "wasm"))'.dependencies]
# For async # For async
tokio = { version = "1.44", features = ["rt", "rt-multi-thread", "macros"], default-features = false } tokio = { version = "1.45", features = ["rt", "rt-multi-thread", "macros"], default-features = false }
# Used for the Qt UI # Used for the Qt UI
cxx = { version = "1.0", default-features = false } cxx = { version = "1.0", default-features = false }

View file

@ -1,3 +1,3 @@
#!/bin/sh #!/bin/sh
wasm-pack build --target web RUSTFLAGS='--cfg getrandom_backend="wasm_js"' wasm-pack build --target web

View file

@ -13,6 +13,7 @@ use base64::prelude::*;
use data::{Appearance, Currencies}; use data::{Appearance, Currencies};
use package::Package; use package::Package;
use physis::race::{Gender, Race, Tribe}; use physis::race::{Gender, Race, Tribe};
use physis::savedata::chardat;
use regex::Regex; use regex::Regex;
use reqwest::Url; use reqwest::Url;
use serde::Deserialize; use serde::Deserialize;
@ -318,9 +319,9 @@ pub async fn archive_character(id: u64, use_dalamud: bool) -> Result<Vec<u8>, Ar
.try_into() .try_into()
.unwrap(); .unwrap();
let char_dat = physis::chardat::CharacterData { let char_dat = chardat::CharacterData {
version: 7, version: 7,
customize: physis::chardat::CustomizeData { customize: chardat::CustomizeData {
race: (package.race as u8).try_into()?, race: (package.race as u8).try_into()?,
gender: (package.gender as u8).try_into()?, gender: (package.gender as u8).try_into()?,
age: package.model_type as u8, age: package.model_type as u8,