rustbook/examples/ex02/Cargo.toml

14 lines
679 B
TOML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[package]
name = "ex02"
version = "0.1.0"
edition = "2021"
description = "安全字符处理器命令行工具展示Rust的所有权和生命周期特性"
[dependencies]
clap = { version = "4.4", features = ["derive"] } # 命令行参数解析
anyhow = "1.0" # 错误处理
thiserror = "1.0" # 自定义错误类型
once_cell = "1.18" # 用于单例模式实现
serde = { version = "1.0", features = ["derive"] } # 序列化/反序列化
serde_json = "1.0" # JSON处理
atty = "0.2" # 检测终端类型