5446fe2c50
cli-1.0.0
2025-03-21 18:26:17 +01:00
3b907e872c
2.1.0
2025-03-21 18:23:56 +01:00
0f16c73069
cleanup
2025-03-21 18:22:58 +01:00
26b002451a
update lockfile
2025-03-21 18:20:49 +01:00
e5233960a4
Merge pull request #7 from JDepooter/handle_crlf_input
...
Handle carriage returns in source JSON whitespace
2025-03-21 18:19:47 +01:00
Joel Depooter
ea61aa745a
Handle carriage returns in source JSON whitespace
...
Previously any carriage return (\r) bytes in the JSON whitespace were not ignored. Instead they were included in the formatted output. This led to very bad formatting, as the indentation would include the carriage return.
With this change, carriage returns are handled the same way that newlines are: they are ignored in the source JSON whitespace.
It might be better to detect if the source JSON is using Windows (\r\n) newlines, and preserve that on the output. However, that is a much bigger change. For now I think it is sufficient to simply produce necely formatted output which uses only \n newlines.
2025-02-25 11:35:11 -08:00
5840f65ea0
Update README.md
2023-09-22 22:00:45 +02:00
afb7519746
add bench to include
2022-04-28 21:21:45 +02:00
c38c322a48
prepare for release 2
2022-04-28 21:19:17 +02:00
9ca41bf08b
prepare for release
2022-04-28 21:16:43 +02:00
c044602972
binary cleanup
2022-04-28 21:09:50 +02:00
32f901406b
binary cleanup
2022-04-28 20:51:56 +02:00
6ba29e54e0
cleanup
2022-04-28 20:35:33 +02:00
d3d9bb8a00
make separate binary crate
2022-04-28 19:56:10 +02:00
724def5467
Update Cargo.toml
2021-09-04 17:15:42 +02:00
09296ec526
Merge pull request #4 from Kryptos-FR/buffered
...
Refactor using a buffer for reading and a buffer for writing
2021-09-04 17:07:16 +02:00
Nicolas Musset
0d24310cbf
On-stack dynamic dispatch to avoid boxing
2021-08-26 22:08:28 +09:00
Nicolas Musset
2a87a54b8a
No need to use crate utf8-chars, we can read/write at the byte level
2021-08-22 12:01:30 +09:00
Nicolas Musset
9e81e67551
Format code with rustfmt
2021-08-22 11:53:55 +09:00
Nicolas Musset
2dc937bba8
Refactor using a buffer for reading and a buffer for writing
2021-08-19 13:40:10 +09:00
e1653da51b
Update README.md
2021-08-18 22:23:08 +02:00
e494ce933e
clap hotfix
2021-08-18 19:24:12 +02:00
ed052dd70a
change the api
2021-08-18 19:16:16 +02:00
4df1c18504
ready for publishing
2021-08-18 19:01:57 +02:00
b254431128
added #3 support drag and drop in windows
2021-07-18 11:56:01 +02:00
3db3d1996e
add new test
2021-07-18 11:54:17 +02:00
73c23ee1c9
Merge remote-tracking branch 'origin/master'
2021-07-18 11:00:32 +02:00
8a1da052bf
fix #2 indentation_level underflow
2021-07-18 11:00:21 +02:00
5eed9d0815
typo in readme
2021-07-17 23:42:37 +02:00
7065de15e4
Update README.md
2021-07-17 23:37:34 +02:00
bbc8c620d2
Merge remote-tracking branch 'origin/master'
2021-07-17 23:30:11 +02:00
b40d4a2d6e
Merge pull request #1 from Nilstrieb/add-license-1
...
Create LICENSE
2021-07-17 23:25:54 +02:00
15f3a4b8a6
Create LICENSE
2021-07-17 23:25:44 +02:00