This repository has been archived on 2025-01-30. You can view files and clone it, but cannot push or open issues or pull requests.
site_icons/Cargo.toml

60 lines
1.8 KiB
TOML
Raw Normal View History

2021-01-29 12:23:15 +00:00
[package]
name = "site_icons"
2023-01-07 20:10:02 +00:00
version = "0.6.4"
2021-01-29 12:23:15 +00:00
authors = ["Sam Denty <sam@samdenty.com>"]
2023-09-15 15:28:18 +02:00
edition = "2021"
2021-01-30 18:03:06 +00:00
license = "GPL-3.0"
2021-01-29 16:26:04 +00:00
homepage = "https://github.com/samdenty/site_icons"
2021-01-29 12:28:37 +00:00
repository = "https://github.com/samdenty/site_icons"
2021-01-29 16:26:04 +00:00
documentation = "https://docs.rs/site_icons"
description = "Website icon scraper that fetches sizes (with WASM support)"
2021-01-29 16:29:31 +00:00
keywords = ["favicon", "logo", "website", "scraper", "cli"]
2021-01-29 16:26:04 +00:00
categories = ["command-line-utilities", "multimedia::images", "wasm"]
2021-01-29 12:23:15 +00:00
[package.metadata.wasm-pack.profile.release]
wasm-opt = ["-Oz", "--enable-mutable-globals"]
[lib]
crate-type = ["cdylib", "rlib"]
[dependencies]
2023-09-15 15:04:41 +02:00
byteorder = "1.4.3"
data-url = "0.3.0"
2023-01-03 14:21:54 +00:00
flo_stream = "0.7"
2023-09-15 15:04:41 +02:00
futures = "0.3.28"
2022-07-24 21:14:34 +01:00
html5ever = "0.26.0"
2023-09-15 15:04:41 +02:00
itertools = "0.11.0"
log = "0.4.20"
lol_html = "0.4.0" # TODO: Update to v1.2.x
2021-01-29 16:26:04 +00:00
mime = { package = "mime_4", version = "0.4.0-a.0" }
2023-09-15 15:04:41 +02:00
once_cell = "1.18.0"
percent-encoding = "2.3.0"
regex = "1"
scraper = "0.17.1"
2021-01-29 12:23:15 +00:00
serde = { version = "1.0", features = ["derive", "rc"] }
serde_json = "1.0"
2023-09-15 15:04:41 +02:00
serde_with = "3.3.0"
tldextract = "0.6.0"
2023-09-15 15:04:41 +02:00
url = { version = "2.4.1", features = ["serde"] }
vec1 = { version = "1.10.1", features = ["serde"] }
2022-10-09 14:39:52 +01:00
2023-09-15 15:04:41 +02:00
[target.'cfg(target_arch = "wasm32")'.dependencies.reqwest]
package = "reqwest-wasm"
version = "0.11.16"
features = ["json", "cookies", "blocking", "stream"]
[target.'cfg(target_arch = "wasm32")'.dependencies.cached]
version = "0.44.0" # TODO: update to v0.45.x
default_features = false
features = ["proc_macro", "wasm"]
2021-01-29 12:23:15 +00:00
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
2023-09-15 15:04:41 +02:00
cached = "0.44.0" # TODO: update to v0.45.x
clap = { version = "4.4.3", features = ["derive"] }
env_logger = "0.10.0"
tokio = { version = "1.32.0", features = ["full"] }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.reqwest]
version = "0.11.20"
features = ["json", "cookies", "blocking", "stream"]