ruwebframe 0.1.2

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-09 17:27:12
	@Update  作者:    raymond@163.com  时间: 2026-08-09 17:27:12
*/

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

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

use crate::rudi::dicontainer::direg;
use crate::rubase::rudto::cfgdto::webdto::WebDto;

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

const SINGLE_BEAN_NAME: &str = "rubase::rudto::cfgdto::webdto:WebDto:73db6a87-62ed-47c0-9d62-a2422d4eade3}";

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

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


// StructInfo
/*
 {
  "pathFile": "./src\\rubase\\rudto\\cfgdto\\webdto.rs",
  "pathPkg": "./src\\rubase\\rudto\\cfgdto",
  "structName": "WebDto",
  "structPkg": "rubase::rudto::cfgdto::webdto",
  "ifSingle": false,
  "ifDefault": false,
  "structIniFile": "webdto_init.rs",
  "existIniFile": true,
  "single_bean_name": ":WebDto:b0c3ca71-1cfd-4456-9f97-74ec66e03b09",
  "modFile": "./src\\rubase\\rudto\\cfgdto/mod.rs",
  "ifExistsInitMod": false,
  "ifExistsInitUse": false
}
*/