我需要在我的结构之一中添加 uuid。我找到了一箱uuid
支持。我将依赖添加到我的 Cargo.toml
uuid = "0.8.1"
Run Code Online (Sandbox Code Playgroud)
它下载得很好,但我无法使用该功能Uuid::new_v3()
。我收到错误:no function or associated item named new_v3 found for struct uuid::Uuid in the current scope
。
对我来说奇怪的部分是我可以使用其中的一些,就像from_slice
工作正常一样。
rust ×1