| Crates.io | tcl_derive |
| lib.rs | tcl_derive |
| version | 0.1.5 |
| created_at | 2023-03-13 06:18:42.088943+00 |
| updated_at | 2024-02-03 08:26:15.807543+00 |
| description | Macros for tcl crate to register functions/closures as Tcl commands |
| homepage | |
| repository | https://github.com/oooutlk/tcltk |
| max_upload_size | |
| id | 808610 |
| size | 45,324 |
The tcl_derive crate provides the proc-macro implementation for the tcl crate.
The #[proc] attribute to get a Rust fn ready for registering as a Tcl command.
The tclfn!{} macro to define a Rust fn 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.
Under Apache License 2.0 or MIT License, at your will.