From 32b30055ed9647f8f7ba4f3eee92020b79d06e0d Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Sun, 29 Mar 2026 21:58:10 +0800 Subject: Add mingling crate with core re-export and documentation --- mingling_core/Cargo.lock | 2 +- mingling_core/src/program.rs | 7 +------ 2 files changed, 2 insertions(+), 7 deletions(-) (limited to 'mingling_core') diff --git a/mingling_core/Cargo.lock b/mingling_core/Cargo.lock index 001a08b..f3345c4 100644 --- a/mingling_core/Cargo.lock +++ b/mingling_core/Cargo.lock @@ -52,7 +52,7 @@ dependencies = [ ] [[package]] -name = "mingling_dispatcher" +name = "mingling_core" version = "0.1.0" dependencies = [ "just_fmt", diff --git a/mingling_core/src/program.rs b/mingling_core/src/program.rs index 3d8bc14..1f234af 100644 --- a/mingling_core/src/program.rs +++ b/mingling_core/src/program.rs @@ -120,12 +120,7 @@ macro_rules! __dispatch_program_chains { Box::pin(fut) } )* - _ => Box::pin(async move { - mingling::AnyOutput::new(mingling::hint::NoChainFound { - name: format!("{:?}", any.type_id).to_string(), - }) - .route_chain() - }), + _ => panic!("No chain found for type id: {:?}", any.type_id), } } }; -- cgit