Commit Graph

176 Commits

Author SHA1 Message Date
Geoffroy Couprie
caa9d4e628 fix the bitflags version for lexical-core
bitflags 1.3 (released yesterday) introduces some const fn usage
incompatible with Rust 1.41.1
2021-08-13 11:46:07 +02:00
Geoffroy Couprie
0abf07b10b v7.0.0-alpha2 2021-08-06 14:09:35 +02:00
Constantin Nickel
9601840a2b remove named_args macro and its tests 2021-08-05 16:18:39 +02:00
Constantin Nickel
f54616848f remove macro related tests for previous issues
The type-inference tests for macros are no longer needed.
2021-08-05 16:18:39 +02:00
Constantin Nickel
c8660329d8 replace the macros in the ini benches with functions
- ini_complete is obsolete since nom 5
- removed the copied tests from tests/ini*
2021-08-05 16:08:11 +02:00
Constantin Nickel
f8661f3330 replace macros in tests with functions
The deleted tests/test1.rs didn't contain any additional tests and was
depending on an old `stream` feature. It should be covered by the
doctests of the used functions.
2021-08-03 16:15:12 +02:00
Geoffroy Couprie
82242eb184 remove regular expression parsers
the regex crate has caused some dependencies issues, that were solved.
To avoid further issues, regular expression parsers were split in the
nom-regex crate
2021-07-25 18:15:30 +02:00
Geoffroy Couprie
a59ff75e23 remove the bitvec input type
bitvec integration has caused some dependency issues, that were solved,
but still raises the minimum rust version significantly, which will be
problematic for some distributions like Debian.

The input traits implementations for bitvec types have been moved to the
nom-bitvec crate, so we can keep the functionality without affecting
basic nom usage
2021-07-25 17:57:23 +02:00
Geoffroy Couprie
4028bb3276 v7.0.0-alpha1 2021-06-24 16:53:53 +02:00
myrrlyn
03a1025a5d Sorry about the mess 2021-06-24 16:46:11 +02:00
YOSHIOKA Takuma
59fb86a87d Bump lexical-core dependency
Fixes #1298.
2021-06-24 16:27:02 +02:00
Geoffroy Couprie
eb4c4b8497 raise the memchr version
breaking change: this raises the MSRV to Rust 1.41.1
2021-06-24 16:17:07 +02:00
Dirkjan Ochtman
550e2e68bc Remove bitvec from default features 2021-06-24 16:11:38 +02:00
Geoffroy Couprie
b7b7edb401 v6.2.1 2021-06-23 22:41:18 +02:00
Geoffroy Couprie
47fb5d6836 v6.2.0 2021-06-19 15:57:42 +02:00
Geoffroy Couprie
35086f58c7 larger version bound 2021-06-19 15:37:44 +02:00
Geoffroy Couprie
cc0d3af008 limit memchr version to keep MSRV at 1.37 with reduced features 2021-06-19 15:35:35 +02:00
Geoffroy Couprie
0b92df971a v6.1.2 2021-02-15 10:42:40 +01:00
Geoffroy Couprie
153f857290 the restriction does not work if funty always stays optional 2021-02-15 10:41:22 +01:00
Geoffroy Couprie
63880de936 v6.1.1 2021-02-15 10:00:01 +01:00
Constantin Nickel
dba1e0a993 Restrict the bitvec->funty dependency to <=1.1
bitvec depends on `funty` 1.0 but bitvec 0.19.x is incompatible with `funty` 1.2
2021-02-15 09:59:07 +01:00
Geoffroy Couprie
28d18a6503 v6.1.0 2021-01-23 17:34:52 +01:00
Geoffroy Couprie
c5090ef1e2 v6.0.1 2020-11-24 11:53:59 +01:00
Geoffroy Couprie
e7b080877a v6.0.0 2020-10-31 22:24:56 +01:00
Geoffroy Couprie
d20dd2165f v6.0.0-beta5 2020-10-31 18:35:47 +01:00
Geoffroy Couprie
2c2d889326 include the recipes module in the crate 2020-10-31 18:35:25 +01:00
Geoffroy Couprie
e8ea650990 v6.0.0-beta4 2020-10-31 18:28:42 +01:00
Geoffroy Couprie
fbccf2762f v6.0.0-beta3 2020-10-25 17:02:50 +01:00
Geoffroy Couprie
2ff49f38e0 v6.0.0-beta2 2020-10-24 11:51:56 +02:00
Geoffroy Couprie
032a097ecf document which cargo features are required for some combinators 2020-10-17 16:42:46 +02:00
Geoffroy Couprie
1dcf816ed5 v6.0.0-beta1 2020-10-17 16:03:58 +02:00
Geoffroy Couprie
8a4efe51e3 the regexp_macros is not used anymore
fix the issues related unit tests that were not compiled anymore
2020-10-11 16:12:42 +02:00
Geoffroy Couprie
eb0ccc9385 v6.0.0-alpha3 2020-10-04 18:13:56 +02:00
Geoffroy Couprie
c22d049bcd bitvec 0.19.3 has the offset functions now 2020-10-04 18:10:03 +02:00
Geoffroy Couprie
c806cc85fa point to a bitvec branch for now
the currently published crate is missing the offset functions on
BitSlice
2020-09-27 16:15:31 +02:00
myrrlyn
5b427b2268 Add bitvec and implement support for it
The trait implementations permit `bitvec` types to be used directly
within the `bytes` parsers, as demonstrated by the `tests/bitstream`
module using `bytes::tag` to process a bitstream.

This unification allows the removal of the `bits` module in favor of
ordinary combinators written to be generic over a consumable input
type.
2020-09-26 14:51:00 +02:00
Geoffroy Couprie
f4e11bcf23 v6.0.0-alpha2 2020-09-26 14:48:52 +02:00
Pierre Chifflier
47fdc2dd94 Add README.md to included files 2020-06-12 11:20:45 +02:00
Geoffroy Couprie
b889d7c7e1 v6.0.0-alpha1 2020-04-10 18:51:18 +02:00
Geoffroy Couprie
42cd421cc9 the fnmut test requires the alloc feature 2020-04-10 16:24:29 +02:00
Geoffroy Couprie
5475677823 test FnMut usage 2020-04-10 16:01:53 +02:00
Sebastian Zivota
bf86074545 Regex parsers always own their regexes 2020-04-08 10:59:54 +02:00
Geoffroy Couprie
06710523db add a benchmark for binary number parsers 2020-04-06 15:46:02 +02:00
Geoffroy Couprie
84b76730b0 update criterion 2020-04-06 15:13:42 +02:00
Razican
96e0b0a08b Upgraded jemallocator dependency. 2020-04-06 14:51:36 +02:00
Jake Goulding
e73a4d4025 Allow lexical-core 0.7 2020-04-06 14:11:07 +02:00
Geoffroy Couprie
b1d3950dfa bump version to 5.1.1 2020-02-24 15:09:45 +01:00
Nathan West
ffb4c6493c Added example for an escaped string parser 2020-02-24 11:55:21 +01:00
Igor Gnatenko
ed6274ac59 chore: Update version_check to 0.9
Also simplify build.rs.

Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2020-02-24 11:37:26 +01:00
Alex Huszagh
2a199032f8 Update lexical-core version to "^0.6".
Patches:
- #1100
- #1080
- #1066
- And a few upstream issues.
2020-02-24 10:57:35 +01:00