[package] name = "j2s" version = "0.1.0" edition = "2021" description = "json字符串转结构体" license = "MIT" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] clap = { version = "4", features = ["derive"] } tokio = { version = "1", features = ["full"] } serde = { version="1", features = ["derive"] } serde_json = "1" anyhow = "1" # 字符串驼峰蛇形转换 heck = "0.4" caisin = "0.1" [lib] name="j2s" path="src/lib.rs" [[bin]] name="j2s"