2 releases
new 0.0.1-alpha.1 | Feb 7, 2025 |
---|
#2332 in Network programming
47 downloads per month
71KB
1.5K
SLoC
Kitsune2 bootstrap server is an HTTP REST server for handling bootstrapping discovery of peer network reachability in p2p applications.
Despite being in the kitsune2 repo, bootstrap_srv
and bootstrap_cli
do not depend on any Kitsune2 crates. This is to ensure the bootstrapping
functionality is well-defined, self-contained, easily testable in
isolation, and usable for projects that don't choose to make use of
Kitsune2 itself.
That being said, the bootstrap server and client are designed to transfer
the AgentInfoSigned
data type defined in the kitsune2_api
crate. Since
the canonical encoding of that type is JSON, we just redefine a subset
of the schema here, and only validate the parts required for bootstrapping.
For additional details, please see the [spec].
Dependencies
~16–30MB
~477K SLoC