Files
pixiv_downloader/Cargo.toml
dependabot[bot] 31a5e730e4 Bump int-enum from 0.4.0 to 0.5.0 (#293)
Bumps [int-enum](https://github.com/Juici/int-enum-rs) from 0.4.0 to 0.5.0.
- [Release notes](https://github.com/Juici/int-enum-rs/releases)
- [Commits](https://github.com/Juici/int-enum-rs/commits)

---
updated-dependencies:
- dependency-name: int-enum
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-08 13:55:38 +08:00

79 lines
2.6 KiB
TOML

[package]
name = "pixiv_downloader"
version = "0.0.1"
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
anyhow = { version = "1.0", optional = true }
async-trait = { version = "0.1", optional = true }
atty = "0.2"
base64 = { version = "0.13", optional = true }
bytes = { version = "1.2", optional = true }
c_fixed_string = { version = "0.2", optional = true }
cfg-if = "1"
chrono = "0.4"
dateparser = "0.1.7"
derive_more = "0.99"
fancy-regex = "0.10"
flagset = { version = "0.4", optional = true }
futures-util = "0.3"
getopts = "0.2"
gettext = "0.4"
hex = { version = "0.4", optional = true }
html_parser = "0.6.3"
http = "0.2"
http-content-range = "0.1"
hyper = { version="0.14", features = ["server"], optional = true }
indicatif = "0.17.1"
int-enum = "0.5"
itertools = "0.10"
json = "0.12"
lazy_static = "1.4"
modular-bitfield = "0.11"
multipart = { features = ["server"], git = 'https://github.com/lifegpc/multipart', optional = true, default-features = false }
openssl = { version = "0.10", optional = true }
parse-size = "1"
proc_macros = { path = "proc_macros" }
regex = "1"
reqwest = { version = "0.11", features = ["brotli", "deflate", "gzip", "socks", "stream"] }
rusqlite = { version = "0.28", features = ["bundled", "chrono"], optional = true }
RustyXML = "0.3"
tokio = { version = "1.21", features = ["rt", "macros", "rt-multi-thread", "time"] }
url = "2.3"
urlparse = "0.7"
utf16string = { version= "0.2", optional = true }
[build-dependencies]
bindgen = { version = "0.60", optional = true }
cmake = { version = "0.1", optional = true }
[features]
all = ["db", "db_sqlite", "exif", "ugoira", "server"]
avdict = ["bindgen", "cmake", "flagset"]
db = ["anyhow", "async-trait", "bytes"]
db_all = ["db", "db_sqlite"]
db_sqlite = ["rusqlite"]
exif = ["bindgen", "c_fixed_string", "cmake", "link-cplusplus", "utf16string"]
server = ["async-trait", "base64", "db", "hex", "hyper", "multipart", "openssl"]
ugoira = ["avdict", "bindgen", "cmake", "link-cplusplus"]
[patch.crates-io]
openssl = { git = "https://github.com/lifegpc/rust-openssl" }
openssl-sys = { git = "https://github.com/lifegpc/rust-openssl" }
native-tls = { git = "https://github.com/lifegpc/rust-native-tls" }
[profile.release-with-debug]
inherits = "release"
debug = true
[target.'cfg(windows)'.dependencies]
winapi = { version = "0.3.9", features = ["winnls", "stringapiset"] }
[target.'cfg(windows)'.build-dependencies]
parse-size = "1"
[target.'cfg(target_env = "gnu")'.dependencies]
link-cplusplus = { version = "1.0", features = ["libstdc++"], optional = true }