6 releases
0.1.5 | Feb 3, 2024 |
---|---|
0.1.4 | Jan 11, 2024 |
0.1.3 | Nov 28, 2023 |
0.1.2 | Sep 9, 2023 |
0.1.0 | Mar 13, 2023 |
#15 in #tcl
90 downloads per month
Used in 4 crates
(2 directly)
46KB
640 lines
The tcl_derive
crate provides the proc-macro implementation for the tcl
crate.
-
The
#[proc]
attribute to get a Rustfn
ready for registering as a Tcl command. -
The
tclfn!{}
macro to define a Rustfn
and register it as a Tcl command. -
The
tclosure!{}
macro to define a Rust closure and register it as a Tcl command.
See tcl
crate's doc for more.
License
Under Apache License 2.0 or MIT License, at your will.
lib.rs
:
Proc macro for tcl (and tk).
Dependencies
~0.4–0.9MB
~19K SLoC