-
- Support generated functions with multiple return values
- Support a variable number of input arguments (not just 2 ints)
- Custom function name besides `fn_under_test`?
-
```
warning: unsafe function's docs miss `# Safety` section
--> src/lib.rs:40:1
|
40 | mopafy!(Widget);
| ^^^^^^^^^^^^^^^^
|
= note: `#[warn(clippy::missing_safety_doc)]` on by de…
-
Currently, we generate array impls for every size up to 32 manually using macros, but with const generics at a suitable level of implementation, we can switch to properly parameterising over all lengt…
-
### Bug Description
Providing an `--interpreter` option causes recompilation of pyo3 on every build on Linux (Windows works fine).
### Your maturin version (`maturin --version`)
1.7.4
### …
-
This is a dump of some elements that I considered adding to the [SemVer compatibility chapter](https://github.com/rust-lang/cargo/blob/master/src/doc/src/reference/semver.md), but didn't have time or …
ehuss updated
17 hours ago
-
It is not entirely clear what it means for a macro to be "safe", and by extension, what it means for a macro to be "sound". This is what underlies the old discussion at https://github.com/RustSec/advi…
-
# Rust过程宏系列教程 | Proc Macro Workshop 之 Builder 实现 - Rust精选
The roots aren't deep but the seeds are planted!
[https://rustmagazine.github.io/rust_magazine_2021/chapter_5/proc_macro_workshop_guide_for_…
-
It's hard to debug the `validation` function, errors often result in the entire macro invocation failing with an obscure and incorrect error:
```
the size for values of type `dyn std::ops::FnMut(s…
-
This will be interesting...
-
Goal: (1) Make (`pydantic-core` ->) `pydantic` blazingly fast. (2) Make pydantic a dataclass interface for PyO3.
My previous issue made me consider generating Rust `struct`s for Pydantic models. Ru…