32 releases

0.8.1 Jun 30, 2026
0.7.3 Dec 1, 2025
0.7.2 Nov 21, 2025
0.6.6 Jul 17, 2025
0.1.4 Nov 29, 2022

#537 in Web programming

Download history 118/week @ 2026-05-08 137/week @ 2026-05-15 207/week @ 2026-05-22 386/week @ 2026-05-29 403/week @ 2026-06-05 508/week @ 2026-06-12 614/week @ 2026-06-19 107/week @ 2026-06-26 376/week @ 2026-07-03 192/week @ 2026-07-10 275/week @ 2026-07-17 259/week @ 2026-07-24 435/week @ 2026-07-31 263/week @ 2026-08-07 159/week @ 2026-08-14 121/week @ 2026-08-21

1,026 downloads per month
Used in 3 crates

MIT license

65KB
1.5K SLoC

DeepL Api

github crates.io docs.rs

deepl-rs is a web request library for making requests to the DeepL API endpoint easier. It provides types wrapping to help developer gain correctness confidence.

Usage

[dependencies]
deepl = "0.8"
use deepl::{DeepLApi, Lang};

let api = DeepLApi::with("YOUR AUTH KEY").new();
let translated = api.translate_text("Hello World", Lang::ZH).await.unwrap();

let sentences = translated.translations;
assert_eq!(sentences[0].text, "你好,世界");

Read examples for more usage.

Collaboration

If you find any bugs in this project or feel confused about any part of the code, feel free to open new issue.

DeepL API rapidly update and change, and this crate can't catch up in-time. Feel free to file new issue if deepl-rs mismatch with the DeepL API.

If you want to submit some code modification but don't know how to setup the code environment, you can follow the Nix Installation and enable flakes support. Then simply run nix develop in the project root, all the build dependencies will setup for you.

License

MIT

Dependencies

~26–44MB
~728K SLoC