Odoo17 Rust 第二篇 cargo Cargo.toml

目前Odoo17 API 项目所需要的包

[package]
name = "xodoo"
version = "0.1.0"
edition = "2021"
authors = ["Amos <[email protected]>"]

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
name = "addons"
path = "addons/mod.rs"

[dependencies]
# 运行时
tokio = { version = "1.35.1", features = ["full"] }
# 随机库
#rand = "0.8.5"
#nanoid = "0.4.0"
# 缓存库
#cached = "0.22.0"
#序列化和反序列化
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0.117"
#serde_yaml = "0.9.21
#日期支持
chrono = { version = "0.4.38", features = ["serde"] }
# 数据库
sqlx = { version = "0.7.4", features = [
    "postgres",
    "runtime-async-std",
    "ipnetwork",
    "chrono"] }
async-std = { version = "1.12.0", features = ["attributes"] }

rocket = { version = "0.5.1", features = ["secrets", "tls", "json"] }

futures = "0.3.30"
warp = "0.3"
config = "0.13.1"
# 读取toml文件
toml = "0.5.9"

lazy_static = "1.4"
serde_derive = "1.0"
# 日志
log = "0.4.21"
env_logger = "0.10"
pretty_env_logger = "0.4"
log4rs = "1.2.0"

# 定时任务
delay_timer = "0.11.6"
include_dir = { version = "0.7.3" }

#futures-util = "0.3.28"
#anyhow = "1.0.66"
#zip = "0.6.6"
#walkdir="2.3.3"

猜你喜欢

转载自blog.csdn.net/qq_70140795/article/details/139774447