Upload files to "/"

This commit is contained in:
Григорий Сафронов 2025-07-12 15:22:28 +00:00
parent 6b662a118b
commit 89fdd00b17
4 changed files with 2207 additions and 0 deletions

2182
Cargo.lock generated Normal file

File diff suppressed because it is too large Load Diff

6
Cargo.toml Normal file
View File

@ -0,0 +1,6 @@
[workspace]
resolver = "2" # Резолвер "3" для полного соответствия edition 2024
members = [
"futriix-server",
"futriix-cli",
]

17
futriix.config.toml Normal file
View File

@ -0,0 +1,17 @@
[server]
ip = "127.0.0.1" # IP-адрес сервера (0.0.0.0 для доступа из сети)
port = 8080 # Порт для TCP-сервера
log_path = "futriix.log" # Путь к лог-файлу
[client]
ip = "127.0.0.1" # IP для клиента (обычно localhost)
port = 8080 # Порт клиента (должен совпадать с серверным)
[replication]
enabled = false # Включена ли репликация
peer_nodes = [] # Список узлов для репликации (например ["192.168.1.2:8080"])
sync_interval = 1000 # Интервал синхронизации в мс
[http_api]
enabled = true # Включить HTTP API
port = 8081 # Порт для HTTP API (обычно на 1 больше основного)

2
futriix.log Normal file
View File

@ -0,0 +1,2 @@
11:29:49 [INFO] Futriix Server started successfully!
11:29:49 [INFO] Listening on: 127.0.0.1:8080