Update leptos_icons + Add chrono datetime for matter + Add reading time estimation
This commit is contained in:
parent
4ab4b95d8a
commit
8b7e528bc9
12 changed files with 362 additions and 68 deletions
16
Cargo.toml
16
Cargo.toml
|
@ -16,17 +16,11 @@ gloo-net = { version = "0.5", features = ["http"] }
|
|||
log = "0.4"
|
||||
cfg-if = "1.0"
|
||||
serde = "1.0"
|
||||
chrono = { version = "0.4", features = ["serde"] }
|
||||
|
||||
# https://carlosted.github.io/icondata/
|
||||
leptos_icons = { version = "0.1.0", features = [
|
||||
"FiMenu",
|
||||
"FiExternalLink",
|
||||
"FaGithubBrands",
|
||||
"FaLinkedinBrands",
|
||||
"FaEnvelopeSolid",
|
||||
"FaCaretDownSolid",
|
||||
"IoConstruct"
|
||||
]}
|
||||
leptos_icons = "0.2.0"
|
||||
icondata = "0.3.0"
|
||||
|
||||
# dependecies for client (enable when csr or hydrate set)
|
||||
wasm-bindgen = { version = "0.2", optional = true }
|
||||
|
@ -44,6 +38,7 @@ gray_matter = { version = "0.2", optional = true } # frontmatter parser
|
|||
serde_yaml = { version = "0.9", optional = true }
|
||||
anyhow = { version = "1.0", optional = true }
|
||||
thiserror = { version = "1.0", optional = true }
|
||||
estimated_read_time = { version = "1.0", optional = true }
|
||||
|
||||
[features]
|
||||
default = ["csr"]
|
||||
|
@ -76,7 +71,8 @@ ssr = [
|
|||
"dep:gray_matter",
|
||||
"dep:serde_yaml",
|
||||
"dep:anyhow",
|
||||
"dep:thiserror"
|
||||
"dep:thiserror",
|
||||
"dep:estimated_read_time"
|
||||
]
|
||||
|
||||
[package.metadata.cargo-all-features]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue