# 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 = "magneto" version = "0.2.3" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A torrent searching library" readme = "README.md" keywords = [ "torrent", "magnet", "tracker", "api", "library", ] license = "MIT" repository = "https://github.com/mitander/magneto" [lib] name = "magneto" path = "src/lib.rs" [[example]] name = "search" path = "examples/search.rs" [dependencies.anyhow] version = "1.0.93" [dependencies.assert_matches] version = "1.5.0" [dependencies.async-trait] version = "^0.1.83" [dependencies.bytes] version = "1.8.0" [dependencies.clap] version = "4.5.20" features = [ "help", "usage", "error-context", "std", "derive", ] [dependencies.env_logger] version = "0.11.5" [dependencies.http] version = "1.1.0" [dependencies.log] version = "0.4.22" [dependencies.mockito] version = "1.6.1" [dependencies.reqwest] version = "0.12.9" optional = true default-features = false [dependencies.serde] version = "1.0.214" features = ["derive"] [dependencies.serde_json] version = "1.0.132" [dependencies.serde_urlencoded] version = "0.7.1" [dependencies.thiserror] version = "2.0.3" [dependencies.tokio] version = "1.41.0" features = [ "macros", "rt-multi-thread", ] [dependencies.url] version = "2.5.3" [features] blocking = ["reqwest/blocking"] default = ["reqwest/default-tls"] rustls-tls = ["reqwest/rustls-tls"]