translators 0.2.0

Free Google Translator without API key and limits.
# 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 = "2024"
name = "translators"
version = "0.2.0"
authors = ["charl1e7"]
build = false
exclude = [
    "tests/",
    "examples/",
    ".vscode/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Free Google Translator without API key and limits."
homepage = "https://github.com/charl1e7/rust-translators"
documentation = "https://docs.rs/translators/0.2.0/translators/"
readme = "README.md"
keywords = [
    "translate",
    "google",
    "language",
    "async",
]
categories = [
    "asynchronous",
    "api-bindings",
]
license = "MIT"
repository = "https://github.com/charl1e7/rust-translators"

[package.metadata.docs.rs]
all-features = true
rustc-args = [
    "--cfg",
    "docsrs",
]
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
all = [
    "tokio-async",
    "google",
]
google = []
tokio-async = [
    "dep:tokio",
    "dep:futures",
]

[lib]
name = "translators"
path = "src/lib.rs"

[dependencies.futures]
version = "0.3"
optional = true

[dependencies.html-escape]
version = "0.2"

[dependencies.macon]
version = "1.3"

[dependencies.regex]
version = "1.13"

[dependencies.reqwest]
version = "0.13"
features = [
    "json",
    "rustls",
    "blocking",
    "socks",
]
default-features = false

[dependencies.tokio]
version = "1"
features = []
optional = true

[dependencies.urlencoding]
version = "2.1"

[dev-dependencies.tokio]
version = "1"
features = ["macros"]