Skip to content

Commit 062b817

Browse files
authored
Feature/new rust version (#85)
Switched to the new Rust release and changed the layout. The layout change is part of a huge app rewrite.
1 parent 74520fb commit 062b817

File tree

7 files changed

+65
-249
lines changed

7 files changed

+65
-249
lines changed

Cargo.lock

Lines changed: 6 additions & 208 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
name = "lembas"
55
version = "0.3.1"
66
authors = ["Marius Wilms <info@mariuswilms.dev>"]
7-
edition = "2018"
7+
edition = "2021"
88
license = "GPL-3.0-only"
99
readme = "README.md"
1010
repository = "https://github.com/mawilms/lembas"
@@ -22,13 +22,13 @@ exclude = [
2222
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
2323

2424
[dependencies]
25-
iced = { version = "^0", features = ["glow", "tokio"] }
25+
iced = { version = "^0", features = ["tokio", "image"] }
2626
reqwest = { version = "^0", features = ["blocking", "json"] }
2727
zip = "^0"
2828
serde = { version = "^1", features = ["derive"] }
2929
serde_json = "^1"
3030
serde-xml-rs = "^0"
31-
dirs = "^3"
31+
dirs = "^4"
3232
rusqlite = { version = "^0", features = ["bundled"] }
3333
futures = "^0"
3434
tokio = { version = "^1", features = ["full"]}

src/gui/views/about.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,13 @@ It's open source and shouldn't be used commercially in any way.
1616
);
1717

1818
let content = Column::new()
19-
.width(Length::Fill)
20-
.spacing(10)
2119
.align_items(Align::Center)
2220
.push(about_text);
2321

2422
Container::new(content)
2523
.width(Length::Fill)
2624
.height(Length::Fill)
27-
.padding(10)
25+
.padding(20)
2826
.style(style::Content)
2927
.into()
3028
}

src/gui/views/catalog.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ impl Catalog {
258258

259259
Container::new(content)
260260
.height(Length::Fill)
261-
.padding(10)
261+
.padding(20)
262262
.style(style::Content)
263263
.into()
264264
}

src/gui/views/configuration.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ impl Configuration {
7373
.push(feed_row);
7474

7575
Container::new(content)
76-
.padding(10)
76+
.padding(20)
7777
.width(Length::Fill)
7878
.height(Length::Fill)
7979
.style(style::Content)

0 commit comments

Comments
 (0)