-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
116 lines (107 loc) · 3.12 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
[package]
name = "bucket-sdk"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
s3 = []
proto = []
wasm = []
web = ["wasm", "proto"]
cli = ["proto", "s3", "native"]
native = [] #"dep:tokio", "dep:tokio-stream"
[dependencies]
bucket-common-types = { git = "https://github.com/Tim-Leon/bucket-common-types.git", features = [
"secret_share_link",
"share_link",
] }
zxcvbn = "2.2.2"
uuid = { version = "1.4.0", features = ["v4", "fast-rng"] }
url = "2.4.0"
thiserror = "1.0.58"
bitflags = "2.3.3"
sha3 = "0.10.8"
argon2 = "0.5.0"
highway = "1.1.0"
opaque-ke = { version = "3.0.0-pre.3", features = ["argon2"] }
ed25519-compact = { version = "2.0.4" }
x25519-dalek = "2.0.0"
aes-gcm = "0.10.2"
once_cell = "1.18.0"
prost = "0.12.1"
prost-types = "0.12.1"
tonic = { version = "0.11.0", default-features = false, features = [
"prost",
"codegen",
] }
futures = { version = "0.3", default-features = false, features = ["std"] }
tonic-web-wasm-client = "0.5.1"
anyhow = "*"
base64 = "0.22.0"
serde = "1.0.175"
bytemuck = "1.15.0"
gloo = { version = "0.11.0", features = ["futures", "net", "file", "worker"] }
zeroize = "1.6.0"
async-trait = "0.1.72"
mime = "0.3.17"
wasm-bindgen = "0.2.92"
byte-unit = "5.1.4"
# zip = "0.6.6"
strum = {version = "0.26.2", features = ["derive"]}
cookie = { version = "0.18.0", features = ["private"] }
hex-literal = "0.4.1"
rust_decimal = "1.33.1"
pharos = "0.5.3"
jsonwebtoken = "9.1.0"
lunchbox = { version = "0.1.3", features = ["full-wasm"] }
brotli = { version = "3.3.4", features = [] } #"simd"
web-sys = { version = "0.3.69", features = [
"Document",
"Window",
"console",
"Event",
"FileReader",
"File",
"FileList",
"HtmlInputElement",
"Blob",
"ReadableStream",
"WritableStream",
] }
time = { version = "0.3.28", features = ["serde", "wasm-bindgen"] }
passkey = "0.2.0"
infer = "0.15.0"
pkg-version = "1.0.0"
wasm-bindgen-futures = "0.4.42"
wasm-streams = "0.4.0"
log = "0.4.20"
prokio = "0.1.0"
[target.'cfg(unix)'.dependencies]
fuser = "0.14.0" # https://crates.io/crates/fuser
[target.'cfg(windows)'.dependencies]
winfsp = "0.11.3+winfsp-2.0" #https://crates.io/crates/winfsp
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen-futures = "0.4"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
# We still need tokio as we have docs linked to it.
tokio = { version = "1.33", features = ["rt"] }
tokio-stream = { version = "0.1.15" }
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
tokio = { version = "1.33", features = ["full"] }
tokio-stream = { version = "0.1.15" }
[dev-dependencies]
wasm-bindgen-test = "0.3.42"
serial_test = "3.0.0"
criterion = { version = "0.5.1" } # Benchmark framework that is used to deterimne performance change, as in regresion or improvement.
pretty_assertions = "1.4.0"
trybuild = "1.0.89"
[build-dependencies]
tonic-build = { version = "0.11.0", default-features = false, features = [
"prost",
] }
[build]
target = "wasm32-unknown-unknown"
[profile.release]
# Tell 'rustc' to optimize for small code size.
opt-level = "s"
debug = false