icalingua-python-bot/ica-rs/Cargo.toml

53 lines
1.3 KiB
TOML
Raw Normal View History

[package]
name = "ica-rs"
2024-06-03 23:53:29 +08:00
version = "0.6.5"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
2024-03-13 01:17:50 +08:00
[features]
default = ["ica", "tailchat"]
2024-05-12 18:54:53 +08:00
ica = [
"dep:ed25519",
"dep:ed25519-dalek",
"dep:hex",
"dep:rust_socketio",
"dep:base64",
]
2024-06-03 23:53:29 +08:00
tailchat = ["dep:rust_socketio", "dep:md-5", "dep:reqwest"]
2024-03-13 01:17:50 +08:00
[dependencies]
2024-03-13 01:17:50 +08:00
# ica
2024-05-12 18:54:53 +08:00
base64 = { version = "0.22", optional = true }
2024-03-29 02:35:20 +08:00
ed25519 = { version = "2.2", optional = true }
ed25519-dalek = { version = "2.1", optional = true }
hex = { version = "0.4", optional = true }
# tailchat
2024-05-12 18:54:53 +08:00
reqwest = { version = "0.12.4", optional = true }
md-5 = { version = "0.10.6", optional = true }
# ica & tailchat (socketio)
2024-05-04 13:37:54 +08:00
rust_socketio = { version = "0.6.0", features = ["async"], optional = true }
2024-03-13 01:17:50 +08:00
# data
serde = { version = "1.0", features = ["derive"] }
2024-02-18 21:27:36 +08:00
serde_json = "1.0"
2024-03-30 12:52:49 +08:00
chrono = "0.4"
toml = "0.8"
colored = "2.1"
2024-03-13 01:17:50 +08:00
# runtime
tokio = { version = "1.37", features = ["full"] }
2024-02-21 21:42:27 +08:00
futures-util = "0.3.30"
2024-05-04 13:39:52 +08:00
pyo3 = { version = "0.21.2", features = ["experimental-async"] }
anyhow = { version = "1.0", features = ["backtrace"] }
2024-03-13 01:17:50 +08:00
# async 这玩意以后在搞
2024-02-22 02:40:39 +08:00
# pyo3-async = "0.3.2"
# pyo3-asyncio = { version = "0.20.0", features = ["attributes", "tokio-runtime"] }
2024-02-21 21:42:27 +08:00
2024-03-13 01:17:50 +08:00
# log
2024-02-10 12:18:09 +08:00
tracing = "0.1.40"
tracing-subscriber = { version = "0.3.18", features = ["time"] }