2023-12-11 00:00:01 +08:00
|
|
|
[package]
|
|
|
|
name = "ica-rs"
|
2024-09-28 22:40:22 +08:00
|
|
|
version = "0.7.3"
|
2023-12-11 00:00:01 +08:00
|
|
|
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]
|
2024-03-29 02:03:27 +08:00
|
|
|
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
|
|
|
|
2023-12-11 00:00:01 +08:00
|
|
|
[dependencies]
|
2024-01-24 18:14:50 +08:00
|
|
|
|
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 }
|
2024-03-29 02:03:27 +08:00
|
|
|
|
|
|
|
# tailchat
|
2024-06-15 23:31:10 +08:00
|
|
|
reqwest = { version = "0.12.4", optional = true, features = ["multipart"] }
|
2024-03-29 02:03:27 +08:00
|
|
|
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
|
2024-01-24 18:14:50 +08:00
|
|
|
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-01-24 18:14:50 +08:00
|
|
|
|
2024-03-13 01:17:50 +08:00
|
|
|
# runtime
|
2024-03-29 02:03:27 +08:00
|
|
|
tokio = { version = "1.37", features = ["full"] }
|
2024-02-21 21:42:27 +08:00
|
|
|
futures-util = "0.3.30"
|
2024-07-23 23:27:08 +08:00
|
|
|
pyo3 = { version = "0.22.2", features = ["experimental-async", "py-clone"] }
|
2024-05-04 13:39:52 +08:00
|
|
|
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"
|
2024-03-12 00:47:00 +08:00
|
|
|
# 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"] }
|
2024-08-17 21:49:16 +08:00
|
|
|
thiserror = "1.0.63"
|
2024-08-18 00:11:13 +08:00
|
|
|
toml_edit = "0.22.20"
|