Align package and executable names with workspace directories
Verify databases and deploy Aster VM / verify-and-deploy (push) Successful in 15m7s

This commit is contained in:
2026-10-18 21:15:10 +08:00
parent 8bbe78e01e
commit 18cd24a203
33 changed files with 111 additions and 103 deletions
+3 -3
View File
@@ -1,13 +1,13 @@
[package]
name = "aster-server"
name = "server"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
[dependencies]
aster-core.workspace = true
aster-storage.workspace = true
core.workspace = true
storage.workspace = true
axum.workspace = true
serde.workspace = true
tokio.workspace = true
+1 -1
View File
@@ -1,4 +1,4 @@
# aster-server
# server
最小常驻 HTTP 宿主,提供数据库健康检查和只读 VM 引导信息。它通过 Arc 共享 Vm,没有语言执行接口或可变 VM 请求上下文。
+4 -4
View File
@@ -3,10 +3,10 @@ use std::future::Future;
use std::process::ExitCode;
use std::sync::Arc;
use aster_core::Vm;
use aster_storage::{Storage, StorageConfig};
use axum::{Json, Router, extract::State, http::StatusCode, routing::get};
use endor_core::Vm;
use serde::Serialize;
use storage::{Storage, StorageConfig};
#[derive(Clone)]
struct AppState {
@@ -32,7 +32,7 @@ async fn main() -> ExitCode {
match run().await {
Ok(()) => ExitCode::SUCCESS,
Err(error) => {
eprintln!("aster-server: {error}");
eprintln!("server: {error}");
ExitCode::FAILURE
}
}
@@ -55,7 +55,7 @@ async fn run() -> Result<(), Box<dyn Error>> {
storage: storage.clone(),
});
println!(
"Aster host listening on {} (storage={})",
"Endor host listening on {} (storage={})",
listener.local_addr()?,
storage.backend_name()
);