#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

10 个版本

0.3.4 2024年8月2日
0.3.3 2024年7月7日
0.3.2 2024年4月29日
0.3.0 2024年3月28日
0.1.0 2023年7月9日

#169 in 配置

Download history 382/week @ 2024-04-29 37/week @ 2024-05-06 42/week @ 2024-05-13 62/week @ 2024-05-20 21/week @ 2024-05-27 172/week @ 2024-06-03 79/week @ 2024-06-10 59/week @ 2024-06-17 68/week @ 2024-06-24 124/week @ 2024-07-01 137/week @ 2024-07-08 97/week @ 2024-07-15 45/week @ 2024-07-22 285/week @ 2024-07-29 82/week @ 2024-08-05 39/week @ 2024-08-12

453 下载/每月
7 个crates中(4 直接) 使用

MPL-2.0 和可能 GPL-3.0-only

3MB
69K SLoC

包含 (JAR文件, 55KB) gradle-wrapper.jar

Veilid 框架

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.

特性

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.

依赖项

~19–75MB
~1.5M SLoC