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

#62 in #boot

Download history 30/week @ 2024-07-31 68/week @ 2024-08-07 348/week @ 2024-08-14 73/week @ 2024-08-21 16/week @ 2024-08-28 31/week @ 2024-09-04 11/week @ 2024-09-11 17/week @ 2024-09-18 24/week @ 2024-09-25 9/week @ 2024-10-02 134/week @ 2024-10-09 88/week @ 2024-10-16 41/week @ 2024-10-23 24/week @ 2024-10-30 13/week @ 2024-11-06 1/week @ 2024-11-13

84 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

~19–34MB
~558K SLoC