#part #operate #applications

veilid-core

Core library used to create a Veilid node and operate it as part of an application

18 releases

0.4.8 Aug 7, 2025
0.4.7 Jun 3, 2025
0.4.6 May 17, 2025
0.4.4 Mar 22, 2025
0.1.0 Jul 9, 2023

#701 in Network programming

Download history 133/week @ 2025-08-13 240/week @ 2025-08-20 95/week @ 2025-08-27 246/week @ 2025-09-03 94/week @ 2025-09-10 69/week @ 2025-09-17 81/week @ 2025-09-24 71/week @ 2025-10-01 195/week @ 2025-10-08 61/week @ 2025-10-15 48/week @ 2025-10-22 22/week @ 2025-10-29 40/week @ 2025-11-05 48/week @ 2025-11-12 59/week @ 2025-11-19 32/week @ 2025-11-26

183 downloads per month
Used in 12 crates (9 directly)

MPL-2.0 and GPL-3.0-only

4.5MB
95K SLoC

Contains (JAR file, 55KB) gradle-wrapper.jar

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 - 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.

Dependencies

~59–115MB
~2M SLoC