-
|
This might just be a me issue, but I'm having a hell of a time understanding the requirements for successfully building Perspective for Rust and getting the examples to successfully compile. I think it would be incredibly helpful to improve the docs.rs documentation. Within the rust directory, there are perspective-js, and perspective-python directories; why? Are they part of the build process? Looking at the rust-axum example, it looks like it imports the entire perspective crate directly. There also appears to be a Yew component module, which was my initial use case; however, there's also a perspective-viewer custom element? What are we supposed to actually use? There seem to be metadata and bundle rust programs that are part of the build process that (I think) aren't mentioned anywhere. Looking at the github workflow, pnpm is what's used for building for Windows? Thanks for any help. I'd be happy to update the documentation if I figure anything concrete out. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
Please start with the |
Beta Was this translation helpful? Give feedback.
You don't need to build this repo to use the
perspective(Rust API) crate in other projects - its on crates.io, justcargo add perspective.cmakeneeds to be on your path or declared in the env,pnpmis not needed.There is a Rust example project in ht e
/examplesdirectory