chore(release): prepare public source release

This commit is contained in:
MercuryToolbox Release
2026-07-18 15:41:59 +08:00
commit e365e5df4d
508 changed files with 163373 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
[package]
name = "asmflow"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
authors.workspace = true
readme.workspace = true
publish.workspace = true
description = "Inspect managed IL, calls, fields, and string literals with AI-friendly output."
keywords.workspace = true
categories.workspace = true
[lints]
workspace = true
[dependencies]
common = { path = "../common", default-features = false }
lexopt.workspace = true
managed = { path = "../managed" }
regex-lite.workspace = true
serde.workspace = true
serde_json.workspace = true
[dev-dependencies]
assert_cmd.workspace = true
predicates.workspace = true
File diff suppressed because it is too large Load Diff
+5
View File
@@ -0,0 +1,5 @@
//! Public entry point for the `asmflow` command crate.
mod cli;
pub use cli::main_entry;
+5
View File
@@ -0,0 +1,5 @@
//! Binary entry point for `asmflow`.
fn main() {
std::process::exit(asmflow::main_entry());
}
+27
View File
@@ -0,0 +1,27 @@
//! Integration tests for the `asmflow` command.
use assert_cmd::Command;
use predicates::prelude::*;
#[test]
fn no_args_prints_quick_help_card() {
let mut command = Command::cargo_bin("asmflow").expect("binary");
command
.assert()
.code(2)
.stdout(predicate::str::is_empty())
.stderr(predicate::str::contains(
"error: missing subcommand; expected find, body, or xref",
))
.stderr(predicate::str::contains("asmflow - Mercury Toolbox"))
.stderr(predicate::str::contains("Usage:"))
.stderr(predicate::str::contains(
"asmflow [OPTIONS] <SUBCOMMAND> [ARGS...]",
))
.stderr(predicate::str::contains("find"))
.stderr(predicate::str::contains("body"))
.stderr(predicate::str::contains("xref"))
.stderr(predicate::str::contains(
"Type 'asmflow --help' for the full command reference.",
));
}