Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(frontmatter-gen): 🎨 v0.0.5 #10

Merged
merged 6 commits into from
Nov 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading