diff --git a/Cargo.toml b/Cargo.toml index cacf31e..699e7da 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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 = [] diff --git a/examples/integration.rs b/examples/integration.rs index 441a2ae..da9030e 100644 --- a/examples/integration.rs +++ b/examples/integration.rs @@ -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)] diff --git a/macros/Cargo.toml b/macros/Cargo.toml index 4f55d25..59252ea 100644 --- a/macros/Cargo.toml +++ b/macros/Cargo.toml @@ -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" @@ -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"