hyperimport icon indicating copy to clipboard operation
hyperimport copied to clipboard

Project status

Open ansarizafar opened this issue 8 months ago • 2 comments

I want to use https://github.com/rustp2p/rustp2p-transport with BunJs What is the status of hyperimport project? Is it dead?

ansarizafar avatar Mar 10 '25 04:03 ansarizafar

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!

tr1ckydev avatar Mar 11 '25 13:03 tr1ckydev

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;

Image

ansarizafar avatar Mar 19 '25 03:03 ansarizafar