39 releases

Uses new Rust 2024

new 0.1.53 Mar 5, 2025
0.1.52 Mar 5, 2025
0.1.46 Feb 25, 2025
0.1.14 Jan 17, 2025

#336 in Text processing

Download history 527/week @ 2025-01-13 72/week @ 2025-01-20 1047/week @ 2025-02-03 83/week @ 2025-02-10 362/week @ 2025-02-17 1396/week @ 2025-02-24 890/week @ 2025-03-03

2,835 downloads per month
Used in 3 crates

MulanPSL-2.0

39KB
1K SLoC

Rust 1K SLoC // 0.0% comments JavaScript 173 SLoC // 0.2% comments CoffeeScript 61 SLoC // 0.3% comments Shell 22 SLoC // 0.1% comments

icall

call interface proto for hpc

syntax = "proto3";

message CallLi
{
  repeated uint32 func_li = 1;
  repeated bytes args_li = 2;
}

message BinLi
{
  repeated uint32 state_li = 1;
  repeated bytes bin_li = 2;
}

enum State {
  OK = 0;

  JSON = 1;
  CODE = 2;
  BIN = 3;

  CAPTCHA = 10;
  NEED_SIGNIN = 11;
  NO_PERMISSION = 12;

  MISS_FUNC = 100;
  ARGS_INVALID = 101;
  BATCH_LIMIT = 102;
  CALL_ERROR = 103;
  MIDDLEWARE_ERROR = 104;
}

message Code
{
  uint32 inner = 1;
}

message Json
{
  string inner = 1;
}

message Bin
{
  bytes inner = 1;
}

message Captcha
{
  bytes id = 1;
  bytes img = 2;
  bytes tip = 3;
}

About

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

关于

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

Dependencies

~0.7–1.4MB
~25K SLoC