Files
ShowenV2/plugins/example-plugin/Cargo.toml
XiuChengWu 47d6b06ced chore: upgrade Rust edition 2018 2021
- Cargo.toml: edition 2021
- plugin-sdk/Cargo.toml: edition 2021
- plugins/example-plugin/Cargo.toml: edition 2021

Rust 2021 edition 带来更好的闭包捕获规则、IntoIterator for arrays 等改进。
2026-03-31 23:21:57 +08:00

14 lines
260 B
TOML

[package]
name = "showen-example-plugin"
version = "0.1.0"
authors = ["showen"]
edition = "2021"
[lib]
crate-type = ["cdylib"]
[dependencies]
showen-plugin-sdk = { path = "../../plugin-sdk" }
serde = { version = "1", features = ["derive"] }
serde_json = "1"