Commit graph

69 commits

Author SHA1 Message Date
Ethiraric
60f8919565 v0.0.2 2024-06-13 22:18:27 +02:00
Ethiraric
777fdaa17d Add time_parse binary to Cargo.toml. 2024-04-16 17:31:06 +02:00
Ethiraric
bdcf7f48f9 Remove yaml-rust2 dependency from tests. 2024-04-02 23:08:39 +02:00
Ethiraric
40670f3c48 Minor improvements. 2024-04-02 23:06:08 +02:00
Ethiraric
6b01b554e0 yaml-rust2 -> saphyr-parser
* Drop non-parser files
* Rename everything
* Fix tests
* Start rewriting a bit of docs
2024-04-02 17:14:06 +02:00
Ethiraric
787403daa1 Messed up the MSRV. 2024-03-30 19:39:53 +01:00
Ethiraric
c90c1ed1fb Use cargo features. 2024-03-30 19:24:54 +01:00
David Aguilar
f34c6869f1 yaml-rust2 v0.8.0 2024-03-25 22:18:38 -07:00
Ethiraric
ee92e953f1 Switch from encoding to encoding_rs.
See https://github.com/rustsec/advisory-db/issues/1605.
2024-03-24 17:14:44 +01:00
Ethiraric
a87922680c Update cargo version to 0.7. 2024-03-20 14:42:31 +01:00
David Aguilar
9764f399fb Update to quickcheck 1.0 2024-03-19 15:26:16 +01:00
Marko Mikulicic
5240918cac 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
54ca9294fa Replace linked_hash_map with hashlink 2024-03-19 15:26:16 +01:00
David Aguilar
77574b4f30 Cargo.toml: enable the Rust 2021 Edition 2024-03-19 15:26:16 +01:00
David Aguilar
5c9350e824 Cargo.toml: add myself to the authors list 2024-03-19 15:26:16 +01:00
Ethiraric
a33d0ffe68 Update to v0.6. 2024-03-15 20:14:26 +01:00
Ethiraric
289d16ab4a Prepare for benchmarks. 2024-03-15 17:34:39 +01:00
Ethiraric
e390c88077 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
e7a4f30627 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
ed591e86ca Add benchmarking tools. 2024-02-08 08:15:36 +01:00
Ethiraric
ac2d02f65e 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
2481df7f9d Update licence, readme, doc. 2024-02-08 07:12:14 +01:00
Denis Lisov
ff12dca0d2 yaml-test-suite: move to libtest-mimic 2024-01-23 00:19:04 +01:00
Ethiraric
a31d836d9c Add a release-lto cargo profile. 2023-08-17 23:16:09 +02:00
Yuheng Chen
95d0603129 Bump to v0.4.5 2021-01-03 11:57:28 -08:00
Dylan DPC
6d0561fa31 Update Cargo.toml (#162) 2020-07-10 13:44:57 +08:00
Yuheng Chen
95e1ad2dce Bump to v0.4.4 2020-06-01 21:02:16 +08:00
Anton Kochkov
a4b1bb6e9b Update quickcheck to 0.9 2020-05-27 14:25:59 +08:00
Anton Kochkov
8d26a5eca3 Remove deprecated API 2020-05-27 14:19:22 +08:00
Yuheng Chen
bd87698008 Bump to v0.4.3 2019-03-07 14:27:03 +08:00
David Tolnay
1652cf524e Release 0.4.2 2018-09-15 13:09:48 -07:00
David Tolnay
66326f23f5 Release 0.4.1 2018-09-15 12:31:11 -07:00
David Tolnay
0e1049d10c Set html_root_url 2018-09-15 12:30:27 -07:00
David Tolnay
60fdd48745 Fix docs.rs link 2018-09-15 12:25:55 -07:00
David Tolnay
dba01d9a48 Render readme on crates.io 2018-09-15 12:25:15 -07:00
David Tolnay
1f2d2aaf31 Remove commented key in Cargo.toml 2018-09-15 12:24:47 -07:00
Igor Gnatenko
39c212ba93 Update quickcheck to 0.7 2018-09-02 18:13:50 +02:00
Chen Yuheng
7035fdfb99 Update document link
Fix #94
2018-01-06 15:27:42 +08:00
Igor Gnatenko
083e7a3e8c bump quickcheck to 0.6 2018-01-01 12:33:30 +01:00
Yuheng Chen
07580aef18 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
6f0806439b Bump to 0.3.9 2017-11-22 11:02:17 +08:00
Yuheng Chen
51adc046da Bump to 0.3.8 2017-08-21 13:58:49 +08:00
Pedro Côrte-Real
78dcf0d099 Upgrade to latest linked-hash-map 2017-08-18 21:42:02 +01:00
Charlie Ozinga
5cf22a347c Version bump 2017-07-10 10:08:20 -06:00
Hendrik Sollich
3fa9a24739 quoting possible booleans
fixes #53
2017-05-22 19:32:08 +02:00
David Tolnay
dcfb2bab95 Switch from clippy dependency to cargo-clippy 2017-05-08 11:30:51 -07:00
David Tolnay
23783fdb7e Allow the newest linked-hash-map
Closes #52 and closes #55 and closes #63.
2017-05-08 11:03:03 -07:00
David Tolnay
65d3bbfdfe Remember to publish a breaking release 2017-05-08 11:02:03 -07:00
Tom Parker
61a36bfbf6 Add quickcheck to find broken exports 2017-05-08 18:37:15 +01:00
David Tolnay
8755753ed7 Merge pull request #49 from dtolnay/order
Always preserve order
2017-05-08 10:29:27 -07:00