hyperimport
hyperimport copied to clipboard
Project status
I want to use https://github.com/rustp2p/rustp2p-transport with BunJs What is the status of hyperimport project? Is it dead?
It's certainly not dead, it's just that I don't get the time or ideas enough to push any new updates. I do have some new commits I'll be pushing in next month. And for the project, you may try and see if it works!
I just tried the rust tutorial https://github.com/tr1ckydev/hyperimport/wiki/Importing-a-rust-file its not working. Generated config file
import { LoaderConfig, T } from "hyperimport";
export default {
buildCommand: ["rustc","--crate-type","cdylib","/home/zafaransari/projects/bun/p2ptransport/lib/math.rs","--out-dir","build/math.rs"],
outDir: "build/math.rs",
symbols: {
math: {
args: [],
returns: T.void
},
}
} satisfies LoaderConfig.Main;