proc-macro-crate
proc-macro-crate copied to clipboard
`$crate` in procedural macros.
Suppose we have a library crate `smol-lib`. When the library is called in context of an example for this library (i.e. `smol-lib/examples/smol.rs`) trying to look up the name of the...
toml_edit has relatively heavy dependencies, and, in particular, is more aggressive about MSRV bumps.
Since the `[build-dependencies]` section of the Cargo manifest is not checked (only `[dependencies]` and `[dev-dependencies]`), it fails to find crates that are only specified there. A simple fix would be...
Which causes compilation error when both proc-macro-crate v2 and v3 are in the dependency tree: ``` error: failed to select a version for `toml_datetime`. ... required by package `toml_edit v0.21.0`...
[`tomling`](https://github.com/zeenix/tomling) crate was specifically created to provide a simple TOML parser with fewer dependencies and focus on Cargo.toml parsing. Fixes #37. --- Creating a draft PR first to get some...