[package] authors = ["Lyssieth "] description = "API for searching for the original source of images." edition = "2021" keywords = ["library", "source", "find", "search"] license = "MIT" name = "sauce-api" repository = "https://github.com/lyssieth/sauce-api" version = "1.0.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] async-trait = "0.1.58" reqwest = { version = "0.11.13", default-features = false, features = ["json"] } serde = { version = "1.0.147", features = ["derive"] } serde_json = "1.0.89" thiserror = "1.0.37" visdom = { version = "0.5.8", features = ["text"], optional = true } [features] default = ["saucenao", "iqdb"] saucenao = [] # Enables getting stuff from SauceNao iqdb = ["dep:visdom"] # Enables getting stuff from IQDB rustls = ["reqwest/rustls-tls"] # This does a bit more than just using default reqwest features # See this comment in their Cargo.toml https://github.com/seanmonstar/reqwest/blob/master/Cargo.toml#L30 # So we don't include it in the default features, but have it for symmetry native_tls = ["reqwest/native-tls"]