mirror of
https://gitlab.com/veilid/veilid.git
synced 2025-12-20 10:05:18 -05:00
| .. | ||
| examples | ||
| proto | ||
| src | ||
| tests | ||
| .gitignore | ||
| build.rs | ||
| Cargo.toml | ||
| LICENSE.md | ||
| README.md | ||
| run_tests.sh | ||
| run_windows_tests.bat | ||
| webdriver.json | ||
The Veilid Framework
This is the core library used to create a Veilid node and operate it as part of an application.
veilid-core contains all of the core logic for Veilid and can be used in mobile applications as well as desktop
and in-browser WebAssembly apps.
Getting started
The public API is accessed by getting a [VeilidAPI] object via a call to [api_startup], [api_startup_json], or [api_startup_config].
From there, a [RoutingContext] object can get you access to public and private routed operations.
Cargo features
The default veilid-core configurations are:
default- Usestokioas the async runtime.
If you use --no-default-features, you can switch to other runtimes:
default-async-std- Usesasync-stdas the async runtime.default-wasm- When building for thewasm32architecture, use this to enablewasm-bindgen-futuresas the async runtime.