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

veilid-core

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

14 releases

0.4.3 Feb 20, 2025
0.4.1 Oct 25, 2024
0.3.3 Jul 7, 2024
0.3.0 Mar 28, 2024
0.1.0 Jul 9, 2023

#971 in Web programming

Download history 20/week @ 2024-11-20 40/week @ 2024-11-27 90/week @ 2024-12-04 43/week @ 2024-12-11 4/week @ 2024-12-18 172/week @ 2024-12-25 10/week @ 2025-01-01 50/week @ 2025-01-08 9/week @ 2025-01-15 80/week @ 2025-01-22 13/week @ 2025-01-29 41/week @ 2025-02-05 32/week @ 2025-02-12 602/week @ 2025-02-19 143/week @ 2025-02-26 129/week @ 2025-03-05

914 downloads per month
Used in 9 crates (5 directly)

MPL-2.0 and GPL-3.0-only

4MB
90K 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

~63–110MB
~2M SLoC