ruwebframe 0.1.7

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

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

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

use std::sync::Arc;
use ctor::ctor;
use crate::rubase::rudto::cfgdto::web_dto::WebDto;
use crate::rudi::dicontainer::direg; 

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

const SINGLE_BEAN_NAME: &str = "*rubase::rudto::cfgdto::webdto:WebDto:8f3781d5-649e-4857-8063-bdfcd1ec561d}";

pub fn find_bean_web_dto() -> Option<Arc<WebDto>> {
    direg::get_bean::<WebDto>(SINGLE_BEAN_NAME)
}

pub fn register_bean_webdto() {
    direg::register(SINGLE_BEAN_NAME, WebDto::default);
}


// StructInfo
/*
 {
  "pathFile": "./src\\rubase\\rudto\\cfgdto\\web_dto",
  "pathPkg": "./src\\rubase\\rudto\\cfgdto",
  "structName": "WebDto",
  "structPkg": "rubase::rudto::cfgdto::webdto",
  "ifSingle": false,
  "ifDefault": true,
  "structIniFile": "web_dto_init.rs",
  "existIniFile": false,
  "single_bean_name": "*:WebDto:a95d59cd-a08a-40d2-9603-ff2bcc2b8c30",
  "modFile": "./src\\rubase\\rudto\\cfgdto/mod.rs",
  "ifExistsInitMod": false,
  "ifExistsInitUse": false
}
*/