# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "lopdf" version = "0.33.0" authors = [ "Junfeng Liu ", "Emulator ", ] description = "A Rust library for PDF document manipulation." homepage = "https://github.com/J-F-Liu/lopdf" documentation = "https://docs.rs/crate/lopdf/" readme = "README.md" keywords = [ "pdf", "editing", "manipulation", "merge", ] categories = ["text-processing"] license = "MIT" repository = "https://github.com/J-F-Liu/lopdf.git" [[example]] name = "add_barcode" required-features = ["pom_parser"] [[example]] name = "extract_toc" required-features = ["serde"] [[example]] name = "extract_text" required-features = ["serde"] [[example]] name = "print_annotations" required-features = ["default"] [[example]] name = "rotate" required-features = ["nom_parser"] [[test]] name = "modify" required-features = ["pom_parser"] [dependencies.chrono] version = "^0.4" features = [ "std", "clock", ] optional = true default-features = false [dependencies.encoding_rs] version = "0.8.32" [dependencies.flate2] version = "^1.0" [dependencies.image] version = "^0.24" optional = true [dependencies.indexmap] version = "2.2.3" [dependencies.itoa] version = "^1.0" [dependencies.linked-hash-map] version = "^0.5" [dependencies.log] version = "^0.4" [dependencies.md-5] version = "0.10" [dependencies.nom] version = "^7.1" optional = true [dependencies.pom] version = "^3.2" optional = true [dependencies.rayon] version = "^1.6" optional = true [dependencies.serde] version = "1.0" features = ["derive"] optional = true [dependencies.time] version = "^0.3" features = [ "formatting", "parsing", ] [dependencies.tokio] version = "1" features = [ "fs", "io-util", ] optional = true [dependencies.weezl] version = "0.1" [dev-dependencies.clap] version = "4.0" features = ["derive"] [dev-dependencies.env_logger] version = "0.10" [dev-dependencies.serde_json] version = "1.0" [dev-dependencies.shellexpand] version = "3.0" [dev-dependencies.tempfile] version = "3.3" [features] async = [ "tokio/rt-multi-thread", "tokio/macros", ] chrono_time = ["chrono"] default = [ "chrono_time", "nom_parser", "rayon", ] embed_image = ["image"] nom_parser = ["nom"] pom_parser = ["pom"] serde = ["dep:serde"] [badges.travis-ci] repository = "J-F-Liu/lopdf"