Scaffold Rust API and worker workspace

Pin the Rust toolchain and nextest profile so both service crates share a reproducible verification baseline.
This commit is contained in:
ms2k 2026-07-15 19:51:16 +09:00
commit 66991b85b2
6 changed files with 65 additions and 0 deletions

View file

@ -0,0 +1,6 @@
[package]
name = "remora-api"
edition.workspace = true
publish = false
rust-version.workspace = true
version.workspace = true

View file

@ -0,0 +1,11 @@
pub const COMPONENT_NAME: &str = "remora-api";
#[cfg(test)]
mod tests {
use super::COMPONENT_NAME;
#[test]
fn exposes_component_name() {
assert_eq!(COMPONENT_NAME, "remora-api");
}
}

View file

@ -0,0 +1,3 @@
fn main() {
println!("{}", remora_api::COMPONENT_NAME);
}

View file

@ -0,0 +1,6 @@
[package]
name = "remora-worker"
edition.workspace = true
publish = false
rust-version.workspace = true
version.workspace = true

View file

@ -0,0 +1,11 @@
pub const COMPONENT_NAME: &str = "remora-worker";
#[cfg(test)]
mod tests {
use super::COMPONENT_NAME;
#[test]
fn exposes_component_name() {
assert_eq!(COMPONENT_NAME, "remora-worker");
}
}

View file

@ -0,0 +1,3 @@
fn main() {
println!("{}", remora_worker::COMPONENT_NAME);
}