Commit Graph

2625 Commits

Author SHA1 Message Date
Guillaume
e6ff424afa [bench] http: function parser, fix deprecated bench 2021-08-05 16:20:15 +02:00
Constantin Nickel
ea4c1bb0fa remove broken and obsolete macro examples 2021-08-05 16:18:39 +02:00
Constantin Nickel
6f1d7a50e3 fix branch/bytes/multi test imports for the alloc feature 2021-08-05 16:18:39 +02:00
Constantin Nickel
02ff562092 remove macros from issue tests 2021-08-05 16:18:39 +02:00
Constantin Nickel
71b98465fe remove macros from custom error tests 2021-08-05 16:18:39 +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
7e2f70950e remove macros from str module 2021-08-05 16:18:39 +02:00
Constantin Nickel
04ba4db00b remove macros from number module 2021-08-05 16:10:37 +02:00
Constantin Nickel
2915439b63 fix criterion's deprecation warnings for the ini benches 2021-08-05 16:08:11 +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
Geoffroy Couprie
ff95cff88e remove macros from multi module 2021-08-03 16:42:10 +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
e95faa4ee4 remove macros from branch module 2021-08-03 16:00:56 +02:00
Geoffroy Couprie
9f0f6e35c9 add imports to code examples in recipes
making sure the examples build
2021-08-03 15:04:26 +02:00
RalXYZ
41bfe9bc1b Fix typo: add "#" before "Arguments" 2021-08-03 14:23:54 +02:00
Geoffroy Couprie
11cf286290 remove regexp feature from CI builds 2021-07-25 19:13:36 +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
Guillaume
e9ba351567 bits::complete::take: Clarify usage, 0b over 0x 2021-07-07 21:53:59 +02:00
Geoffroy Couprie
4028bb3276 v7.0.0-alpha1 2021-06-24 16:53:53 +02:00
Geoffroy Couprie
b8a4049e04 mention MSRV for bitvec 2021-06-24 16:52:45 +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
Guillaume
bd10546397 bits::complete::take: documentation and test cases 2021-06-24 16:25:28 +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
4b53076b5a docs generation workaround for older rust 2021-06-23 22:28:50 +02:00
Guillaume
2754c464f1 coverage: fix issue with skip and tarpaulin 2021-06-23 22:21:20 +02:00
Guillaume
9c51ac601b docsrs: fix build 2021-06-23 22:18:12 +02:00
Geoffroy Couprie
47fb5d6836 v6.2.0 2021-06-19 15:57:42 +02:00
Geoffroy Couprie
04f0974b4f Revert "workaround for tarpaulin failures caused by nom and bitvec"
This reverts commit 0ade67d426.
2021-06-19 15:57:26 +02:00
Geoffroy Couprie
0ade67d426 workaround for tarpaulin failures caused by nom and bitvec 2021-06-19 15:50:30 +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
Arne Beer
b26c56c7b7 Fix bits::bytes example and improve code 2021-06-19 14:49:59 +02:00
Arne Beer
ef6f0e5aa1 Fix bits::bits example and add tests 2021-06-19 14:49:59 +02:00
Geoffroy Couprie
275047c368 show missing imports in map doc 2021-06-19 14:18:32 +02:00
Geoffroy Couprie
bbcc41ef24 remove trait restrictions in map_parser 2021-06-19 14:11:50 +02:00
Geoffroy Couprie
9aa8459d32 fix doc reference to nom::number::Endianness 2021-06-19 14:08:28 +02:00
Ashish Myles
6d9ee11e46 Allow fold_many_m_n to take a FnMut fold function. 2021-06-19 14:04:45 +02:00
思维
294c49c8bb Fix escaped_transform example code 2021-06-19 14:02:12 +02:00
weirane
8dd83b0c01 Fix a typo in documentation 2021-06-19 13:59:25 +02:00
Ronan Desplanques
e07dcbd544 fix IResult’s declaration in top-level documentation 2021-06-19 12:18:44 +02:00
Lewis Belcher
9bc1712e61 Fix typo "assemble then" -> "assemble them" 2021-06-19 12:17:38 +02:00
Jade
83eb2187e1 Fix typo: of both succeed -> if both succeed 2021-06-19 12:17:08 +02:00
Kornel
611a8be872 Hide duplicated content of std in the docs caused by std re-export 2021-06-19 12:16:26 +02:00
Guillaume
f5c82ebdf2 not_line_ending: clarify and test behavior (#1273) 2021-06-19 12:15:13 +02:00
Guillaume
7856d01bb7 Doc - Use function links (fix #1290) 2021-06-19 12:14:10 +02:00