3 releases

0.2.3 Sep 8, 2024
0.2.1 Sep 7, 2024
0.2.0 Aug 30, 2024

#1543 in Procedural macros

Download history 141/week @ 2024-08-26 268/week @ 2024-09-02 67/week @ 2024-09-09 63/week @ 2024-09-16 38/week @ 2024-09-23 18/week @ 2024-09-30 6/week @ 2024-10-07 7/week @ 2024-10-14

72 downloads per month
Used in kira_qqbot

Apache-2.0

18KB
294 lines

✨KiraFramework✨

Written in Rust, an implementation of OneBot 11 based on the ECS architecture

OneBot crates.io Build

English | 简体中文(中国大陆) | 正體中文(台灣地區) | Русский

🎉Introduction🎉

KiraFramework is a OneBot 11 implementation written in Rust language.

KiraFramework is a OneBot 11 implementation developed using the Rust language, based on the Bevy ECS architecture. You can easily write bots for various instant messaging applications with KiraFramework. A multitude of macros allows your code to be more concise and efficient.

[!IMPORTANT] Please be aware that this project is currently in a very early stage of development and may contain numerous unknown bugs, unresolved security vulnerabilities, and many features that have yet to be implemented.

Furthermore, there is no official release version of the project at this time, so all beta versions will be built using Github Actions.

We strongly advise against using this project in a production environment, even if certain parts may appear to be complete, until an official release has been issued.

🎶Features🎶

  • Modularity: The meticulously designed modularity of KiraFramework allows developers to easily modify the code.

  • ECS architecture: The ECS architecture allows you to find a more efficient way to manage bots, while components between various plugins can be shared, reducing unnecessary hassles.

  • Concise and Efficient Macros: A multitude of concise and efficient macros can reduce the number of lines in your code, while minimizing unnecessary repetitive code, making your code writing more efficient.

🎆Getting Started🎆

KiraFramework is written in Rust language, so you need to use Cargo to build it.

Download Rust

Add crates to your project:

[dependencies]
kira_framework = "0.2.3"
kira_framework_proc = "0.2.3"

Then enjoy!

✨Kira QQBot✨

Kira QQBot is a crate developed using KiraFramework.

You can use it to easily create your own QQ bot.

Add crate to your project:

[dependencies]
kira_qqbot = "0.2.3"

📕Examples📕

👉Feedback👈

We need your help in reporting any bugs or vulnerabilities that you encounter, and we also welcome any suggestions you may have.

Issues page

📄License📄

Copyright 2024 YouZikua, all rights reserved.

If not otherwise specified, project content is open source under the Apache-2.0 license.

Dependencies

~1.4–2MB
~40K SLoC