ruwebframe 0.1.4

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

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

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

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

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

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

const SINGLE_BEAN_NAME: &str = "*rubase::rudto::cfgdto::webdto:ClientDto:77ca1965-ba57-45b2-9d37-55a0b2c0a1b7}";

pub fn find_bean_clientdto() -> Option<Arc<ClientDto>> {
    direg::get_bean::<ClientDto>(SINGLE_BEAN_NAME)
}

pub fn register_bean_clientdto() {
    direg::register(SINGLE_BEAN_NAME, ClientDto::default);
}


// StructInfo
/*
 {
  "pathFile": "./src\\rubase\\rudto\\cfgdto\\webdto.rs",
  "pathPkg": "./src\\rubase\\rudto\\cfgdto",
  "structName": "ClientDto",
  "structPkg": "rubase::rudto::cfgdto::webdto",
  "ifSingle": false,
  "ifDefault": true,
  "structIniFile": "clientdto_init.rs",
  "existIniFile": true,
  "single_bean_name": "*:ClientDto:b4c4565d-bf14-4a4c-b54c-979db4dc85f0",
  "modFile": "./src\\rubase\\rudto\\cfgdto/mod.rs",
  "ifExistsInitMod": false,
  "ifExistsInitUse": false
}
*/