gioser

tawasuyu/brahman

Rust 326TOML 123JSON 17Markdown 144606 Definitions

⎇ b4ddab9c065839ba943c5192de91c6e32f809aee crates/protocol/brahman-card-discovery/src/lib.rs Rust · 19 lines · 591 B History Who touched what raw

feat(brahman-card-discovery): B4 — búsqueda de Cards local + DHT 1e01dc27a · sergio ·

1//! `brahman-card-discovery` — búsqueda de Cards local + DHT.
2//!
3//! - [`index`] — `CardIndex`: índice en memoria con filtros (label,
4//!   kind, capability, id).
5//! - [`registry`] — `scan_dir`: carga Cards `*.json` de un directorio.
6//! - [`discovery`] — `CardDiscovery`: une el índice local con la malla
7//!   P2P vía `brahman-dht`.
8//!
9//! Lo consume el widget card-browser de `nahual-shell` y `agorapura`.
10
11#![forbid(unsafe_code)]
12
13pub mod index;
14pub mod registry;
15pub mod discovery;
16
17pub use discovery::CardDiscovery;
18pub use index::CardIndex;
19pub use registry::scan_dir;