feat(example/lamp): add LAMPScore and configuration support

- Introduce `LAMPScore` struct with additional fields: `domain`, `config`, and `php_version`.
- Define default implementation for `LAMPConfig`.
- Update `Url` enum to use `Url(url::Url)` instead of `Remote(url::Url)`.
- Adjust references in `HttpServer` and `TftpServer` implementations.
- Modify `Interpret` trait implementation to use `name()` method from `LAMPScore`.
This commit is contained in:
2025-03-10 17:04:35 -04:00
parent fbc18d2fad
commit 7291db7ca3
9 changed files with 104 additions and 6 deletions

15
Cargo.lock generated
View File

@@ -815,6 +815,21 @@ dependencies = [
"url",
]
[[package]]
name = "example-lamp"
version = "0.1.0"
dependencies = [
"cidr",
"env_logger",
"harmony",
"harmony_macros",
"harmony_tui",
"harmony_types",
"log",
"tokio",
"url",
]
[[package]]
name = "example-nanodc"
version = "0.1.0"