# TheNodes (Pre-Release 0.0.1)
Async-first, plugin-driven P2P node framework.
> Website: https://thenodes.dev \
> Repository: https://github.com/TheNodesDev/TheNodes
This is a small, usable pre-release crate that exposes a minimal API while the full surface is being finalized. It enables early adopters to pin a dependency and track progress; functionality will expand rapidly in upcoming 0.0.x releases.
## Status
- Version: 0.0.1 (pre 0.1.0 – APIs unstable, everything may change)
- Purpose: Provide a minimal, working starting point and allow early dependency pinning.
## Roadmap Snapshot
- Realm-based network segmentation
- Optional TLS + trust policy (PKI directory model)
- Dynamic plugin host (NEP) & core-as-a-library (CAL) usage
- Event & audit stream (JSON line + structured sinks)
## Minimum Usage
Add to your `Cargo.toml`:
```toml
[dependencies]
thenodes = "0.0.1"
```
Then use it in `main.rs`:
```rust
fn main() {
println!("thenodes version: {}", thenodes::version());
thenodes::init();
}
```
## Notes on Pre-Release Intent
- This is not an empty placeholder: it ships a compilable library with a tiny API (`version()`, `init()`).
- Expect frequent 0.0.x updates as we grow the API surface toward 0.1.0.
- For design direction and timelines, see the repository and website above.
## License
Dual-licensed under Apache-2.0 OR MIT.
See the main repo for full source and progress.