Crates.io | bgu |
lib.rs | bgu |
version | 0.1.22 |
source | src |
created_at | 2024-02-02 09:02:30.219874 |
updated_at | 2024-07-15 12:32:45.52178 |
description | bgu |
homepage | https://github.com/i18n-site/rust/tree/main/bgu |
repository | https://github.com/i18n-site/rust.git |
max_upload_size | |
id | 1124141 |
size | 17,243 |
mod mirror;
use aok::{Result, OK};
use bgu::{boot, PUBLIC_KEY_LENGTH};
use static_init::constructor;
pub const PK: &[u8; PUBLIC_KEY_LENGTH] = include_bytes!("i18n.pk");
#[constructor(0)]
extern "C" fn init() {
loginit::init()
}
async fn main() -> Result<()> {
OK
}
#[tokio::test]
async fn test() -> Result<()> {
boot(PK, mirror::MIRROR, "i18", [0, 0, 0], main).await?;
OK
}