-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
39 lines (34 loc) · 1.07 KB
/
Cargo.toml
File metadata and controls
39 lines (34 loc) · 1.07 KB
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
[package]
name = "webicon"
description = "Fetch a given website's favicon"
repository = "https://github.com/ariscript/webicon"
license = "AGPL-3.0-or-later"
version = "0.1.0"
edition = "2021"
authors = ["Ari Prakash"]
[package.metadata.release]
release = false
# https://github.com/rustwasm/wasm-pack/issues/1247
[package.metadata.wasm-pack.profile.release]
wasm-opt = false
[lib]
crate-type = ["cdylib"]
[dependencies]
worker = { version = "0.4.2", features = ['http', 'axum'] }
worker-macros = { version = "0.4.2", features = ['http'] }
axum = { version = "0.7", default-features = false, features = ["macros"] }
tower-service = "0.3.2"
console_error_panic_hook = { version = "0.1.1" }
scraper = "0.21.0"
url = "2.5.4"
reqwest = "0.12.9"
getrandom = { version = "0.2", features = ["js"] }
image = "0.25.5"
tower-http = { version = "0.6.2", features = ["cors"] }
http = "1.1.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
tokio = { version = "1.41.1", features = ["net", "macros"] }
axum = { version = "0.7", default-features = true, features = [
"tokio",
"http1",
] }