diff options
| author | Matt Mastracci <matthew@mastracci.com> | 2023-06-24 13:54:10 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-24 13:54:10 +0200 |
| commit | 65d9bfb53361bfce6dc594c6a9df92c017dea6cb (patch) | |
| tree | 63886c7225b52444165be3abd53c4e745ca77512 /ops/Cargo.toml | |
| parent | 8d6dbda90ec0593f3f6e10c6696e320bdff7daa9 (diff) | |
refactor(ops): Adding op2 macro and implementing in a couple of places (#19534)
This is a new op system that will eventually replace `#[op]`.
Features
- More maintainable, generally less-coupled code
- More modern Rust proc-macro libraries
- Enforces correct `fast` labelling for fast ops, allowing for visual
scanning of fast ops
- Explicit marking of `#[string]`, `#[serde]` and `#[smi]` parameters.
This first version of op2 supports integer and Option<integer>
parameters only, and allows us to start working on converting ops and
adding features.
Diffstat (limited to 'ops/Cargo.toml')
| -rw-r--r-- | ops/Cargo.toml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ops/Cargo.toml b/ops/Cargo.toml index f142e4449..f9951f4e6 100644 --- a/ops/Cargo.toml +++ b/ops/Cargo.toml @@ -15,6 +15,7 @@ path = "./lib.rs" proc-macro = true [dependencies] +deno-proc-macro-rules.workspace = true lazy-regex.workspace = true once_cell.workspace = true pmutil = "0.5.3" @@ -22,7 +23,12 @@ proc-macro-crate = "1.1.3" proc-macro2.workspace = true quote.workspace = true regex.workspace = true +strum.workspace = true +strum_macros.workspace = true syn.workspace = true +syn2.workspace = true +thiserror.workspace = true +v8.workspace = true [dev-dependencies] pretty_assertions.workspace = true |
