Commit graph

64 commits

Author SHA1 Message Date
Ethiraric
d618d06061 Messed up the MSRV. 2024-03-30 19:39:53 +01:00
Ethiraric
f166970a3e Use cargo features. 2024-03-30 19:24:54 +01:00
David Aguilar
b5c9eec454 yaml-rust2 v0.8.0 2024-03-25 22:18:38 -07:00
Ethiraric
eddea11e01 Switch from encoding to encoding_rs.
See https://github.com/rustsec/advisory-db/issues/1605.
2024-03-24 17:14:44 +01:00
Ethiraric
ee8a999075 Update cargo version to 0.7. 2024-03-20 14:42:31 +01:00
David Aguilar
38aaea20db Update to quickcheck 1.0 2024-03-19 15:26:16 +01:00
Marko Mikulicic
7705e87ff6 Implement load_from_bytes
Also helps in some cases with #142, when the BOM is at the beginning of
the file (common), but not in corner case where the BOM is at the start
of a document which is not the first one.

Closes: #155
2024-03-19 15:26:16 +01:00
larkbyte
e1119bb3bf Replace linked_hash_map with hashlink 2024-03-19 15:26:16 +01:00
David Aguilar
07113c6e1c Cargo.toml: enable the Rust 2021 Edition 2024-03-19 15:26:16 +01:00
David Aguilar
99fb843550 Cargo.toml: add myself to the authors list 2024-03-19 15:26:16 +01:00
Ethiraric
e4ae1d0546 Update to v0.6. 2024-03-15 20:14:26 +01:00
Ethiraric
6b27316586 Prepare for benchmarks. 2024-03-15 17:34:39 +01:00
Ethiraric
b7755e119c Remove tools from examples.
Add documentation for those tools, and make it so that `gen_large_yaml`
generates a predetermined set of files instead of outputting to its
standard output.
2024-03-14 19:20:56 +01:00
Ethiraric
765f2bb672 Replace VecDeque with ArrayDeque.
This removes all allocations in the `Scanner` code. The downside is that
the buffer is now stored in the `Scanner` structure, making it 48 bytes
larger. This however makes the code much more performant.
2024-02-13 23:10:32 +01:00
Ethiraric
36e8b06e82 Add benchmarking tools. 2024-02-08 08:15:36 +01:00
Ethiraric
6e5286c2e1 Use OR for dual licensing.
https://doc.rust-lang.org/book/ch14-02-publishing-to-crates-io.html#adding-metadata-to-a-new-crate
2024-01-23 15:20:12 +01:00
Ethiraric
eed3433841 Update licence, readme, doc. 2024-02-08 07:12:14 +01:00
Denis Lisov
a8cf1bb642 yaml-test-suite: move to libtest-mimic 2024-01-23 00:19:04 +01:00
Ethiraric
d77db591bc Add a release-lto cargo profile. 2023-08-17 23:16:09 +02:00
Yuheng Chen
bb249d9b36 Bump to v0.4.5 2021-01-03 11:57:28 -08:00
Dylan DPC
2f8b14aaaa Update Cargo.toml (#162) 2020-07-10 13:44:57 +08:00
Yuheng Chen
a833b49831 Bump to v0.4.4 2020-06-01 21:02:16 +08:00
Anton Kochkov
3cfe953325 Update quickcheck to 0.9 2020-05-27 14:25:59 +08:00
Anton Kochkov
92d775a448 Remove deprecated API 2020-05-27 14:19:22 +08:00
Yuheng Chen
508ed37d05 Bump to v0.4.3 2019-03-07 14:27:03 +08:00
David Tolnay
e73d5d0256 Release 0.4.2 2018-09-15 13:09:48 -07:00
David Tolnay
fd169229b0 Release 0.4.1 2018-09-15 12:31:11 -07:00
David Tolnay
5443ce4368 Set html_root_url 2018-09-15 12:30:27 -07:00
David Tolnay
cd4ad69696 Fix docs.rs link 2018-09-15 12:25:55 -07:00
David Tolnay
f5afa33150 Render readme on crates.io 2018-09-15 12:25:15 -07:00
David Tolnay
b30f9a0a30 Remove commented key in Cargo.toml 2018-09-15 12:24:47 -07:00
Igor Gnatenko
1577b9c224 Update quickcheck to 0.7 2018-09-02 18:13:50 +02:00
Chen Yuheng
aaf50d6c51 Update document link
Fix #94
2018-01-06 15:27:42 +08:00
Igor Gnatenko
907692cc3e bump quickcheck to 0.6 2018-01-01 12:33:30 +01:00
Yuheng Chen
f15fe186f8 Bump to 0.4.0
This version contains breaking API changes in low level event-based API:

- The EventReceiver gets ownership of events
2017-11-22 15:53:12 +08:00
Yuheng Chen
d370a2192b Bump to 0.3.9 2017-11-22 11:02:17 +08:00
Yuheng Chen
94510e7e68 Bump to 0.3.8 2017-08-21 13:58:49 +08:00
Pedro Côrte-Real
14fd2e2e2e Upgrade to latest linked-hash-map 2017-08-18 21:42:02 +01:00
Charlie Ozinga
078e1e882d Version bump 2017-07-10 10:08:20 -06:00
Hendrik Sollich
aa40cb2ffd quoting possible booleans
fixes #53
2017-05-22 19:32:08 +02:00
David Tolnay
70795865c9 Switch from clippy dependency to cargo-clippy 2017-05-08 11:30:51 -07:00
David Tolnay
d6743ab0c7 Allow the newest linked-hash-map
Closes #52 and closes #55 and closes #63.
2017-05-08 11:03:03 -07:00
David Tolnay
1618a53e08 Remember to publish a breaking release 2017-05-08 11:02:03 -07:00
Tom Parker
84ffcafbc2 Add quickcheck to find broken exports 2017-05-08 18:37:15 +01:00
David Tolnay
15ce32bee8 Merge pull request #49 from dtolnay/order
Always preserve order
2017-05-08 10:29:27 -07:00
David Tolnay
89f28185ec Bump to 0.3.5 2017-05-08 10:18:47 -07:00
David Tolnay
4243924689 Always preserve order 2017-01-27 20:59:51 -08:00
Yuheng Chen
9d4b40518a Bump to 0.3.4 2016-10-14 12:41:22 +08:00
David Tolnay
d235acc1cc Allow range of linked-hash-map versions 2016-08-29 11:39:39 -07:00
Yuheng Chen
77b90df939 Bump to 0.3.3 2016-06-01 12:14:06 +08:00