Running into a compilation error when trying to import agent-rs crate. Not seeing the same error from a barebones Axum project. Thoughts? #2022
-
I am trying to use this crate in an SSR'd cargo-leptos project: It seems to work fine with a barebones axum project. Here is a minimal reproduction: Try cloning and But if doing the same import in a Minimal reproduction here: I'm unsure if the issue is with the crate or Thoughts? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Is it failing while trying to compile it for WASM? i.e,. have you tried making it optional and only enabling it for SSR? |
Beta Was this translation helpful? Give feedback.
This was solved by setting a feature flag in the imported crate.
More details here