From 4426854b2788804bc4dfe3826a63959f973df416 Mon Sep 17 00:00:00 2001 From: 简律纯 Date: Mon, 26 Feb 2024 15:34:36 +0800 Subject: refactor(core): rewrite HydroRoll in rust (#91) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * refactor(command): 重构命令路由 * feat(lua): 包装异步方法`self.event.reply` => `msg:echo` * feat(lua): 包装异步输入流方法`self.event.ask` => `msg:ask` * 'Refactored by Sourcery' (#83) Co-authored-by: Sourcery AI <> * feat(Token|Lexer): 添加`Token`与`Lexer`类 * refactor(Lexer): 词法分析器添加`advance`方法 * chore: lint code * refactor: sync gensokyo adapter * feat: Cli parser (#85) * feat(cli): 添加`Cli`类,解析命令行参数 * fix: 修复错误的`dest`与`action` * feat(cli): 实现`install_package` 与 `build_template` * feat(cli): 实现`-c|--config`指令配置镜像常量等 * feat(cli): 使用高效率的异步网络库`aiohttp` * fix(cli): `TYPE_CHECKING` with partially module `typing` * refactor!: examples, tests, src... rewrite in rust * chore(workflow): add changelog ci workflow * fix(workflow): sync upload target branch * chore(readme): update profile * chore(readme): update profile x2 * chore(readme): fix wrong pronounce * chore(readme): add top tile * chore(readme): remove invalid uri * chore(readme): update profile for new development * chore(readme): rewrite with rst * refactor!: rewrite HydrRoll in Rust --------- Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com> --- Cargo.toml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Cargo.toml (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..7d6cfc9 --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,12 @@ +[package] +name = "HydroRoll" +version = "0.1.0" +edition = "2021" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html +[lib] +name = "__force" +crate-type = ["cdylib"] + +[dependencies] +pyo3 = "0.19.0" -- cgit v1.2.3-70-g09d2