[repo] Workspace: cargo workspace, MPL-2.0 license, control and web placeholders

This commit is contained in:
2026-11-07 14:31:04 +01:00
parent 8f79ce042c
commit c1abe88688
15 changed files with 1030 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
[package]
name = "ianitor-control"
description = "Ianitor Domi control plane (API, routes repo, apply/rollback). Placeholder until phase 2."
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
publish.workspace = true
[[bin]]
name = "ianitor-control"
path = "src/main.rs"
[lints]
workspace = true
+12
View File
@@ -0,0 +1,12 @@
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
//! Placeholder for ianitor-control (ROADMAP phase 2). It deliberately opens no socket.
fn main() {
println!(
"ianitor-control {}: placeholder. The control plane (API on 127.0.0.1) arrives in phase 2.",
env!("CARGO_PKG_VERSION")
);
}
+18
View File
@@ -0,0 +1,18 @@
[package]
name = "ianitor-core"
description = "Ianitor Domi config model, validation and compilers (Pingora runtime + Caddy JSON). Pure: no I/O."
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
publish.workspace = true
[dependencies]
serde.workspace = true
serde_json.workspace = true
toml.workspace = true
thiserror.workspace = true
url.workspace = true
[lints]
workspace = true
+5
View File
@@ -0,0 +1,5 @@
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
//! Ianitor core: host-file model, validation and compilers. Pure: no I/O, no network.
+14
View File
@@ -0,0 +1,14 @@
[package]
name = "ianitor-edge"
description = "Ianitor Domi data plane on Pingora. Serves compiled config; never decides policy."
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
publish.workspace = true
[dependencies]
ianitor-core.workspace = true
[lints]
workspace = true
+5
View File
@@ -0,0 +1,5 @@
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
//! Ianitor edge: the Pingora data plane.
+5
View File
@@ -0,0 +1,5 @@
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
fn main() {}