Skip to content

Commit

Permalink
Merge pull request #10 from sebastienrousseau/feat/frontmatter-gen
Browse files Browse the repository at this point in the history
feat(frontmatter-gen): 🎨 v0.0.5
  • Loading branch information
sebastienrousseau authored Nov 24, 2024
2 parents d8b7e3b + 3f2b432 commit 5e2d6c6
Show file tree
Hide file tree
Showing 20 changed files with 2,093 additions and 940 deletions.
21 changes: 14 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

[package]
name = "frontmatter-gen"
version = "0.0.4"
version = "0.0.5"
edition = "2021"
rust-version = "1.56.0"
license = "MIT OR Apache-2.0"
Expand Down Expand Up @@ -73,17 +73,14 @@ required-features = ["cli"]
[features]
# Optional features that can be enabled or disabled.
default = [] # SSG is not enabled by default
cli = ["dep:clap", "dep:tokio"] # CLI functionality only
cli = ["dep:clap"] # CLI functionality only
ssg = [ # Full SSG functionality
"cli", # Include CLI as part of SSG
"dep:tera",
"dep:pulldown-cmark",
"dep:tokio",
"dep:dtt",
# "dep:log",
"dep:url",
]
# logging = ["dep:log"] # Optional logging feature

# -----------------------------------------------------------------------------
# Dependencies
Expand All @@ -96,6 +93,7 @@ serde = { version = "1.0.215", features = ["derive"] }
serde_json = "1.0.133"
serde_yml = "0.0.12"
time = { version = "0.3.36", features = ["formatting", "local-offset"] }
tokio = { version = "1.41.1", features = ["full"]}

thiserror = "2.0.3"
toml = "0.8.19"
Expand All @@ -111,9 +109,10 @@ pulldown-cmark = { version = "0.12.2", optional = true }
simple_logger = "5.0.0"
tempfile = "3.14.0"
tera = { version = "1.20.0", optional = true }
tokio = { version = "1.41.1", features = ["full"], optional = true }
url = { version = "2.5.3", optional = true }
url = { version = "2.5.4", optional = true }

# Examples development dependencies
env_logger = "0.11.5"
# -----------------------------------------------------------------------------
# Build Dependencies
# -----------------------------------------------------------------------------
Expand Down Expand Up @@ -142,6 +141,14 @@ path = "examples/error_examples.rs"
name = "extractor"
path = "examples/extractor_examples.rs"

[[example]]
name = "fenced"
path = "examples/fenced_examples.rs"

[[example]]
name = "frontmatter"
path = "examples/frontmatter_examples.rs"

[[example]]
name = "lib"
path = "examples/lib_examples.rs"
Expand Down
Loading

0 comments on commit 5e2d6c6

Please sign in to comment.