mirror of
https://gitlab.com/veilid/veilid.git
synced 2025-07-02 18:46:52 -04:00
.. | ||
src | ||
tests | ||
Cargo.toml | ||
LICENSE.md | ||
README.md | ||
run_tests.sh | ||
run_windows_tests.bat | ||
webdriver.json |
veilid-tools
A collection of baseline tools for Rust development use by Veilid and Veilid-enabled Rust applications
These are used by veilid-core
, veilid-server
, veilid-cli
and may be used by any other applications
that link in veilid-core
if a common baseline of functionality is desired. Extending this crate with new
utility functions is encouraged rather than adding 'common' functionality to veilid-core
, allowing it to
remain free of boilerplate and utility classes that could be reused elsewhere.
Everything added to this crate must be extensively unit-tested.
Cargo features
The default veilid-tools
configurations are:
default
- Usestokio
as the async runtime
If you use --no-default-features
, you can switch to other runtimes:
rt-async-std
- Usesasync-std
as the async runtimert-wasm-bindgen
- When building for thewasm32
architecture, use this to enablewasm-bindgen-futures
as the async runtime