Commit graph

  • 42a4aa941b
    Add unicode feature to switch between regex and regex-lite dep master LoveSy 2024-07-26 13:18:22 +08:00
  • 0335bfb733 Bump to version 2.0.0 Adam Crume 2023-05-20 20:25:43 -07:00
  • f71c7d472f Fix lints Adam Crume 2023-05-19 21:03:55 -07:00
  • 275bc3e40e Enable extra compiler checks Adam Crume 2023-05-19 21:00:03 -07:00
  • 2a61e66c01 Add git pre-commit hook and format the code Adam Crume 2023-05-19 20:56:49 -07:00
  • 1fbcd1e8fd Use a single decoder for the entire input stream Adam Crume 2023-05-18 20:53:32 -07:00
  • 1a6c1d4453 Switch from encoding to encoding_rs Adam Crume 2023-05-17 20:03:53 -07:00
  • fb2473e264 Bump to version 1.4.1 Adam Crume 2022-03-09 19:21:40 -08:00
  • 2f0b33ba5c
    Merge pull request #6 from Dylan-DPC/patch-1 Adam Crume 2022-03-09 19:20:22 -08:00
  • 02f2aa52e6
    Update Cargo.toml Dylan DPC 2022-03-09 08:02:53 +01:00
  • 002c8e5bd1 Bump to version 1.4.0 Adam Crume 2021-07-09 16:12:36 -07:00
  • b073d8d7e1 Fix Clippy lints Adam Crume 2021-07-05 11:44:44 -07:00
  • 71045916ab
    Merge pull request #4 from kenkoooo/fix/send_sync Adam Crume 2021-07-05 10:12:30 -07:00
  • a8caf21e72 fix: Add Send and Sync to the error type kenkoooo 2021-07-02 15:39:47 +09:00
  • 9514702c2f Bump to version 1.3.0 Adam Crume 2020-10-25 15:01:21 -07:00
  • b15259cc62 Add support for different encoding when writing Adam Crume 2020-10-25 14:51:41 -07:00
  • 0f674b84fd Clean up code Adam Crume 2020-10-25 14:33:42 -07:00
  • bd07b61acf Implement Error::source for PropertiesError Adam Crume 2020-10-25 14:29:58 -07:00
  • 213423872a Bump to version 1.2.0 Adam Crume 2019-02-23 19:24:28 -08:00
  • e4d80ab901 Upgrade to 2018 edition Adam Crume 2019-02-23 19:12:40 -08:00
  • 59d3df3542 Derive Hash and Clone where appropriate Adam Crume 2019-02-23 19:03:30 -08:00
  • bc420892fe
    Merge pull request #2 from mitsuhiko/feature/update-deps Adam Crume 2019-02-23 18:56:35 -08:00
  • f2e1d79ff3 Update regex dependency Armin Ronacher 2019-02-22 13:56:15 +01:00
  • 5e09afbe7b Bump to version 1.1.1 Adam Crume 2018-03-31 15:50:13 -07:00
  • a0874d8226 Fix trailing whitespace bug and add tests Adam Crume 2017-09-06 19:02:44 -07:00
  • 31c854b710 Use simple example in README.md Adam Crume 2017-09-04 09:52:28 -07:00
  • f90ff1d60e Change example to use ? instead of try! Adam Crume 2017-05-02 20:40:56 -07:00
  • b480a39679 Bump to version 1.1.0 Adam Crume 2017-05-02 20:31:53 -07:00
  • 0598734f5a Update dependency versions Adam Crume 2017-05-02 20:31:34 -07:00
  • f469bca51f Propagate errors from encoding Adam Crume 2017-05-02 20:14:05 -07:00
  • 5596cdbb1c Merge pull request #1 from squidpickles/master Adam Crume 2017-05-02 19:49:00 -07:00
  • 41bea1a3d3 Use 'static lifetime for Encoding reference Kevin Rauwolf 2017-05-01 20:18:27 -07:00
  • ef3ea6ab0b Added note about encoding and Java spec to new_with_encoding Kevin Rauwolf 2017-04-25 10:30:10 -07:00
  • 4a1b62053e Decode now takes &[u8], per @adamcrume's suggestion Kevin Rauwolf 2017-04-25 10:12:06 -07:00
  • 567f1fe534 Added support for different character encodings on read Kevin Rauwolf 2017-04-20 23:17:30 -07:00
  • c7e726ebc2 Update version to 1.0.0 Adam Crume 2016-10-08 20:56:59 -07:00
  • 27d3cd2473 Add convenience read and write functions Adam Crume 2016-10-08 20:31:20 -07:00
  • e115c892bb Add documentation link to Cargo.toml Adam Crume 2016-10-08 18:53:16 -07:00
  • 333d2234ab Implement common traits Adam Crume 2016-10-06 20:50:03 -07:00
  • 1ed42c446e Add comments to LineEnding Adam Crume 2016-10-06 19:33:33 -07:00
  • 782a6b905c Fix escaping hashes and exclamation marks Adam Crume 2016-10-05 20:16:33 -07:00
  • 2838bb10df Update version to 0.2.0 Adam Crume 2016-04-07 22:06:43 -07:00
  • 1f233d59fb Support custom line endings Adam Crume 2016-04-07 21:47:09 -07:00
  • cb86cd59e1 Support custom key/value separators Adam Crume 2016-04-07 21:30:59 -07:00
  • b90d176073 Support custom comment prefixes Adam Crume 2016-04-07 20:47:22 -07:00
  • fbfc0a87d9 Set Emacs indent settings Adam Crume 2016-04-07 20:46:24 -07:00
  • 8ea23e6363 Fix whitespace settings in .gitattributes Adam Crume 2016-04-07 20:38:01 -07:00
  • 0a0d679447 Use more flexible dependency versions Adam Crume 2016-02-05 18:34:47 -08:00
  • e677e6f6ab Add metadata Adam Crume 2016-01-28 19:33:14 -08:00
  • 9b202ca8ec Add README.md Adam Crume 2016-01-28 18:46:14 -08:00
  • 89ef4eca03 Add LICENSE Adam Crume 2016-01-28 18:32:53 -08:00
  • 9b7c864307 Add .gitattributes Adam Crume 2016-01-28 18:11:28 -08:00
  • f128261fbc Use BufReader and BufWriter in example Adam Crume 2016-01-18 12:36:22 -08:00
  • ce05475696 Add docs Adam Crume 2016-01-17 17:44:55 -08:00
  • bace761d26 Print line number in PropetiesError::fmt Adam Crume 2016-01-17 17:10:16 -08:00
  • c96978ecc1 Add PropertiesError::line_number Adam Crume 2016-01-17 16:53:40 -08:00
  • a58537ff1c Add crate-level docs Adam Crume 2016-01-17 15:58:21 -08:00
  • 3fd666dcb8 Add PropertiesIter::read_into Adam Crume 2016-01-17 15:56:42 -08:00
  • 730d0b0098 Add Line::consume_content Adam Crume 2016-01-17 15:56:11 -08:00
  • f3966700f0 Implement From<io::Error> for PropertiesError Adam Crume 2016-01-17 15:51:47 -08:00
  • 26339b18b0 Switch back to tuple enum variants for LineContent Adam Crume 2016-01-17 12:57:44 -08:00
  • 7301ab85e8 Fix PropertiesError::cause Adam Crume 2016-01-16 21:30:24 -08:00
  • 2c2eed9b1c Add PropertiesWriter::flush Adam Crume 2016-01-16 21:17:15 -08:00
  • 7c63b99d41 Add PropertiesWriter Adam Crume 2016-01-16 21:15:08 -08:00
  • 2d35945607 Remove extraneous comment Adam Crume 2016-01-16 19:38:21 -08:00
  • 00e755c4a1 Reorganize Line Adam Crume 2016-01-16 18:19:47 -08:00
  • 0a9bc8df46 Add PropertiesIter Adam Crume 2016-01-16 17:38:42 -08:00
  • bedc67b1e7 Return line number from LogicalLines::next Adam Crume 2016-01-16 17:17:19 -08:00
  • 491bbb5b95 Return line number from NaturalLines::next Adam Crume 2016-01-16 17:10:20 -08:00
  • ab532d5e10 Add unescape function Adam Crume 2016-01-16 16:20:02 -08:00
  • 164b8a7387 Remove is_whitespace Adam Crume 2016-01-16 15:28:55 -08:00
  • aca94e9829 Fix comment/line-joining bug Adam Crume 2016-01-16 15:26:51 -08:00
  • 16943d4c6a Clean up parse_line Adam Crume 2016-01-16 14:52:27 -08:00
  • 26b58d3955 Use regex for parsing and get rid of trim_unescaped_whitespace Adam Crume 2016-01-16 14:41:29 -08:00
  • 801b1c6e94 Parse comments Adam Crume 2016-01-16 13:59:42 -08:00
  • f4b7e2c049 Add top-level comment. Adam Crume 2016-01-16 13:45:32 -08:00
  • a807dea818 Fix parsing of "a b:c" Adam Crume 2016-01-16 13:43:05 -08:00
  • c651e43903 Add some multi-byte character tests Adam Crume 2016-01-15 22:02:29 -08:00
  • a269888193 Add trim_unescaped_whitespace Adam Crume 2016-01-15 21:57:03 -08:00
  • f295fd972f Add split_line Adam Crume 2016-01-15 21:09:56 -08:00
  • 4edd58907d Fix line continuation whitespace bug Adam Crume 2016-01-15 20:21:39 -08:00
  • 64a57d3c7c Fix warnings Adam Crume 2016-01-15 19:35:57 -08:00
  • 7ac57fda23 Remove extraneous comment Adam Crume 2016-01-15 19:32:37 -08:00
  • 020c69c1f3 Initial commit Adam Crume 2016-01-15 19:29:18 -08:00