Skip to content
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
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ description = "Docify allows you to live-embed at compile time pieces of code fr
docify_macros = { path = "macros", version = "0.2.9" }

[dev-dependencies]
proc-utils = "0.1.0"
proc-utils = "0"

[features]
default = []
Expand Down
3 changes: 3 additions & 0 deletions examples/integration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@ pub struct ExportContentConst;
#[doc = docify::embed!("examples/samples.rs", inner_mod2)]
pub struct NestedExports;

#[doc = docify::embed!(git: "https://github.com/sam0x17/docify", path: "examples/samples.rs", item: MyCoolStruct)]
pub struct GitEmbeds;

/// This will compile all markdown files in the `markdown_source` directory to `markdown_bin`
/// when `cargo doc` is run, handling any doc embed calls as it goes
#[cfg(doc)]
Expand Down
10 changes: 5 additions & 5 deletions macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ description = "Support macros for docify."
proc-macro = true

[dependencies]
derive-syn-parse = "0.2"
derive-syn-parse = "0"
proc-macro2 = "1"
quote = "1"
regex = "1"
Expand All @@ -21,7 +21,7 @@ walkdir = "2"
common-path = "1"
termcolor = "1"
once_cell = "1"
toml = "0.8"
tempfile = "3.3.0"
git2 = "0.18"
sha2 = "0.10.6"
toml = "0"
tempfile = "3"
git2 = "0"
sha2 = "0"