# 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 = "archwiki-rs" version = "3.2.5" authors = ["June L. Gschwantner lucygschwantner@gmail.com"] build = "build.rs" description = "A CLI tool to read pages from the ArchWiki" homepage = "https://gitlab.com/lucifayr/archwiki-rs" readme = "README.md" keywords = [ "ArchWiki", "cli", ] categories = ["command-line-interface"] license = "MIT" repository = "https://gitlab.com/jackboxx/archwiki-rs" [profile.release] opt-level = "z" lto = true codegen-units = 1 strip = "symbols" [lib] crate-type = [ "cdylib", "rlib", ] required-features = ["wasm-web"] [[bin]] name = "archwiki-rs" path = "src/main.rs" required-features = ["cli"] [dependencies.clap] version = "4.4.7" features = ["derive"] optional = true [dependencies.clap_complete] version = "4.4.7" optional = true [dependencies.colored] version = "2.0.0" optional = true [dependencies.console_error_panic_hook] version = "0.1.7" optional = true [dependencies.directories] version = "5.0.1" optional = true [dependencies.ego-tree] version = "0.6.2" [dependencies.futures] version = "0.3.29" [dependencies.getrandom] version = "0.2.14" features = ["js"] optional = true [dependencies.html2md] version = "0.2.14" [dependencies.human-panic] version = "1.2.1" optional = true [dependencies.indicatif] version = "0.17.7" optional = true [dependencies.itertools] version = "0.11.0" [dependencies.num_cpus] version = "1.16.0" optional = true [dependencies.regex] version = "1.10.2" [dependencies.reqwest] version = "0.11.22" [dependencies.sanitize-filename] version = "0.5.0" optional = true [dependencies.scraper] version = "0.18.1" [dependencies.serde] version = "1.0.190" features = ["derive"] [dependencies.serde-wasm-bindgen] version = "0.6.5" optional = true [dependencies.serde_json] version = "1.0.108" [dependencies.serde_yaml] version = "0.9.27" [dependencies.termination] version = "0.1.2" optional = true [dependencies.thiserror] version = "1.0.50" [dependencies.tokio] version = "1.33.0" features = ["full"] optional = true [dependencies.unicode-width] version = "0.1.11" optional = true [dependencies.url] version = "2.4.1" [dependencies.urlencoding] version = "2.1.3" [dependencies.wasm-bindgen] version = "0.2.92" optional = true [dependencies.wasm-bindgen-futures] version = "0.4.42" optional = true [dev-dependencies.assert_cmd] version = "2.0.12" [dev-dependencies.predicates] version = "3.0.4" [dev-dependencies.pretty_assertions] version = "1.4.0" [build-dependencies.clap] version = "4.4.7" features = ["derive"] [build-dependencies.clap_complete] version = "4.4.7" [build-dependencies.colored] version = "2.0.0" [build-dependencies.ego-tree] version = "0.6.2" [build-dependencies.html2md] version = "0.2.14" [build-dependencies.itertools] version = "0.11.0" [build-dependencies.reqwest] version = "0.11.22" [build-dependencies.scraper] version = "0.18.1" [build-dependencies.serde_json] version = "1.0.108" [build-dependencies.serde_yaml] version = "0.9.27" [build-dependencies.thiserror] version = "1.0.50" [build-dependencies.url] version = "2.4.1" [features] cli = [ "dep:clap", "dep:clap_complete", "dep:tokio", "dep:unicode-width", "dep:colored", "dep:indicatif", "dep:directories", "dep:sanitize-filename", "dep:human-panic", "dep:termination", "dep:num_cpus", ] default = ["cli"] wasm-bundler = ["wasm-web"] wasm-nodejs = ["wasm-web"] wasm-web = [ "dep:wasm-bindgen", "dep:wasm-bindgen-futures", "dep:serde-wasm-bindgen", "dep:console_error_panic_hook", "dep:getrandom", "dep:colored", ]