This will improve build time and binary size as follows: * Before - **Compile targets**: 220 - **Build time**: `cargo build --release 1264.95s user 39.72s system 335% cpu 6:29.14 total` - **Binary size**: 6578568 bytes * After - **Compile targets**: 170 - **Build time**: `cargo build --release 1130.64s user 32.15s system 359% cpu 5:23.69 total` - **Binary size**: 6107088 bytes * Differences - **Compile targets**: 1.29x smaller - **Build time**: 1.23x faster - **Binary size**: 1.07x smaller
26 lines
597 B
TOML
26 lines
597 B
TOML
[package]
|
|
name = "monolith"
|
|
version = "2.1.1"
|
|
edition = "2018"
|
|
authors = [
|
|
"Sunshine <sunshine@uberspace.net>",
|
|
"Mahdi Robatipoor <mahdi.robatipoor@gmail.com>",
|
|
"Emmanuel Delaborde <th3rac25@gmail.com>",
|
|
"Emi Simpson <emi@alchemi.dev>",
|
|
"rhysd <lin90162@yahoo.co.jp>",
|
|
]
|
|
description = "CLI tool for saving web pages as a single HTML file"
|
|
|
|
[dependencies]
|
|
base64 = "0.10.1"
|
|
clap = "2.33.0"
|
|
html5ever = "0.24.1"
|
|
lazy_static = "1.4.0"
|
|
regex = "1.3.1"
|
|
url = "2.1.0"
|
|
|
|
[dependencies.reqwest]
|
|
version = "0.10.*"
|
|
default-features = false
|
|
features = ["default-tls", "blocking", "gzip"]
|