-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCargo.toml
52 lines (46 loc) · 1.48 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
[package]
name = "save"
version = "0.1.0"
authors = ["Richard Puckett <[email protected]"]
description = "Decentralized Web for Save"
edition = "2021"
publish = false
[lib]
name = "save"
path = "src/lib.rs"
crate-type = ["staticlib", "cdylib"]
[features]
android = []
ios = []
# Increases build time by... a lot. Too much for dev.
# [profile.release]
# opt-level = 3
# lto = true
# codegen-units = 1
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
save-dweb-backend = { git = "https://github.com/OpenArchive/save-dweb-backend", branch = "main" }
tokio = { version = "~1.39", default-features = false, features = ["rt", "rt-multi-thread", "sync", "time", "macros"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
crossbeam-channel = "0.5"
lazy_static = "1.4"
actix-web = { version = "4", features = ["macros"] }
futures = "0.3"
eyre = "0.6.12"
veilid-core = { git = "https://gitlab.com/veilid/veilid.git", branch = "main" }
once_cell = "1.20.1"
base64-url = "3.0.0"
thiserror = "1.0.64"
anyhow = "1.0.89"
async-trait = "0.1.83"
tmpdir = "1.0.0"
num_cpus = "1.16.0"
tokio-stream = "0.1.16"
bytes = "1.7.2"
iroh-blobs = "0.24.0"
[target.'cfg(target_os = "android")'.dependencies]
jni = "0.21.1"
tokio = { version = "~1.39", default-features = false, features = ["rt", "rt-multi-thread", "sync", "time", "macros"] }
veilid-core = { git = "https://gitlab.com/veilid/veilid.git", branch = "main" }
blake3 = "1.5.4"