7 releases
0.2.5 | Nov 23, 2022 |
---|---|
0.2.4 | Nov 22, 2022 |
0.1.0 | Nov 22, 2022 |
#213 in Windows APIs
32 downloads per month
68KB
2K
SLoC
dll-proxy-rs
placeholder readme
under construction
lib.rs
:
A Macro for defining an entry point for a cdylib.
On Windows, this macro will wrap your function in DllMain, and call it when the DLL attaches. It will lookup exports of supported proxies, based on our own Module Name, and store them. Effectively, creating a dynamic proxy that we could add any number of supported proxies to.
Supported Targets
- Windows
x86_64-pc-windows-msvc
i686-pc-windows-msvc
Example
use proxy_dll::proxy;
#[proxy]
fn main() {
println!("Hello, world!");
}
Safety
This crate is pretty unsafe
Dependencies
~0.3–1MB
~18K SLoC