Skip to content

Commit b2002c1

Browse files
committed
basic support for saving as MHTML, refactor code and fix bugs
1 parent a483897 commit b2002c1

28 files changed

+788
-881
lines changed

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# Makefile for monolith
22

3-
all: build build_gui
3+
all: build build-gui
44
.PHONY: all
55

66
build:
77
@cargo build --locked
88
.PHONY: build
99

10-
build_gui:
10+
build-gui:
1111
@cargo build --locked --bin monolith-gui --features="gui"
1212
.PHONY: build_gui
1313

@@ -19,7 +19,7 @@ format:
1919
@cargo fmt --all --
2020
.PHONY: format
2121

22-
format_check:
22+
format-check:
2323
@cargo fmt --all -- --check
2424
.PHONY: format
2525

@@ -32,7 +32,7 @@ lint:
3232
# @cargo fix --allow-dirty --allow-staged
3333
.PHONY: lint
3434

35-
lint_check:
35+
lint-check:
3636
@cargo clippy --
3737
.PHONY: lint_check
3838

src/cookies.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
use std::time::{SystemTime, UNIX_EPOCH};
2-
use url::Url;
2+
3+
use crate::url::Url;
34

45
pub struct Cookie {
56
pub domain: String,

0 commit comments

Comments
 (0)