forked from fermyon/spin-fileserver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
34 lines (29 loc) · 792 Bytes
/
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
[package]
name = "spin-static-fs"
version = "0.2.0"
edition = "2021"
authors = ["Fermyon Engineering <[email protected]>"]
[lib]
crate-type = ["cdylib"]
[package.metadata.component]
package = "component:spin-fileserver-example"
adapter = "adapters/fd1e948d/wasi_snapshot_preview1.reactor.wasm"
[dependencies]
cargo-component-bindings = "0.4.0"
# Helpful crate to manage errors.
anyhow = "1.0"
# Brotli compression makes big things less big
brotli = "3.3"
flate2 = "1.0.28"
futures = "0.3.28"
hex = "0.4.3"
# HTTP crate helpful for the header keys.
http = "0.2"
# Helper to guess the media type based on the file extension.
mime_guess = "2.0"
sha2 = "0.10.8"
# The Spin SDK.
spin-sdk = { git = "https://github.com/fermyon/spin" }
[workspace]
[dev-dependencies]
scopeguard = "1.2.0"