#veilid #applications #node #configuration #part #operate #operations

veilid-core

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

9 releases

0.3.3 Jul 7, 2024
0.3.2 Apr 29, 2024
0.3.0 Mar 28, 2024
0.2.5 Nov 7, 2023
0.1.0 Jul 9, 2023

#199 in Configuration

Download history 135/week @ 2024-04-04 24/week @ 2024-04-11 137/week @ 2024-04-18 229/week @ 2024-04-25 198/week @ 2024-05-02 19/week @ 2024-05-09 73/week @ 2024-05-16 25/week @ 2024-05-23 31/week @ 2024-05-30 198/week @ 2024-06-06 68/week @ 2024-06-13 61/week @ 2024-06-20 38/week @ 2024-06-27 229/week @ 2024-07-04 95/week @ 2024-07-11 54/week @ 2024-07-18

437 downloads per month
Used in 7 crates (4 directly)

MPL-2.0 and maybe GPL-3.0-only

3MB
69K SLoC

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

The Veilid Framework

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.

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

~19–74MB
~1.5M SLoC