diff options
-rw-r--r-- | src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -11,6 +11,7 @@ use lopdf::{Document, Object}; use errors::Result; +/// Given a file path to a PDF, return a Vec of all URLs in the document. pub fn get_urls_from_pdf<P: AsRef<Path>>(path: P) -> Result<Vec<String>> { let doc = Document::load(path)?; |