# 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 = "anki_bridge" version = "0.8.0" authors = ["DaniƩl Kerkmann "] include = [ "**/*.rs", "CHANGELOG.md", "Cargo.toml", "LICENSE", "README.md", ] description = "AnkiBridge is a Rust library that provides a bridge between your Rust code and the Anki application, enabling HTTP communication and seamless data transmission." documentation = "https://docs.rs/anki_bridge" readme = "README.md" keywords = [ "anki", "ankiconnect", "addon", "bridge", "flashcards", ] categories = [ "api-bindings", "encoding", "network-programming", ] license = "MIT" repository = "https://gitlab.com/kerkmann/anki_bridge" [package.metadata.docs.rs] features = ["ureq_blocking"] no-default-features = true [dependencies.async-trait] version = "0.1" [dependencies.maybe-async] version = "0.2" features = [] optional = true [dependencies.reqwest] version = "0.11" features = [ "json", "serde_json", ] optional = true default-features = false [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.serde_tuple] version = "0.5" [dependencies.thiserror] version = "1.0" [dependencies.ureq] version = "2.7" features = ["json"] optional = true default-features = false [dev-dependencies.tokio] version = "1.29" features = ["macros"] [features] default = [] reqwest_async = [ "maybe-async", "reqwest", ] reqwest_blocking = [ "maybe-async/is_sync", "reqwest/blocking", ] ureq_blocking = [ "maybe-async/is_sync", "ureq", ]