Open
Description
Summary
I have implemented a JS proxy using quickjs_runtime where i have my own custom classes and methods implemented in rust and can be callable from javascript methods.
https://github.com/HiRoFa/quickjs_es_runtime
Ex: I have
Javscript code
class PdfDocument {
}
this.doc = new io.pdf.PdfDocument(__id__, docProps);
io.pdf.PdfDocument is a proxy and implemenation in rust using JsProxy of quickjs_runtime.
Rust code
let proxy = JsProxy::new()
.namespace(&["io", "pdf"])
.name("PdfDocument")
Is there any similar way to implement python as well?
Ex: Implementaion should be completely in rust where as calling is from Python.
Metadata
Metadata
Assignees
Labels
No labels