Updated idmangler library, did some fixes to my stuff because stuff was shuffled around

This commit is contained in:
endernon 2024-09-11 19:36:34 +01:00
parent 7f2dc1ff87
commit bfe539898e
3 changed files with 12 additions and 18 deletions

9
Cargo.lock generated
View file

@ -8,15 +8,11 @@ version = "0.22.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
[[package]]
name = "idlib"
version = "0.1.0"
[[package]] [[package]]
name = "idmangler-lib" name = "idmangler-lib"
version = "0.1.1" version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "933f1ad62a44e77740c6787fd5077369f428edb4e5cc80948aa31f8fd317de71" checksum = "01a4ccddf0b9d54668e06b249f940e4c376cc4393ef5d149c87759a774b385d5"
dependencies = [ dependencies = [
"thiserror", "thiserror",
] ]
@ -38,7 +34,6 @@ name = "newestidmangler"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"base64", "base64",
"idlib",
"idmangler-lib", "idmangler-lib",
"serde", "serde",
"serde_json", "serde_json",

View file

@ -5,7 +5,6 @@ edition = "2021"
[dependencies] [dependencies]
base64 = "0.22.1" base64 = "0.22.1"
idlib = { path = "./idlib" } idmangler-lib = "0.3.0"
idmangler-lib = "0.1.1"
serde = { version = "1.0", features = ["derive"] } serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0" serde_json = "1.0"

View file

@ -1,15 +1,15 @@
use idmangler_lib::{ use idmangler_lib::{
data_transformer::{
enddata::EndData, identdata::IdentificationData, namedata::NameData, EndData, IdentificationData, NameData,
powderdata::PowderData, rerolldata::RerollData, shinydata::ShinyData, startdata::StartData, PowderData, RerollData, ShinyData, StartData,
typedata::TypeData, DataEncoder, TypeData, DataEncoder,
},
encoding::{encode_string}, encoding::{encode_string},
types::{ types::{
itemtype::ItemType, ItemType,
powder::Powders, Powders,
stat::{RollType, Stat}, {RollType, Stat},
transform::TransformVersion, TransformVersion,
}, },
}; };