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
+4 -4
View File
@@ -1,17 +1,17 @@
[package]
name = "aster-cli"
name = "cli"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
[[bin]]
name = "aster"
name = "cli"
path = "src/main.rs"
[dependencies]
aster-core.workspace = true
aster-storage.workspace = true
core.workspace = true
storage.workspace = true
tokio.workspace = true
[lints]
+2 -2
View File
@@ -1,10 +1,10 @@
# aster-cli / aster
# cli
命令行宿主。bootstrap 演示两个运行时对象并释放;metadata put/get 使用独立 Storage,不让数据库配置进入 Core。
| 内容 | 职责 |
| --- | --- |
| Cargo.toml | CLI 包、aster 二进制名称、core/storage/Tokio 依赖 |
| Cargo.toml | CLI 包、cli 二进制名称、core/storage/Tokio 依赖 |
| [src](src/README.md) | 参数路由、命令执行和退出码 |
用法见 [运行指南](../../docs/operations/README.md),文本参数与环境边界见 [配置](../../docs/operations/configuration.md)。此 CLI 当前不是 Endor 源码解释命令。返回 [工作区](../README.md)。
+4 -4
View File
@@ -1,17 +1,17 @@
use std::error::Error;
use std::process::ExitCode;
use aster_core::{Value, Vm};
use aster_storage::{Storage, StorageConfig};
use endor_core::{Value, Vm};
use storage::{Storage, StorageConfig};
const USAGE: &str = "Usage: aster [bootstrap | metadata put <key> <value> | metadata get <key>]";
const USAGE: &str = "Usage: cli [bootstrap | metadata put <key> <value> | metadata get <key>]";
#[tokio::main]
async fn main() -> ExitCode {
match run().await {
Ok(()) => ExitCode::SUCCESS,
Err(error) => {
eprintln!("aster: {error}");
eprintln!("cli: {error}");
ExitCode::FAILURE
}
}