ICE-NET/workspace/README.md
loki5512344 2e61688eb3
Some checks failed
rust-ci / checks (push) Has been cancelled
Initial import: ICE-NET research docs and Rust workspace (v0.4)
- Rust workspace: 7 library crates, icenetd CLI, icenet-city (Slint GUI)
- Sim: fix false Delivered after a route cut, derive traffic class from
  payload size, per-link airtime slots (link capacity, queueing)
- Docs: single docs/STATUS.md for all figures, remove v0.2/egui leftovers,
  drop unimplemented seed claims, uncheck store-and-forward
- License: LGPL-3.0-or-later (LICENSE, LICENSES/GPL-3.0.txt)
2026-11-13 12:28:48 +01:00

32 lines
1.5 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# ICE-NET Rust workspace
Исследовательский каркас, а не работающий сетевой протокол. Два приложения:
`icenet-city` (GUI графового эмулятора на Slint) и `icenetd` (CLI: route/send/sim/policy/wire
и UDP `serve`/`send-udp`). Что проверено и какие цифры — в [../docs/STATUS.md](../docs/STATUS.md).
## Запуск на Arch
```bash
rustup default stable # toolchain закреплён в rust-toolchain.toml
cd workspace
python3 tools/check_layout.py
cargo test -p icenet-sim -p icenet-routing
cargo run -p icenet-city # нужна графическая сессия
```
## Карта зависимостей
`core` → `wire`, `guard`, `routing`, `transport` → `sdk` → `icenetd`
`core + routing` → `sim` → `icenet-city`, `icenetd`
`icenet-transport` содержит `MemoryTransport` (тесты) и неблокирующий `UdpTransport` на
`std::net`; loopback-тесты в `tests/udp.rs`.
Тесты **не** внутри `src`, а в `tests/` каждого крейта. Лицензия: LGPL-3.0-or-later (`../LICENSE`).
## Зависимости
Прямые внешние: `slint` (runtime) и `slint-build` (build-time) только в `icenet-city`;
остальные крейты без внешних библиотек. `cargo test --workspace` собирает и Slint; для быстрой
проверки алгоритмов выбирай конкретные пакеты. `Cargo.lock` коммитится.