Skip to content

Release v0.5.0

Choose a tag to compare

@Avimitin Avimitin released this 21 Feb 09:06
· 61 commits to master since this release
67bb917

Breaking change

  • Add type constraint for glossary APIs

v0.4.6 -> v0.5.0 migration guide

deepl
    .create_glossary("My Glossary")
-   .source("Hello", "en")
-   .target("Guten Tag", "de")
+   .source("Hello", Lang::EN)
+   .target("Guten Tag", Lang::DE)
    .format(EntriesFormat::CSV) // This field is optional, we will use TSV as default.
    .send()
    .await
    .unwrap();