5 releases

0.3.0 Dec 29, 2025
0.2.5 Sep 11, 2025
0.2.4 Jul 15, 2025
0.2.3 Jul 1, 2025
0.2.0 Jun 7, 2025

#1784 in Procedural macros

Download history 4/week @ 2025-10-09 19/week @ 2025-10-16 6/week @ 2025-10-23 1/week @ 2025-12-04 100/week @ 2025-12-11 111/week @ 2025-12-18 10/week @ 2026-01-08 26/week @ 2026-01-15 48/week @ 2026-01-22

84 downloads per month
Used in rust_code_obfuscator

MIT license

8KB
124 lines

obfuscator_derive

crates.io Contributing Whitepaper Obfuscation Guide

Procedural macro definitions for the Rustfuscator — a Rust obfuscation framework for control flow, syntax, and literal protection.


🧠 What is obfuscator_derive?

This crate provides the procedural macros used by Rustfuscator.
It defines attribute macros like #[obfuscate] that mark functions or modules for transformation during compilation.

⚠️ This crate is not meant to be used directly. Use rust_code_obfuscator) unless you're developing internals or writing custom tooling.

Usage notes

  • #[derive(Obfuscate)] supports fields of type String and u32.
  • Invalid field types produce a compile-time error pointing to the offending field.
  • The derive internally uses rust_code_obfuscator::crypto::default_key(); no user key plumbing required.

Dependencies

~1.6–2.2MB
~45K SLoC