900 Commits

Author SHA1 Message Date
openharmony_ci e2ce29b79a !3 告警与遗留问题文件补充
Merge pull request !3 from peizhe/master
OpenHarmony-v4.0-Beta1 OpenHarmony-v4.0-Beta2
2023-05-09 11:13:48 +00:00
peizhe a9a205467d 告警与遗留问题文件补充
Signed-off-by: peizhe <zhaipeizhe@huawei.com>
2023-05-08 15:19:45 +08:00
openharmony_ci b1fcaae094 !2 CI OAT 告警清零与README.OpenSource 中License信息整改
Merge pull request !2 from peizhe/master
2023-05-04 06:59:07 +00:00
peizhe 9551512623 CI OAT 告警清零与README.OpenSource 中License信息整改
Signed-off-by: peizhe <zhaipeizhe@huawei.com>
2023-04-28 16:36:01 +08:00
openharmony_ci 0ded1733d1 !1 [encoding_rs]Add GN Build Files and Custom Modifications to Rust Third-party Libraries
Merge pull request !1 from peizhe/master
2023-04-19 01:28:45 +00:00
peizhe e5e3c76a69 Add GN Build Files and Custom Modifications
Signed-off-by: peizhe <472708703@qq.com>
2023-04-18 18:32:32 +08:00
Henri Sivonen 2d70a38f70 Increment version number to 0.8.32. github.com/hsivonen/encoding_rs/refs/tags/v0.8.32 2023-02-01 18:21:41 +02:00
Henri Sivonen 21f07b46c1 Update README for 0.8.32. 2023-02-01 18:15:52 +02:00
Henri Sivonen b0351cca8b Update docs about C++ wrappers 2022-10-15 12:46:04 +03:00
Henri Sivonen 8895f20d70 Link to icu_normalizer instead of unic-normal 2022-10-15 12:42:10 +03:00
Henri Sivonen b3c31ad6a4 Oxford comma 2022-10-15 12:36:39 +03:00
Henri Sivonen 6204510694 Emphasis for "Note:" for consistency again 2022-10-15 12:35:26 +03:00
Henri Sivonen da6ac6f77b Emphasis for "Note:" for consistency 2022-10-15 12:34:51 +03:00
Henri Sivonen 8966edb60b Add remarks about the purpose of the output encoding concept 2022-10-15 12:23:39 +03:00
Henri Sivonen 0c63acda9b Add more clarity around the BOM in the docs
Fixes #89
2022-10-15 12:20:17 +03:00
Henri Sivonen 7e4468ca2d Try to draw more attention to the output encoding concept in docs 2022-10-15 12:01:19 +03:00
Mike Hommey 62c706a570 Remove unsafe from likely/unlikely
For some reason, it's marked as unsafe to mimic the intrinsic, but the
intrinsic appears to always have been safe: https://github.com/rust-lang/rust/commit/b778f7fa0192ac6863f3ce0ab49d9c4001bf5503
2022-08-11 10:00:42 +03:00
Mike Hommey d9942942da Use packed_simd::IntoBits instead of FromBits
As of rustc 1.59.0, all the simd intrinsics in use in the crate are
stable, but two of the types aren't, for some reason. However, if we
let type inference do its job via IntoBits, we can avoid having to
import those unstable types and leave all unstable uses for simd
purpose to packed_simd.

For consistency, we use IntoBits everywhere, rather than use FromBits as
well, which would make it necessary to figure out on which specific
configurations FromBits is used.
2022-08-11 10:00:42 +03:00
Mike Hommey 898a31fc24 Remove build script
It hasn't been useful for Firefox for a while.
2022-08-11 10:00:42 +03:00
Henri Sivonen 83fc67bfc5 Increment version number to 0.8.31. 2022-04-05 14:21:07 +03:00
Henri Sivonen 727a487ab0 Use SPDX with parentheses in metadata. 2022-04-05 14:20:31 +03:00
Henri Sivonen 5ef024cdaa Add the cargo deny clarification to the README. 2021-12-09 14:36:11 +02:00
Henri Sivonen e747be02f9 Increment the version number to 0.8.30. 2021-12-08 11:58:06 +02:00
Henri Sivonen df9cc2eaf5 Make the start of the README more informative per feedback from Lars Wirzenius. 2021-12-08 11:55:54 +02:00
Henri Sivonen 91b97a1902 Update docs and metadata for the WHATWG license change. 2021-12-08 11:48:54 +02:00
Henri Sivonen 174eabd294 Run cargo fmt 2021-12-08 10:59:44 +02:00
ede1998 50b133fa90 docs: add doc test for Encoding::for_label 2021-11-15 09:32:20 +02:00
Henri Sivonen 031e8637e2 Increment version number to 0.8.29. 2021-10-17 19:51:00 +03:00
Henri Sivonen adeeffa5fa Make the parts that use an allocator optional. 2021-10-17 19:50:35 +03:00
Alex Touchet 41dde2ae8c Fix crates.io badge 2021-09-06 10:54:42 +03:00
Luca Casonato 7e2b164e81 chore: add new labels
Ref https://github.com/whatwg/encoding/pull/211
2021-06-17 14:17:20 +03:00
Arne Janbu 9cd465716d str_latin1_up_to: Use unwrap_or_else to only call len when necessary 2021-03-15 18:16:13 +02:00
Henri Sivonen 128634434a Increment version number to 0.8.28. 2021-02-04 16:04:15 +02:00
Henri Sivonen 0a4d6ce8b3 Fix Serde support after no_std support. 2021-02-04 15:44:11 +02:00
Henri Sivonen e00988bf88 Increment version number to 0.8.27. 2021-02-04 13:33:26 +02:00
Henri Sivonen 34ec45c80e Update MSRV section and roadmap in the README. 2021-02-04 13:30:34 +02:00
Henri Sivonen 86fb957b7b Run cargo fmt. 2021-02-04 13:12:18 +02:00
Henri Sivonen f7c36cb2c1 Document the no_std support. 2021-02-04 13:11:36 +02:00
Henri Sivonen 2131cee370 Fix use of Vec in tests for simd_funcs.rs. 2021-02-04 13:07:19 +02:00
Felix M. Schütt e5ed9aee5a Make crate no_std compatible (#66)
* Make crate no_std compatible

- Use BTreeSet instead of HashSet in test, so that test can
  run on no_std
- Replace all imports of Vec and String with respective alloc types
- use core instead of std
2021-02-04 13:01:18 +02:00
Andrew Gallant ea75fefb77 ci: test simd-accel feature
This is in response to:
https://github.com/hsivonen/encoding_rs/issues/64#issuecomment-720505594
2020-11-03 10:15:23 +02:00
Henri Sivonen 1b026d491d Increment version number to 0.8.26. 2020-11-02 16:25:31 +02:00
Henri Sivonen def44a4b34 Run cargo fmt. 2020-11-02 16:22:31 +02:00
Henri Sivonen 00dac8993d Remove unused label. 2020-11-02 16:21:54 +02:00
Henri Sivonen d37917f971 Fix failures in edition 2018 migration when simd-accel is enabled.
Closes #64.
2020-11-02 16:20:43 +02:00
Henri Sivonen 3dbf4d1814 Increment version number to 0.8.25. 2020-11-02 09:50:48 +02:00
Henri Sivonen 179c5d124d Update to edition 2018. 2020-11-02 09:43:19 +02:00
Henri Sivonen 54137e21d0 Update MSRV documentation. 2020-11-02 09:36:58 +02:00
Joshua Nelson fe031de987 Remove warnings about unused loop labels 2020-11-02 09:34:11 +02:00
Joshua Nelson 97261b5516 Use MaybeUninit instead of mem::uninitialized 2020-11-02 09:34:11 +02:00