Bootstrap verified Rust implementation workspace
This commit is contained in:
parent
08ce2aca24
commit
b438dd5201
12 changed files with 1646 additions and 0 deletions
16
crates/lazaret-client/Cargo.toml
Normal file
16
crates/lazaret-client/Cargo.toml
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
[package]
|
||||
name = "lazaret-client"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
rust-version.workspace = true
|
||||
license.workspace = true
|
||||
|
||||
[[bin]]
|
||||
name = "lazaret"
|
||||
path = "src/main.rs"
|
||||
|
||||
[dependencies]
|
||||
lazaret-core = { version = "=0.0.0", path = "../lazaret-core" }
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
3
crates/lazaret-client/src/main.rs
Normal file
3
crates/lazaret-client/src/main.rs
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
fn main() {
|
||||
let _ = lazaret_core::PROTOCOL_NAME;
|
||||
}
|
||||
9
crates/lazaret-core/Cargo.toml
Normal file
9
crates/lazaret-core/Cargo.toml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
[package]
|
||||
name = "lazaret-core"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
rust-version.workspace = true
|
||||
license.workspace = true
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
13
crates/lazaret-core/src/lib.rs
Normal file
13
crates/lazaret-core/src/lib.rs
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#![doc = "Shared production interfaces for Lazaret processes."]
|
||||
|
||||
pub const PROTOCOL_NAME: &str = "lazaret";
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::PROTOCOL_NAME;
|
||||
|
||||
#[test]
|
||||
fn protocol_name_is_stable() {
|
||||
assert_eq!(PROTOCOL_NAME, "lazaret");
|
||||
}
|
||||
}
|
||||
16
crates/lazaret-escalation-client/Cargo.toml
Normal file
16
crates/lazaret-escalation-client/Cargo.toml
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
[package]
|
||||
name = "lazaret-escalation-client"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
rust-version.workspace = true
|
||||
license.workspace = true
|
||||
|
||||
[[bin]]
|
||||
name = "lazaret-escalation-client"
|
||||
path = "src/main.rs"
|
||||
|
||||
[dependencies]
|
||||
lazaret-core = { version = "=0.0.0", path = "../lazaret-core" }
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
3
crates/lazaret-escalation-client/src/main.rs
Normal file
3
crates/lazaret-escalation-client/src/main.rs
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
fn main() {
|
||||
let _ = lazaret_core::PROTOCOL_NAME;
|
||||
}
|
||||
16
crates/lazaret-host-coordinator/Cargo.toml
Normal file
16
crates/lazaret-host-coordinator/Cargo.toml
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
[package]
|
||||
name = "lazaret-host-coordinator"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
rust-version.workspace = true
|
||||
license.workspace = true
|
||||
|
||||
[[bin]]
|
||||
name = "lazaret-host-coordinator"
|
||||
path = "src/main.rs"
|
||||
|
||||
[dependencies]
|
||||
lazaret-core = { version = "=0.0.0", path = "../lazaret-core" }
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
3
crates/lazaret-host-coordinator/src/main.rs
Normal file
3
crates/lazaret-host-coordinator/src/main.rs
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
fn main() {
|
||||
let _ = lazaret_core::PROTOCOL_NAME;
|
||||
}
|
||||
16
crates/lazaret-network-sidecar/Cargo.toml
Normal file
16
crates/lazaret-network-sidecar/Cargo.toml
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
[package]
|
||||
name = "lazaret-network-sidecar"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
rust-version.workspace = true
|
||||
license.workspace = true
|
||||
|
||||
[[bin]]
|
||||
name = "lazaret-network-sidecar"
|
||||
path = "src/main.rs"
|
||||
|
||||
[dependencies]
|
||||
lazaret-core = { version = "=0.0.0", path = "../lazaret-core" }
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
3
crates/lazaret-network-sidecar/src/main.rs
Normal file
3
crates/lazaret-network-sidecar/src/main.rs
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
fn main() {
|
||||
let _ = lazaret_core::PROTOCOL_NAME;
|
||||
}
|
||||
16
crates/lazaret-runtime-supervisor/Cargo.toml
Normal file
16
crates/lazaret-runtime-supervisor/Cargo.toml
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
[package]
|
||||
name = "lazaret-runtime-supervisor"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
rust-version.workspace = true
|
||||
license.workspace = true
|
||||
|
||||
[[bin]]
|
||||
name = "lazaret-runtime-supervisor"
|
||||
path = "src/main.rs"
|
||||
|
||||
[dependencies]
|
||||
lazaret-core = { version = "=0.0.0", path = "../lazaret-core" }
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
3
crates/lazaret-runtime-supervisor/src/main.rs
Normal file
3
crates/lazaret-runtime-supervisor/src/main.rs
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
fn main() {
|
||||
let _ = lazaret_core::PROTOCOL_NAME;
|
||||
}
|
||||
Loading…
Reference in a new issue