Ports rust_g -> rustlibs: logging, toml, dmi, json, and noisegen (#28858)

* Rustlibs logging, toml, dmi, and dbpnoise

* missed one

* Hopefully fix logging utf-8 decode errors

* Fuck

* Build Rust library

* ports rust_g json validator

* rustlibs_file clippy lint

* Build Rust library

* fix merge conflict

---------

Co-authored-by: paradisess13[bot] <165046124+paradisess13[bot]@users.noreply.github.com>
This commit is contained in:
chuga-git
2025-04-11 12:45:45 -05:00
committed by GitHub
parent 4094c80116
commit 5c8ba2ee4e
25 changed files with 558 additions and 106 deletions
+3 -3
View File
@@ -45,7 +45,7 @@ SUBSYSTEM_DEF(http)
log_data += "\tResponse body: [res.body]"
log_data += "\tResponse headers: [json_encode(res.headers)]"
log_data += "END ASYNC RESPONSE (ID: [req.id])"
rustg_log_write(GLOB.http_log, log_data.Join("\n[GLOB.log_end]"))
rustlibs_log_write(GLOB.http_log, log_data.Join("\n[GLOB.log_end]"))
/**
* Async request creator
@@ -74,7 +74,7 @@ SUBSYSTEM_DEF(http)
log_data += "END ASYNC REQUEST (ID: [req.id])"
// Write the log data
rustg_log_write(GLOB.http_log, log_data.Join("\n[GLOB.log_end]"))
rustlibs_log_write(GLOB.http_log, log_data.Join("\n[GLOB.log_end]"))
/**
* Blocking request creator
@@ -106,7 +106,7 @@ SUBSYSTEM_DEF(http)
log_data += "END BLOCKING REQUEST"
// Write the log data
rustg_log_write(GLOB.http_log, log_data.Join("\n[GLOB.log_end]"))
rustlibs_log_write(GLOB.http_log, log_data.Join("\n[GLOB.log_end]"))
return res
*/