socket-bot/ica-rs/Cargo.toml

44 lines
1.2 KiB
TOML
Raw Normal View History

[package]
name = "ica-rs"
2024-03-16 16:58:18 +08:00
version = "0.5.3"
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", "matrix"]
2024-03-13 01:17:50 +08:00
ica = ["dep:ed25519", "dep:ed25519-dalek", "dep:hex", "dep:rust_socketio"]
2024-03-15 12:27:00 +08:00
matrix = ["dep:matrix-sdk", "dep:url"]
2024-03-13 01:17:50 +08:00
[dependencies]
2024-03-13 01:17:50 +08:00
# matrix
2024-03-15 12:27:00 +08:00
url = { version = "2.5.0", optional = true }
matrix-sdk = { version = "0.7.1", optional = true, default-features = false, features = ["rustls-tls"] }
2024-03-13 01:17:50 +08:00
# ica
ed25519 = { version = "2.2.3", optional = true }
ed25519-dalek = { version = "2.1.1", optional = true }
hex = { version = "0.4.3", optional = true }
rust_socketio = { version = "0.4.4", features = ["async"], optional = true }
# data
serde = { version = "1.0", features = ["derive"] }
2024-02-18 21:27:36 +08:00
serde_json = "1.0"
2024-03-15 12:27:00 +08:00
chrono = "0.4.35"
toml = "0.8.11"
2024-01-24 14:41:08 +08:00
colored = "2.1.0"
2024-03-13 01:17:50 +08:00
# runtime
2024-03-15 12:27:00 +08:00
tokio = { version = "1.36", features = ["full"] }
2024-02-21 21:42:27 +08:00
futures-util = "0.3.30"
2024-02-25 18:20:03 +08:00
pyo3 = "0.20.3"
2024-03-13 01:32:28 +08:00
anyhow = { version = "1.0.81", 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"] }