feat!: v1.0.0

Implementing a Plug-in System with Extism.
Serialize the Plugin struct with Cap'n Proto for backward compatibility.
Refactor the project code.
This commit is contained in:
b1n
2024-07-09 09:59:56 +08:00
parent c5cfb7e082
commit ed890a4186
14 changed files with 4919 additions and 1407 deletions

View File

@@ -1,4 +1,16 @@
fn build_capnp() {
capnpc::CompilerCommand::new()
.src_prefix("capnp")
.file("capnp/plugin.capnp")
.output_path("capnp")
.run()
.expect("schema compiler command");
}
fn main() {
#[cfg(debug_assertions)]
build_capnp();
#[cfg(target_os = "windows")]
{
let mut res = winresource::WindowsResource::new();