link_scraper 0.2.0

Scrape links from any document-file format
Documentation
# 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 = "link_scraper"
version = "0.2.0"
build = false
exclude = ["test_files/"]
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Scrape links from any document-file format"
homepage = "https://github.com/LukasPieger1/link_scraper"
readme = "README.md"
keywords = [
    "link",
    "hyperlink",
    "scrape",
    "document",
    "file",
]
categories = [
    "encoding",
    "filesystem",
    "parser-implementations",
    "text-processing",
]
license = "AGPL-3.0"
repository = "https://github.com/LukasPieger1/link_scraper"

[package.metadata.docs.rs]
features = ["all"]

[lib]
name = "link_scraper"
path = "src/lib.rs"

[dependencies.cfg-if]
version = "1.0.0"

[dependencies.infer]
version = "0.16.0"
optional = true

[dependencies.itertools]
version = "0.13.0"

[dependencies.kamadak-exif]
version = "0.5.5"
optional = true

[dependencies.linkify]
version = "0.10.0"

[dependencies.mupdf]
version = "0.4"
optional = true

[dependencies.rtf-parser]
version = "0.3.0"
optional = true

[dependencies.thiserror]
version = "1.0"

[dependencies.xml-rs]
version = "0.8"
optional = true

[dependencies.zip]
version = "2.2"
optional = true

[features]
all = [
    "plaintext",
    "pdf",
    "xml",
    "xlink",
    "svg",
    "ooxml",
    "odf",
    "rtf",
    "image",
    "any_format",
]
any_format = ["dep:infer"]
default = [
    "any_format",
    "plaintext",
]
image = ["dep:kamadak-exif"]
odf = [
    "dep:xml-rs",
    "dep:zip",
]
ooxml = [
    "dep:xml-rs",
    "dep:zip",
]
pdf = ["dep:mupdf"]
plaintext = []
rtf = ["dep:rtf-parser"]
svg = ["xml"]
xlink = ["dep:xml-rs"]
xml = ["dep:xml-rs"]