Skip to content

Commit d8c9745

Browse files
committed
refactor: remove view macro for better type inference
1 parent 4775a69 commit d8c9745

17 files changed

+834
-612
lines changed

Cargo.lock

+217
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+2
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ lettre = { version = "0.11.9", default-features = false, optional = true, featur
4848
"tokio1",
4949
"tokio1-rustls-tls",
5050
] }
51+
leptos_icons = "0.4.0"
52+
icondata = "0.5.0"
5153

5254
[features]
5355
hydrate = ["leptos/hydrate"]

leptosfmt.toml

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
max_width = 100 # Maximum width of each line
2-
tab_spaces = 4 # Number of spaces per tab
3-
indentation_style = "Auto" # "Tabs", "Spaces" or "Auto"
4-
newline_style = "Auto" # "Unix", "Windows" or "Auto"
1+
max_width = 120 # Maximum width of each line
2+
tab_spaces = 4 # Number of spaces per tab
3+
indentation_style = "Auto" # "Tabs", "Spaces" or "Auto"
4+
newline_style = "Auto" # "Unix", "Windows" or "Auto"
55
attr_value_brace_style = "WhenRequired" # "Always", "AlwaysUnlessLit", "WhenRequired" or "Preserve"
6-
macro_names = ["leptos::view", "view"] # Macro names which will be formatted
6+
macro_names = ["leptos::view", "view"] # Macro names which will be formatted
77

88
# Attribute values can be formatted by custom formatters
99
# Every attribute name may only select one formatter (this might change later on)
1010
[attr_values]
11-
class = "Tailwind" # "Tailwind" is the only attribute value formatter available for now
11+
class = "Tailwind" # "Tailwind" is the only attribute value formatter available for now

rustfmt.toml

+3-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
edition = "2021"
1+
edition = "2021"
2+
max_width = 120 # Maximum width of each line
3+
tab_spaces = 4 # Number of spaces per tab

0 commit comments

Comments
 (0)