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

57 lines
1.5 KiB
TOML
Raw Normal View History

2021-01-29 12:23:15 +00:00
[package]
name = "site_icons"
2022-12-26 17:14:13 +00:00
version = "0.4.9"
2021-01-29 12:23:15 +00:00
authors = ["Sam Denty <sam@samdenty.com>"]
edition = "2018"
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]
2022-12-24 18:16:04 +01:00
vec1 = { version = "1.10.1", features = ["serde"] }
itertools = "0.10.5"
serde_with = "2.1.0"
2022-07-24 21:14:34 +01:00
html5ever = "0.26.0"
2022-12-24 18:16:04 +01:00
percent-encoding = "2.2.0"
url = { version = "2.3.1", features = ["serde"] }
2021-01-29 12:23:15 +00:00
regex = "1"
2022-12-24 18:16:04 +01:00
log = "0.4.17"
once_cell = "1.16.0"
2022-07-24 21:14:34 +01:00
scraper = "0.13.0"
2022-12-24 18:16:04 +01:00
byteorder = "1.4.3"
data-url = "0.2.0"
2021-01-29 16:26:04 +00:00
mime = { package = "mime_4", version = "0.4.0-a.0" }
2021-01-29 12:23:15 +00:00
serde = { version = "1.0", features = ["derive", "rc"] }
serde_json = "1.0"
2022-12-24 18:16:04 +01:00
futures = "0.3.25"
tldextract = "0.6.0"
2022-10-09 14:39:52 +01:00
[target.'cfg(target_arch = "wasm32")'.dependencies]
reqwest = { package = "reqwest-wasm", version = "0.11.15", features = [
2022-04-01 02:10:07 +01:00
"json",
"cookies",
"blocking",
"stream",
] }
2021-01-29 12:23:15 +00:00
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
2022-12-24 18:16:04 +01:00
clap = { version = "3.2.23", features = ["derive"] }
tokio = { version = "1.22.0", features = ["full"] }
env_logger = "0.9.3"
reqwest = { version = "0.11.13", features = [
2022-10-09 14:39:52 +01:00
"json",
"cookies",
"blocking",
"stream",
] }