Crates.io | veilid-core |
lib.rs | veilid-core |
version | 0.4.8 |
created_at | 2023-07-09 13:36:02.984192+00 |
updated_at | 2025-08-07 22:26:10.757253+00 |
description | Core library used to create a Veilid node and operate it as part of an application |
homepage | https://veilid.gitlab.io/developer-book/ |
repository | https://gitlab.com/veilid/veilid |
max_upload_size | |
id | 912066 |
size | 4,017,725 |
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.
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.
The default veilid-core
configurations are:
default
- Uses tokio
as the async runtime.If you use --no-default-features
, you can switch to other runtimes:
default-async-std
- Uses async-std
as the async runtime.
default-wasm
- When building for the wasm32
architecture, use this to enable wasm-bindgen-futures
as the async runtime.