Ports rust-g -> rustlibs: toast (#29379)

* moves rustg_toast to rustlibs_toast

* Build Rust library

* Build Rust library

* Update rust/Cargo.toml

Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com>
Signed-off-by: chuga-git <98280110+chuga-git@users.noreply.github.com>

* Build Rust library

* throw out old binaries

---------

Signed-off-by: chuga-git <98280110+chuga-git@users.noreply.github.com>
Co-authored-by: paradisess13[bot] <165046124+paradisess13[bot]@users.noreply.github.com>
Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com>
This commit is contained in:
chuga-git
2025-07-19 14:56:22 +00:00
committed by GitHub
co-authored by AffectedArc07 paradisess13[bot] <165046124+paradisess13[bot]@users.noreply.github.com>
parent 0b254678a0
commit 4882ffe053
11 changed files with 968 additions and 89 deletions
+6
View File
@@ -189,6 +189,12 @@
return RUSTLIB_CALL(redis_publish, channel, message)
// MARK: Toast
/// (Windows only) Triggers a desktop notification with the specified title and body
/proc/rustlibs_create_toast(title, body)
return RUSTLIB_CALL(create_toast, title, body)
// MARK: HTTP
#define RUSTLIBS_HTTP_METHOD_GET "get"
#define RUSTLIBS_HTTP_METHOD_PUT "put"
-4
View File
@@ -82,7 +82,3 @@
#define rustg_sql_connected(handle) RUSTG_CALL(RUST_G, "sql_connected")(handle)
#define rustg_sql_disconnect_pool(handle) RUSTG_CALL(RUST_G, "sql_disconnect_pool")(handle)
#define rustg_sql_check_query(job_id) RUSTG_CALL(RUST_G, "sql_check_query")("[job_id]")
// Toast Operations //
#define rustg_create_toast(title, body) RUSTG_CALL(RUST_G, "create_toast")(title, body)