rust extract text from pdf files

[dependencies]
pdf-extract = "0.6.4"

  

 

use pdf_extract::extract_text;

fn main(){
    let text = extract_text("1.pdf").unwrap();
    println!("{:?}", text);
}

  

posted @ 2023-03-26 14:25  CrossPython  阅读(68)  评论(0编辑  收藏  举报