Commit Graph

109 Commits

Author SHA1 Message Date
dylni 86c56812b6 Fix incorrect UTF-8 detection 2022-11-20 21:14:10 -05:00
dylni 4e25e30302 Minor improvements 2022-11-20 21:12:41 -05:00
dylni c2466ab4cc Avoid unnecessary conversions 2022-11-10 20:23:52 -05:00
dylni 46d865dfff Implement Clone for EncodingError 2022-11-10 19:44:22 -05:00
dylni 7b61cf518d Minor improvements 2022-11-10 19:38:21 -05:00
Sean Cross 2512525242 os: add support for xous
Add support for riscv32imac-unknown-xous-elf.

The entire system is based on UTF-8. The `OsStrExt` and `OsStringExt`
modules provide identical implementations to unix and wasi.

Signed-off-by: Sean Cross <sean@xobs.io>
2022-10-25 15:59:21 +08:00
dylni 939ed66a25 Minor improvements 2022-09-22 21:52:13 -04:00
dylni 07aecf61bc Deprecate missing the "checked_conversions" feature 2022-08-13 22:20:45 -04:00
dylni 43d15b8fbf Add more checked conversions 2022-08-13 22:09:47 -04:00
dylni a7d49a1aaa Add more string methods 2022-08-13 22:01:02 -04:00
dylni 23d419d03e Minor improvements 2022-08-13 21:50:14 -04:00
dylni f21f38d3b6 Add Box conversions 2022-07-16 17:46:06 -04:00
dylni 3633b0393a Update documentation 2022-07-16 17:23:57 -04:00
dylni 4729a35230 Minor improvements 2022-07-16 17:13:25 -04:00
dylni 354a488fa3 Support wasm64 targets 2022-07-16 16:57:19 -04:00
dylni a2ede23976 Increase MSRV to 1.57.0 2022-06-18 10:17:00 -04:00
Tomoaki Kawada 1d4313b4bb Support *-kmc-solid_* targets
<https://doc.rust-lang.org/1.61.0/rustc/platform-support/kmc-solid.html>
2022-05-25 11:40:27 +09:00
dylni 8122fb1c71 Minor improvements 2022-05-14 13:11:17 -04:00
dylni ad2e0827f5 Fix new warnings 2022-05-13 08:00:25 -04:00
dylni 9ccca6aadb Increase MSRV to 1.52.0 2021-11-27 12:43:39 -05:00
dylni f45f877c04 Remove deprecated implementation 2021-11-27 12:35:09 -05:00
dylni c70fe3e128 Remove crate name from error message 2021-11-27 12:25:40 -05:00
dylni 3269871807 Minor improvements 2021-10-23 22:48:57 -04:00
dylni fe30b556eb Improve iterator size bounds 2021-10-23 22:28:12 -04:00
dylni 299b65f580 Deprecate byte patterns 2021-10-23 22:12:29 -04:00
dylni 7a2b75b4c8 Minor improvements 2021-10-23 21:49:04 -04:00
dylni f40c245d0f Use new features of "print_bytes" 2021-10-02 12:35:38 -04:00
dylni 933cecfd39 Revert "Remove private macros from documentation"
This reverts commit 033dc0123e.

This regression has been fixed:
https://github.com/rust-lang/rust/pull/88456
2021-09-06 14:36:58 -04:00
dylni beaf7685cc Use new features of "uniquote" 2021-09-06 14:20:38 -04:00
dylni e0cfb12a4c Fix missed error case 2021-09-06 13:54:08 -04:00
dylni 3c00578982 Minor improvements 2021-09-06 13:49:13 -04:00
dylni 90689ad91b Improve documentation 2021-09-06 13:37:02 -04:00
dylni 91f720f6b0 Treat "wasm32-unknown-emscripten" as Unix 2021-09-06 12:31:33 -04:00
dylni 44a26fa3f2 Add "memchr" as an optional dependency 2021-09-06 12:25:48 -04:00
dylni b8b73ff470 Improve Debug implementations 2021-09-06 11:56:15 -04:00
dylni 033dc0123e Remove private macros from documentation 2021-08-29 00:13:58 -04:00
dylni f849b52477 Fix panic message 2021-08-28 23:17:12 -04:00
dylni 90920c1d47 Minor improvements 2021-08-28 22:58:22 -04:00
dylni 9633da0e24 Make [RawOsStr::from_raw_bytes_unchecked] safe
This crate does not make unsafe assumptions about the stored bytes.
2021-08-28 22:53:59 -04:00
dylni d3d5d38953 Add [RawOsStr::split] 2021-08-28 22:49:19 -04:00
dylni e26e3bfd15 Adjust [Pattern] implementation 2021-08-28 22:32:44 -04:00
dylni 957e535605 Add indexing methods 2021-08-28 22:25:59 -04:00
dylni 62fde808ed Minor improvements 2021-08-22 17:26:38 -04:00
dylni 1ca6962ac9 Test all feature combinations 2021-08-21 16:45:04 -04:00
dylni b784e9b8c2 Improve documentation 2021-08-21 13:27:09 -04:00
dylni 768e9a7187 Remove [is_prefix_of] and [is_suffix_of]
These methods can be replaced with
[RawOsStr::from_str(pat).starts_with_os(self)]
and
[RawOsStr::from_str(pat).ends_with_os(self)].
2021-08-21 12:43:18 -04:00
dylni f436c4b901 Implement traits from other crates 2021-08-15 18:52:11 -04:00
dylni 0ededea0b5 Replace "raw" feature with "raw_os_str" 2021-08-15 18:05:59 -04:00
dylni 736cf24d59 Add [RawOsStr] and [RawOsString] wrappers 2021-08-15 12:15:23 -04:00
dylni 80ea02cf13 Increase MSRV to 1.51.0 2021-08-14 21:58:19 -04:00