When trying to use libsql-client within a Cloudflare Worker environment I get this
error[E0432]: unresolved imports `syn::FnArg`, `syn::ImplItem`, `syn::Item`
--> /home/aifrim/.cargo/registry/src/index.crates.io-6f17d22bba15001f/worker-macros-0.0.6/src/durable_object.rs:3:36
|
3 | use syn::{spanned::Spanned, Error, FnArg, ImplItem, Item, Type, TypePath};
| ^^^^^ ^^^^^^^^ ^^^^ no `Item` in the root
| | |
| | no `ImplItem` in the root
| no `FnArg` in the root
error[E0432]: unresolved import `syn::ItemFn`
--> /home/aifrim/.cargo/registry/src/index.crates.io-6f17d22bba15001f/worker-macros-0.0.6/src/event.rs:3:75
|
3 | use syn::{parse_macro_input, punctuated::Punctuated, token::Comma, Ident, ItemFn};
| ^^^^^^ no `ItemFn` in the root
For more information about this error, try `rustc --explain E0432`.
Here is how it is defined in my Cargo.toml (since the latest changes
When trying to use
libsql-client
within a Cloudflare Worker environment I get thisHere is how it is defined in my
Cargo.toml
(since the latest changesAnd when I change the git url to my fork https://github.com/aifrim/libsql-client-rs the build works.