#single-file #src #wtfpl

chobitlibs

Single file libraries for my project

11 releases (5 breaking)

0.8.0 Oct 19, 2023
0.7.0 Jun 3, 2023
0.6.0 May 23, 2023
0.5.1 Mar 28, 2023
0.3.3 Jan 15, 2023

#468 in Algorithms

Download history 13/week @ 2024-02-19 14/week @ 2024-02-26 1/week @ 2024-03-04 10/week @ 2024-03-11 146/week @ 2024-04-01

157 downloads per month
Used in anipwatch

WTFPL license

535KB
7K SLoC

Rust 6K SLoC // 0.0% comments TypeScript 818 SLoC // 0.4% comments

ChobitLibs

ChobitLibs is single file libraries.
You can put each src file into your project.

All libraries are WTFPL License.

Libraries

All libraries can be used in no_std.

  • chobit_map.rs : Hash table.
  • chobit_hash.rs : Hash functions.
  • chobit_rand.rs : Random number generator.
  • chobit_ai.rs : Neural network library.
  • chobit_sexpr.rs : Structured byte string.
  • chobit_complex.rs : Complex number for high-speed rotation.
  • chobit_playbook.rs : Playbook parser for novel games.
  • chobit_ani_value.rs : Utility for UV animation.

TypeScript

  • chobit_module.rs : WASM module library.
  • chobit_module_util.ts : Utility for chobit_module.rs written in Typescript.
  • chobit_sexpr.ts : Structured byte string written in Typescript.

No runtime deps