跳到主内容
Category

Rust

牛逼的编程语言

Posts
13
Page
1/2
Tags
53

Posts

分类文章

13 篇 · 当前第 1
Rust163 次阅读

rust 1.88 新特性,if let 链,裸指针,cfg新判断

编译要加--edition 2024 不然会报错 rust use std::cell::Cell; enum UserStatus { Active(u32,String), Inactive, Pending } fn getcurrentuserstat

2025/12/161 分钟
Rust113 次阅读

UE5(c++)使用rust编写插件给虚幻调用

新建一个空的UE插件项目 在插件根目录下的Source新建一个rust lib项目 html2markdown-dylib 项目名 ![image.png](https://minio.itbug.shop/blog/simple-file/image1735801514819

2025/12/161 分钟
Rust116 次阅读

docker部署salvo和后台前端代码

1. 编写nginx.conf配置文件 nginx configuration events { workerconnections 1024; } http { include /etc/nginx/mime.types; defaulttype application/octet-stream;

2025/12/161 分钟
Rust86 次阅读

flutter_rust_bridge在控制台打印日志

添加日志相关依赖 创建entitys.rs文件

2025/12/161 分钟
Rust78 次阅读

Rust Sea-ORM 三表联查技巧

2个左连接,分组去重 sql语句 sql SELECT u.id, u.avatar, u.nickname, u.username, GROUPCONCAT(ur.roleid) AS roleids, GROUPCONCAT(ro.name) AS rolenames FROM users u

2025/12/161 分钟
Rust98 次阅读

写了个rust sea-orm迁移小工具

下载地址:1. idea插件市场 2. Github 文档地址: [https://mdddj.github.io/SalvoRsToolDocument/](

2025/12/161 分钟
Rust88 次阅读

rust使用sea-orm-cli来操作数据库

详细文档链接https://www.sea-ql.org/SeaORM/docs/migration/setting-up-migration/ 初始化 创建表

2025/12/161 分钟
Rust100 次阅读

Rust使用Github action自动编译并发行Release版本

这里需要用到taiki-e/create-gh-release-action@v1这个action,可以到Github action市场下载和查看相关文档 1.编写 rust-build.yml构建配置 ya

2025/12/161 分钟
Rust96 次阅读

rust交叉编译Salvo项目并发布到docker运行

电脑需要先安装一下docker 1.配置交叉编译工具 工具链接: rust-musl-cross 我这里用的是x8664-musl,所以安装命令为 在/.zshrc设

2025/12/161 分钟
Rust70 次阅读

在Rust中使用异步futures

异步不是rust自带的标准库,所以要先添加依赖,后面要用异步控制流,把tokio也加上去 Cargo.toml 1.异步基础 基础

2025/12/161 分钟
返回顶部