18 releases

0.1.30 Oct 15, 2024
0.1.29 Aug 20, 2024
0.1.26 Jul 18, 2024
0.1.22 Jun 16, 2024
0.1.14 Feb 19, 2024

#63 in #boot

39 downloads per month
Used in 4 crates (via i18n_bgu)

MulanPSL-2.0

79KB
1.5K SLoC

bgu

mod host;
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, host::V_HOST, host::MIRROR, "i18", [0, 0, 0], main).await?;

  OK
}

About

This project is an open-source component of i18n.site ⋅ Internationalization Solution.

关于

本项目为 i18n.site ⋅ 国际化解决方案 的开源组件。

Dependencies

~18–34MB
~540K SLoC