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

veilid-core

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

12 releases

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

#460 in Cryptography

Download history 18/week @ 2024-08-26 4/week @ 2024-09-09 94/week @ 2024-09-16 95/week @ 2024-09-23 63/week @ 2024-09-30 52/week @ 2024-10-07 203/week @ 2024-10-14 237/week @ 2024-10-21 35/week @ 2024-10-28 28/week @ 2024-11-04 42/week @ 2024-11-11 23/week @ 2024-11-18 15/week @ 2024-11-25 114/week @ 2024-12-02

196 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

~20–76MB
~1.5M SLoC