|0.13.8||Oct 23, 2021|
|0.12.19||Aug 8, 2021|
|0.8.30||Jan 7, 2021|
|0.2.1||Jul 25, 2020|
|0.0.8||Jul 19, 2020|
#52 in Build Utils
626 downloads per month
Used in 4 crates (3 directly)
This library requires Go 1.13 or higher. The Go source is included and compiled at build time. The build will not interfere with or create files in
GOPATH, or download any Go dependencies.
Check the docs for the API.
A fork of esbuild is used to allow taking advantage of the Go scheduler for optimal concurrency. Friendly functions that use Futures are available, which are suitable for most cases; for advanced usage, direct functions that take a callback and return immediately are also available, requiring additional concurrency management on top.
Since Cgo uses GCC, a GCC compiler is required to compile the Go library, even if the MSVC Rust toolchain is used. TDM-GCC is recommended.
msvc toolchain is used, this library will compile a DLL, embed it into the resulting Rust binary, and load it at runtime from memory using MemoryModule. This happens transparently at build time and run time, and requires no extra effort.