[dependencies.aok]
version = "0.1.15"
[dependencies.linkme]
version = "0.3.31"
[dependencies.loginit]
version = "0.1.13"
[dependencies.static_init]
version = "1.0.3"
[dependencies.tokio]
features = ["rt"]
version = "1.43.0"
[features]
default = []
[lib]
name = "xboot"
path = "src/lib.rs"
[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "static variables like module-level database connections can be initialized asynchronously before the program starts. / 在程序启动前通过异步函数初始化静态变量,如模块级数据库连接。"
edition = "2021"
homepage = "https://github.com/i18n-site/rust/tree/main/xboot"
keywords = ["async", "static", "module-level"]
license = "MulanPSL-2.0"
name = "xboot"
readme = "README.md"
repository = "https://github.com/i18n-site/rust.git"
version = "0.1.19"
[package.metadata.docs.rs]
all-features = true