7得票1回答
无法找到 `num` 的板条箱。

我正在尝试在Rust中使用num库中的BigUint,我正在使用以下代码进行导入: extern crate num; use num::bigint::BigUint; 然而,当我编译时,它返回以下错误: main.rs:1:1: 1:18 error: can't find cr...

7得票1回答
Cargo.toml中的Crate操作系统依赖性

我有一个Rust项目,其中包括mysql依赖项,并希望使其具有操作系统无关性。 因此,我尝试了:Cargo.toml [package] name = "test" version = "0.1.0" authors = ["daMaex"] [dependencies] ws = "*...

7得票2回答
Rust diesel orm查询

我是新手,对于rust和diesel orm都不太熟悉。我正在尝试在我的查询中执行以下操作: 计数 选择 排序 限制 但是我遇到了错误。 我正在使用postgres数据库。 我已经在查询上注释了确切的错误。 这是我的代码: schema.rs table! { emplo...