12 releases

new 0.1.15 Mar 6, 2025
0.1.14 Mar 6, 2025

#655 in Text processing

Download history 1074/week @ 2025-03-01

1,074 downloads per month
Used in 4 crates (3 directly)

MulanPSL-2.0

45KB
1.5K SLoC

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

ih : 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;
  CODE_LI = 3;
  BIN = 4;

  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 CodeLi
{
  repeated uint32 li = 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