favicon-rs

Crates.iofavicon-rs
lib.rsfavicon-rs
version0.5.0
sourcesrc
created_at2022-07-13 02:23:53.962536
updated_at2024-01-09 02:41:08.234836
descriptionA favicon generation tool
homepagehttps://github.com/leonardwoo/favicon-rs
repository
max_upload_size
id624813
size33,452
Leonard Woo (leonardwoo)

documentation

README

Favicon

"License" "Crates.io" "Crates.io"

Introduction

A favicon image generation tool.

Install

cargo install favicon-rs

Usage

favicon -i <image.png> [output_path]

HTML Favicon

<head>

<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />
<!-- OR -->
<link rel="icon" type="image/x-icon" href="/favicon.ico" />

<link rel="icon" type="image/png" sizes="32x32" href="favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="192x192" href="android-chrome-192x192.png" />
<link rel="icon" type="image/png" sizes="512x512" href="android-chrome-512x512.png" />
<link rel="apple-touch-icon" sizes="180x180" href="apple-touch-icon.png" />

</head>
Commit count: 0

cargo fmt