2021-07-10 08:27:20 +00:00
|
|
|
[package]
|
2021-11-19 06:38:11 +00:00
|
|
|
name = "lib-infra"
|
2021-07-10 08:27:20 +00:00
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2018"
|
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
2024-01-06 03:50:05 +00:00
|
|
|
[lib]
|
|
|
|
crate-type = ["cdylib", "rlib"]
|
2021-07-10 08:27:20 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2024-06-09 06:02:32 +00:00
|
|
|
chrono = { workspace = true, default-features = false, features = ["clock"] }
|
2023-10-02 09:22:22 +00:00
|
|
|
bytes = { version = "1.5" }
|
|
|
|
pin-project = "1.1.3"
|
2022-02-08 13:22:11 +00:00
|
|
|
futures-core = { version = "0.3" }
|
2024-01-22 05:34:15 +00:00
|
|
|
tokio = { workspace = true, features = ["sync", "time", "rt"] }
|
2023-11-12 13:18:27 +00:00
|
|
|
async-trait.workspace = true
|
2023-01-30 03:11:19 +00:00
|
|
|
md5 = "0.7.0"
|
2023-11-12 13:18:27 +00:00
|
|
|
anyhow.workspace = true
|
2023-11-20 12:54:47 +00:00
|
|
|
walkdir = "2.4.0"
|
2023-12-29 05:02:27 +00:00
|
|
|
tempfile = "3.8.1"
|
2024-06-14 03:34:23 +00:00
|
|
|
validator = { version = "0.16.1", features = ["derive"] }
|
2024-01-11 06:42:03 +00:00
|
|
|
tracing.workspace = true
|
|
|
|
atomic_refcell = "0.1"
|
2024-06-09 06:02:32 +00:00
|
|
|
allo-isolate = { version = "^0.1", features = ["catch-unwind"], optional = true }
|
|
|
|
futures = "0.3.30"
|
2024-06-30 09:38:39 +00:00
|
|
|
cfg-if = "1.0.0"
|
2024-01-11 06:42:03 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
rand = "0.8.5"
|
|
|
|
futures = "0.3.30"
|
2024-01-06 03:50:05 +00:00
|
|
|
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
2024-01-06 04:46:11 +00:00
|
|
|
zip = { version = "0.6.6", features = ["deflate"] }
|
2024-06-09 06:02:32 +00:00
|
|
|
brotli = { version = "3.4.0", optional = true }
|
2024-01-10 03:15:05 +00:00
|
|
|
|
|
|
|
[features]
|
2024-06-09 06:02:32 +00:00
|
|
|
compression = ["brotli"]
|
|
|
|
isolate_flutter = ["allo-isolate"]
|