v0.2.0
v0.2.0 breaks the DeepLApi::translate
method. It only accept TranslateTextProp
argument now. Please read the v0.2.0
document for the new changes.
v0.1 => v0.2
migration guide
// replacing this
api.translate("Hello World", None, Lang::ZH)
// with this
let props = TranslateTextProp::builder().target_lang(Lang::ZH).build();
api.translate("Hello World", &props);