ruwebframe 0.1.8

a simple webframe for rust actix-web, based on rudi and rbatis.
Documentation
// pkg rubase::rudto::cfgdto::cfgdto

/*
	@Title   文件名称: cfgdto_init.rs
	@Desp    描述:    依赖自动注入
    @Company 公司:    wcht.akunlong.top
	@Author  作者:    raymond@163.com  时间: 2026-08-17 21:44:01
	@Update  作者:    raymond@163.com  时间: 2026-08-17 21:44:01
*/

// StructInit自动生成,一般不要手动修改

use std::sync::Arc;
use ctor::ctor;

use crate::rudi::dicontainer::direg;
use crate::rubase::rudto::cfgdto::cfg_dto::CfgDto;

#[ctor(unsafe)]
pub fn init() {
    register_bean_cfgdto();
}

const SINGLE_BEAN_NAME: &str = "*rubase::rudto::cfgdto::cfgdto:CfgDto:8a8213ff-6d26-402c-8bb5-e0ff1da3b6f9}";

pub fn find_bean_cfg_dto() -> Option<Arc<CfgDto>> {
    direg::get_bean::<CfgDto>(SINGLE_BEAN_NAME)
}

pub fn register_bean_cfgdto() {
    direg::register(SINGLE_BEAN_NAME, CfgDto::default);
}


// StructInfo
/*
 {
  "pathFile": "./src\\rubase\\rudto\\cfgdto\\cfg_dto",
  "pathPkg": "./src\\rubase\\rudto\\cfgdto",
  "structName": "CfgDto",
  "structPkg": "rubase::rudto::cfgdto::cfgdto",
  "ifSingle": false,
  "ifDefault": true,
  "structIniFile": "cfg_dto_init.rs",
  "existIniFile": false,
  "single_bean_name": "*:CfgDto:8a81ca4a-2b1e-4cbd-8ccf-01d29b6fa1e7",
  "modFile": "./src\\rubase\\rudto\\cfgdto/mod.rs",
  "ifExistsInitMod": false,
  "ifExistsInitUse": false
}
*/