Commit Graph

2625 Commits

Author SHA1 Message Date
DavidKorczynski
6af6caa815 Fix breaking OSS-Fuzz coverage build 2021-06-19 12:12:32 +02:00
Geoffroy Couprie
8e09f0c302 prevent stack overflows when fuzzing
this is not an interesting bug for now
2021-05-09 21:37:47 +02:00
Geoffroy Couprie
38bb94e7bc wrong level for the env map 2021-04-14 10:58:13 +02:00
Geoffroy Couprie
8643b4230b send coverage to coveralls 2021-04-14 10:46:15 +02:00
Geoffroy Couprie
d1aff18e3c fix an overflowing division in the fuzz testcase 2021-03-31 09:52:53 +02:00
Geoffroy Couprie
0a499cd123 integrate the fuzz target from oss-fuzz
this will make it easier to reproduce bugs
2021-03-25 10:25:54 +01: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
ed527e72fe remove warning 2021-01-23 17:27:28 +01:00
Geoffroy Couprie
c61aa5c35e fix alloc feature condition 2021-01-23 17:27:15 +01:00
Rogier 'DocWilco' Mulhuijzen
7ab6dd165a Make documentation for delimited less confusing 2021-01-23 17:16:52 +01:00
Julian Ganz
56c0b1afed Impl std::error::Error for VerboseError
Users of rust libraries usually expect error types to implement the
`std::error::Error` trait, and many error utilities will naturally only
work with types implementing that trait. However, unless nom's custom
`Error` type, the `VerboseError` did not implement the std trait.

This change introduces an empty implementation, meaning that users will
only benefit from `Display` and `Debug` in the end.
2021-01-23 17:15:37 +01:00
jufajardini
ab01f04375 Update json.rs
Hey, I'm trying to get a better understanding of `nom` reading this example, and think the following makes sense:
- delete lines `70` and `71`, as `value` was already described (lines `64 to 66`), and this other description seemed incomplete
- change `true` to `false` in line `75`, as it makes more sense with the code that follows
2021-01-23 17:15:04 +01:00
meiomorphism
b65738715d relax bounds on many1 macro
Remove `Copy` from the bounds on the input type for `many1c`.

The corresponding bounds on `many1`,  which it delegates to, were weakened in
commit 9b1cfb003c -- perhaps accidentally, as that
commit otherwise only adds documentation.
2021-01-23 17:12:48 +01:00
meiomorphism
06efa90c46 relax bounds on eof function and macro
Relaxes the `Copy` requirement to `Clone`, to match most other combinators'
requirements.

Ameliorates #1251.
2021-01-23 17:12:48 +01:00
Nathan West
8c69398167 Add missing import, feature flag 2021-01-23 17:12:07 +01:00
Nathan West
9feb78aee8 impl Parser for Box<dyn Parser> 2021-01-23 17:12:07 +01:00
Nathan West
bcf437c6a6 Fixes to fold_many_m_n and many_m_n 2021-01-23 17:11:07 +01:00
vallentin
82309d2fa5 Fixed recipe links 2021-01-23 17:08:27 +01:00
Sacha Arbonel
4c175ef75e Update README.md 2021-01-23 17:08:03 +01:00
Geoffroy Couprie
c5090ef1e2 v6.0.1 2020-11-24 11:53:59 +01:00
Geoffroy Couprie
c31d99245c add a contributor list image 2020-11-24 11:44:52 +01:00
Geoffroy Couprie
bd1adeb8ce fmt 2020-11-24 11:29:17 +01:00
Geoffroy Couprie
36fabd7182 relax input bounds on length_count 2020-11-24 11:20:05 +01:00
Matthew Plant
e07ec9b7e7 Relax bounds on fold_many* functions to accept FnMut for accum func 2020-11-24 11:07:42 +01:00
Kaoet
f40cde5f03 Implement ErrorConvert for VerboseError 2020-11-24 10:55:42 +01:00
Fabian Kloiber
e0be4e8b25 Fix documentation feature for count 2020-11-24 10:30:51 +01:00
Pierre Chifflier
76c52af52f Fix bits and bytes functions, expecting Fn instead of FnMut (Closes #1231) 2020-11-24 10:28:23 +01:00
Geoffroy Couprie
8bb87ae3f2 convert Fn to FnMut 2020-11-24 10:27:09 +01:00
Kirill Vasiltsov
236d7dffec Remove wrong call from an example
It tries to apply the thing to source immediately when it should just return the combinator
2020-11-24 10:27:09 +01:00
Josh Holmer
b9ee869c3c Remove whitespace parsers from choosing a combinator docs
These parsers were removed in 6.0.0 and should be removed from all documentation.
2020-11-24 10:15:28 +01:00
toshokan
43be5fa071 Remove another pi char. 2020-11-24 10:14:34 +01:00
toshokan
bf8f898998 Fix typo 2020-11-24 10:14:34 +01:00
Do Duy
40440c72d3 Add prometheus parser 2020-11-24 10:14:05 +01:00
toshokan
e4ec71bf38 Add D-Bus parser to README 2020-11-24 10:12:44 +01:00
Constantin Nickel
2dd7013bd2 Remove #[deprecated] attribute from trait impl block
> Deprecation attributes have no effect on trait implementations.
2020-11-24 10:11:58 +01:00
Constantin Nickel
24f7622783 start the coverage build earlier for a faster response 2020-11-24 10:10:41 +01:00
Ilya Titkov
d67c3a2012 Fix example compilation 2020-11-24 10:07:59 +01:00
Geoffroy Couprie
e7b080877a v6.0.0 2020-10-31 22:24:56 +01:00
Geoffroy Couprie
77806c843c typo 2020-10-31 22:12:26 +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
424eb02520 update changelog 2020-10-31 18:27:28 +01:00
Geoffroy Couprie
317f5de3e5 fix documentation features 2020-10-31 18:26:19 +01:00
Geoffroy Couprie
f5671af000 remove some warnings 2020-10-31 16:58:52 +01:00
W. Brian Gourlie
8b6e309180 Re-export bitvec 2020-10-31 16:51:02 +01:00