是否有一种标准方法可以确定给定板条箱可用的功能?
我正在尝试阅读 Postgres 时区,这表示要使用 cratepostgres = "0.17.0-alpha.1"板条箱with-time或with-chrono功能。
当我在 Cargo.toml 中尝试此操作时:
[dependencies]
postgres = { version = "0.17.0-alpha.1", features = ["with-time"] }
Run Code Online (Sandbox Code Playgroud)
我收到此错误:
[dependencies]
postgres = { version = "0.17.0-alpha.1", features = ["with-time"] }
Run Code Online (Sandbox Code Playgroud)
此外,postgres 0.17.0的crate 页面没有说明这些功能,所以我什至不知道是否应该支持它们。
似乎docs.rs 上会有一些关于它的内容?