We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e3fd3f0 commit f069f9cCopy full SHA for f069f9c
src/lib.rs
@@ -3018,20 +3018,6 @@ impl Locale {
3018
})
3019
3020
}
3021
-
3022
- /// Create a locale from a CBOR file.
3023
- #[cfg(feature = "ciborium")]
3024
- pub fn from_cbor(reader: &[u8]) -> Result<Self, CborDeserializeError> {
3025
- ciborium::de::from_reader(reader)
3026
- }
3027
3028
- /// Write the locale to a CBOR file.
3029
3030
- pub fn to_cbor(&self) -> Result<Vec<u8>, CborSerializeError> {
3031
- let mut buf = Vec::new();
3032
- ciborium::ser::into_writer(self, &mut buf)?;
3033
- Ok(buf)
3034
3035
3036
3037
/// Get the right forms of ordinal terms for numbers.
0 commit comments