#veilid #applications #framework #async-std #configuration #part #node

veilid-core

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

12 releases

new 0.4.1 Oct 25, 2024
0.3.4 Aug 2, 2024
0.3.3 Jul 7, 2024
0.3.0 Mar 28, 2024
0.1.0 Jul 9, 2023

#418 in Cryptography

Download history 95/week @ 2024-07-11 59/week @ 2024-07-18 80/week @ 2024-07-25 250/week @ 2024-08-01 64/week @ 2024-08-08 28/week @ 2024-08-15 10/week @ 2024-08-22 8/week @ 2024-08-29 2/week @ 2024-09-05 68/week @ 2024-09-12 76/week @ 2024-09-19 80/week @ 2024-09-26 60/week @ 2024-10-03 35/week @ 2024-10-10 256/week @ 2024-10-17 183/week @ 2024-10-24

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

MPL-2.0 and maybe GPL-3.0-only

3.5MB
82K 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

~18–75MB
~1.5M SLoC