Cargo Features
[dependencies]
navm = { version = "0.17.4", default-features = false, features = ["bundled", "serde", "serde_json"] }
Cargo文档参考:https://rustwiki.org/zh-CN/cargo/reference/manifest.html
- default = bundled
-
默认全部启用
- bundled default = serde, serde_json
-
包括serde与serde_json
- serde bundled serde_json?
-
通用 序列化/反序列化
Enables serde
- serde_json bundled = serde
-
有关JSON的直接支持
- 🚩【2024-04-13 15:20:23】现在需要以
serde
作为前置特性
Enables serde_json
- 🚩【2024-04-13 15:20:23】现在需要以