[dependencies.aok]
version = "0.1.18"
[dependencies.gensym]
version = "0.1.1"
[dependencies.linkme]
version = "0.3.35"
[dependencies.paste]
version = "1.0.15"
[dependencies.tokio]
features = ["rt"]
version = "1.48.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 = "2024"
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"
resolver = "2"
version = "0.1.29"
[package.metadata.docs.rs]
all-features = true