Feature: 使用 tomllib 读取 toml 配置 (#1720)

This commit is contained in:
Ju4tCode
2023-02-20 22:25:14 +08:00
committed by GitHub
parent e11298d15b
commit 8f79ba1ccd
3 changed files with 266 additions and 180 deletions

View File

@ -26,8 +26,8 @@ python = "^3.8"
yarl = "^1.7.2"
loguru = "^0.6.0"
pygtrie = "^2.4.1"
tomlkit = ">=0.10.0,<1.0.0"
typing-extensions = ">=3.10.0,<5.0.0"
tomli = { version = "^2.0.1", python = "<3.11" }
pydantic = { version = "^1.10.0", extras = ["dotenv"] }
websockets = { version = "^10.0", optional = true }