odict 3.3.0

A blazingly-fast dictionary file format for human languages
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use crate::serializable;

serializable! {
  #[derive(Default)]
  #[serde(rename = "translation")]
  pub struct Translation {
    #[serde(rename = "@lang")]
    #[rkyv(with = crate::intern::Intern)]
    pub lang: String,

    #[serde(rename = "@value")]
    #[rkyv(with = crate::intern::Intern)]
    pub value: String,
  }
}