ruwebframe 0.1.2

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

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

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

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

use crate::rudi::dicontainer::direg;
use crate::rubase::rutils::dateutils::DateRange;

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

const SINGLE_BEAN_NAME: &str = "::rubase::rutils::dateutils:DateRange:4f06c22c-6bc4-4d00-b846-938f7c6ecd72:single}";

pub fn find_bean_daterange() -> Option<Arc<DateRange>> {
    direg::get_bean::<DateRange>(SINGLE_BEAN_NAME)
}

pub fn register_bean_daterange() {
    direg::register_singleton(SINGLE_BEAN_NAME, DateRange::new);
}


// StructInfo
/*
 {
  "pathFile": "./src\\rubase\\rutils\\dateutils.rs",
  "pathPkg": "./src\\rubase\\rutils",
  "structName": "DateRange",
  "structPkg": "::rubase::rutils::dateutils",
  "ifSingle": true,
  "ifDefault": false,
  "structIniFile": "daterange_init.rs",
  "existIniFile": false,
  "single_bean_name": ":DateRange:cfd3d619-e246-4dde-b866-2ab6dcba7dd7:single",
  "modFile": "./src\\rubase\\rutils/mod.rs",
  "ifExistsInitMod": false,
  "ifExistsInitUse": false
}
*/