diff --git a/04_httpie/Cargo.toml b/04_httpie/Cargo.toml index 791b170..16f6040 100644 --- a/04_httpie/Cargo.toml +++ b/04_httpie/Cargo.toml @@ -23,4 +23,4 @@ mime = "0.3" # 处理 mime 类型 # reqwest 默认使用 openssl,有些 linux 用户如果没有安装好 openssl 会无法编译,这里我改成了使用 rustls reqwest = { version = "0.11", default-features = false, features = ["json", "rustls-tls"] } # HTTP 客户端 tokio = { version = "1", features = ["full"] } # 异步处理库 -syntect = "4" +syntect = "5"