Better structure

This commit is contained in:
2025-08-29 13:52:04 +02:00
parent 68bf864a52
commit 6149cb7744
5 changed files with 50 additions and 23 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2024"
[lib]
crate-type = ["cdylib"]
crate-type = ["cdylib", "lib"]
[dependencies]
voxa-server = { path = "../", default-features = false }
+7
View File
@@ -0,0 +1,7 @@
use voxa_server::PluginInstance;
fn main() -> voxa_server::Result<()> {
let config = voxa_server::ServerConfig::default();
let plugin = test_plugin::MyPlugin::default();
config.start_with(vec![PluginInstance::StatiC(Box::new(plugin))])
}