docs.rs failed to build mirust-0.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
mirust-1.2.0
Mirust
Mirust is a Rust SDK designed to simplify the development of mIRC and AdiIRC-compatible DLLs. It abstracts away the low-level complexity of Windows DLL exports and mIRC-specific quirks, allowing developers to write clean, idiomatic Rust code that integrates seamlessly with IRC clients.
Features
- Effortless DLL Exporting: Annotate your Rust functions with
#[mirust_fn]to expose them to mIRC/AdiIRC. - Broad Compatibility: Supports mIRC versions starting from 5.6—the earliest version with DLL support.
- Modern Loadinfo Support: Provides a unified
loadinfoobject across all mIRC versions, including:m_version(added in 5.8)m_hwnd(added in 5.8)m_keep(added in 5.8)m_unicode(added in 7.0)m_beta(added in 7.51)m_bytes(added in 7.64)
- Version Correction: Automatically fixes incorrect version reporting in mIRC versions 5.8–6.2.
- String Encoding Made Easy: Seamlessly handles ANSI, UTF-8, and UTF-16 conversions - just use standard Rust
Strings. - Safe Pointer Interactions: Read and write to mIRC memory safely and idiomatically.
Getting Started
To use Mirust in your project:
-
Create a new Rust library crate.
-
In your
Cargo.toml, specify the crate type:[] = ["cdylib"] -
Add dependencies:
[] = { = "0.1" } = { = "0.62" }
Example Usage
Here are two examples demonstrating how to export mIRC-compatible functions using Mirust:
use mirust_fn;
use ;
License
Licensed under the MIT License.
© 2025 Joshua Byrnes