Konrad Borowski
8be1b06d7f
Allow using take_till1! macro without having ErrorKind imported
...
Fixes #759
2018-05-19 11:41:18 +02:00
Geoffroy Couprie
ba1d6e0589
bump version to 4.0.0
2018-05-14 18:04:25 +02:00
Geoffroy Couprie
a2a66c84fe
remove unused tests
2018-05-14 13:46:31 +02:00
Geoffroy Couprie
dee4a6bf27
add badges on crates.io
2018-05-04 11:35:44 +02:00
Geoffroy Couprie
5b55b60b7e
update regex to 1.0
2018-05-02 14:47:17 +02:00
Sharad Chand
1de2b6ff56
Demonstrate issue #741
2018-04-25 11:47:10 +02:00
Geoffroy Couprie
481fdfa089
bump version to 4.0.0-beta3
2018-04-14 14:51:06 +02:00
Geoffroy Couprie
db7f90231f
Add public lib
module and use it instead of std everywhere
...
@geal: fix doctests and tests metadata to specify the correct compilation
feature
2018-04-08 21:37:17 +02:00
Geoffroy Couprie
905af4b265
update the documentation link
2018-04-08 11:57:13 +02:00
Geoffroy Couprie
700767da9f
bump version to 4.0.0-beta2
2018-03-12 11:16:00 +01:00
Geoffroy Couprie
ad106229da
remove the nightly feature
2018-02-25 16:57:55 +01:00
Geoffroy Couprie
03e169c842
bump version to 4.0.0-beta1
2018-02-17 19:30:23 +01:00
Kamil Markiewicz
ba357743de
WIP Add alloc
feature guard
2018-02-05 18:49:43 +01:00
Geoffroy Couprie
372049188a
bump version to 4.0.0-alpha2
2018-01-16 22:02:18 +01:00
Geoffroy Couprie
8532ae1a9e
remove uses of the stream feature
2017-12-03 16:38:16 +01:00
Igor Gnatenko
4370e95f42
bump lazy_static to 1.0
2017-11-30 17:42:52 +01:00
Geoffroy Couprie
649e56f8b4
bump version to 4.0.0-alpha1
...
nom 4 is still far from the release, but it can be tested now
2017-11-26 22:30:28 +01:00
Geoffroy Couprie
38830cb408
update to memchr 2.0
2017-11-25 13:21:33 +01:00
Geoffroy Couprie
1d62d99a6e
use the compile_error macro
2017-10-30 17:44:33 +01:00
Geoffroy Couprie
3dd6672997
update changelog and bump version to 3.2.1
2017-10-27 11:59:55 +02:00
Geoffroy Couprie
b05c3ed368
update changelog and bump version to 3.2.0
2017-07-24 12:28:13 +02:00
Geoffroy Couprie
2715e91038
update changelog and bump version to 3.1.0
2017-06-16 15:36:52 +02:00
Luca Barbato
887ba19dc0
Use compiler_error on nightly
2017-06-13 23:25:30 +02:00
Connor Wood
9e8ba817a2
Ability to turn off std in memchr
2017-05-24 17:54:36 +01:00
Ivan Enderlin
834d4428d8
Use memchr
in FindToken
implementation.
2017-05-15 11:11:23 +02:00
Geoffroy Couprie
78bb87eed7
update changelog and bump version to 3.0.0
2017-05-12 11:23:29 +02:00
Geoffroy Couprie
12d09015ce
prepare the future 3.0 release
2017-05-11 18:23:08 +02:00
Geoffroy Couprie
d8dde827e6
Replace the core feature by a std feature activated by default
...
compilation features are additive, so a 'core' that removes some
functionality makes no sense. To use nom in no_std environment,
the code should nom import nom and deactivate 'std'
2017-05-09 13:00:21 +02:00
Geoffroy Couprie
66128e5ccf
update changelog and bump version to 2.2.1
2017-04-03 17:33:50 +02:00
Geoffroy Couprie
efb9ba040a
update changelog and bump version to 2.2.0
2017-03-20 14:42:05 +01:00
Geoffroy Couprie
fd9674c720
update changelog and bump version to 2.1.0
2017-01-27 14:46:22 +01:00
Geoffroy Couprie
547fb779ca
upgrade regex to 0.2
2017-01-27 12:25:58 +01:00
Geoffroy Couprie
f9e0f87bed
add the CI badge
2017-01-21 11:58:35 +01:00
Jake Goulding
8b62be2aa7
Add categories to Cargo.toml
2017-01-20 11:06:40 -05:00
Geoffroy Couprie
5693afb733
update changelog and bump version
2016-12-10 12:15:25 +01:00
Geoffroy Couprie
75ad251520
deactivate for now the import from github
2016-11-25 08:48:37 +01:00
Geoffroy Couprie
18c4a2d597
bump version to 2.0
2016-11-25 08:44:25 +01:00
Geoffroy Couprie
3b0f914605
fix the bytes library version for the blockbuf example
2016-11-05 16:48:33 +01:00
Geoffroy Couprie
6f36000d78
Simple error management is now the default
2016-10-18 14:24:05 +02:00
Geoffroy Couprie
26529b4915
Example arithmetic expression parser with custom input type
...
This parser wraps the BlockBuf struct from bytes, which gives
a single buffer abstraction over a list of buffers.
This example demonstrates that nom does not necessarily needs
contiguous data, like a &[u8]. If the traits are implemented
correctly, we can walk over all the buffers transparently
2016-10-05 16:57:27 +02:00
Geoffroy Couprie
a23684e3f8
Make two versions of the error management code
...
The first one, activated by default by the "verbose-errors" feature,
can make an error chain by accumulating errors and input position
while backtracing in a parse tree, and show precise information on
which parts of the input were matched by which node in the parse
tree.
The second one will only return a simple error code. It is less
flexible, but will not keep references to the input, and it will
not put previous errors in a Box, thus reducing the code size
(less error drops) et and making the parsers faster.
On some parsers, the simpler solution got a 30% gain in performance,
returning to the speed nom had pre 1.0
2016-08-24 15:37:10 +02:00
Geoffroy Couprie
d1f4a6fe33
bump version to 1.2.4
2016-07-20 11:48:19 +02:00
Geoffroy Couprie
c4057eb844
update lazy_static to 0.2.1
2016-07-20 11:18:20 +02:00
Geoffroy Couprie
ec2c5fe5f4
Bump version to 1.2.3 and update changelog
2016-05-10 15:17:47 +02:00
Geoffroy Couprie
41f87f896a
test byte matching in regexp
2016-03-14 12:45:01 +01:00
Geoffroy Couprie
82c5c7b1c5
Bump version to 1.2.2 and update changelog
2016-03-09 11:34:34 +01:00
Geoffroy Couprie
94e303e4b7
Bump version to 1.2.1 and update changelog
2016-02-23 18:45:30 +01:00
Geoffroy Couprie
ab13eff9cb
Replace regex_macros with lazy_static
...
Since https://github.com/rust-lang-nursery/regex/pull/164 the "dynamic"
regex generated is faster than what the `regex!` macro produces.
Still, to avoid the overhead of recreating the regex everytime, we use
lazy_static to initialize it once at first use
2016-02-23 17:23:45 +01:00
Geoffroy Couprie
3719adb644
Bump version to 1.2.0 and update changelog
2016-02-08 18:15:22 +01:00
Geoffroy Couprie
6699982a76
Bump version to 1.1.0 and update changelog
2016-01-01 22:25:58 +01:00
Geoffroy Couprie
faf8c8ed59
Bump version to 1.0.1 and update changelog
2015-11-22 23:00:18 +01:00
Geoffroy Couprie
0aa495f9e8
Bump version to 1.0.0 and update CHANGELOG
...
\o/ First stable release for nom \o/
2015-11-16 13:09:25 +01:00
Geoffroy Couprie
ea8e7a7dab
Bump version to 1.0.0-beta2
2015-11-16 13:09:25 +01:00
Geoffroy Couprie
5dae73d1ec
Put the stream module behind a features
...
That feature is activated by default. Old versions of Rust will be able
to use nom by deactivating that feature
2015-11-07 15:35:10 +01:00
Geoffroy Couprie
f5589c8af3
Whitelist the files that will be packaged
2015-11-06 15:37:04 +01:00
Geoffroy Couprie
c14b4f0a88
Bump version to 1.0.0-beta
2015-10-30 14:28:44 +01:00
Geoffroy Couprie
edccc64f8a
Bump version to 1.0.0-alpha2
2015-10-27 16:18:03 +01:00
Geoffroy Couprie
b2904e3bbc
"Bump version to 1.0.0-alpha"
2015-10-26 18:02:17 +01:00
Geoffroy Couprie
469e75ddcc
update version in Cargo.toml
2015-10-16 15:55:32 +02:00
Geoffroy Couprie
5f7beb145a
Merge pull request #86 from nox/do-you-even-hyphen
...
Properly hyphenate nom's qualifiers
2015-09-08 18:19:10 +02:00
Anthony Ramine
70acbac628
Properly hyphenate nom's qualifiers
2015-09-08 18:15:45 +02:00
Geoffroy Couprie
6e9b190a55
Bump version to 0.4.0
2015-09-08 17:03:51 +02:00
Geoffroy Couprie
fdb38c0d4c
Regular expression parser
2015-09-07 23:08:14 +02:00
Geoffroy Couprie
3eff17dcee
bump to version 0.3.11 and update changelog
2015-08-04 09:15:51 +02:00
Geoffroy Couprie
a9ed82a377
only five keywords are allowed
2015-08-03 19:12:47 +02:00
Geoffroy Couprie
b27d38f483
bump to version 0.3.10 and update changelog
...
This release includes bit level parsing
2015-08-03 19:09:16 +02:00
Geoffroy Couprie
73cb4ec34a
bump version to 0.3.9 and update changelog
2015-07-20 18:02:45 +02:00
Geoffroy Couprie
eb557faaba
bump version to 0.3.8 and update changelog
2015-07-03 17:39:18 +02:00
Geoffroy Couprie
61b8366c47
enable coveralls
2015-07-01 10:32:27 +02:00
Geoffroy Couprie
a26ab8fc37
bump version to 0.3.7 and update changelog
2015-06-24 11:23:27 +02:00
Geoffroy Couprie
bb8c78d2ff
bump version to 0.3.6 and update changelog
2015-06-15 16:02:16 +02:00
Geoffroy Couprie
a9ca210915
bump version to 0.3.5 and update changelog
2015-06-10 14:59:52 +02:00
Geoffroy Couprie
f0fc50875b
Bump version to 0.3.4 and update changelog
2015-06-10 13:40:49 +02:00
Geoffroy Couprie
430d4cd8ce
Bump version to 0.3.3 and update changelog
2015-06-09 01:45:56 +02:00
Geoffroy Couprie
67eb31dd3a
Bump version to 0.3.2 and update changelog
2015-05-31 19:44:06 +02:00
Geoffroy Couprie
c97d6b1cc2
bump version to 0.3.1 and update changelog
2015-05-21 07:00:02 -07:00
Geoffroy Couprie
347962cb71
Allow no_std usage through the "core" feature
2015-05-16 20:39:39 +02:00
Geoffroy Couprie
61bf435dd0
Bump version to 0.3.0
2015-05-07 15:49:12 +02:00
Geoffroy Couprie
f4a7cef1bd
Update changelog and bump version to 0.2.2
2015-04-12 19:47:48 +02:00
Geoffroy Couprie
cce29cd1da
update changelog and bump version to 0.2.1
2015-04-04 15:28:31 +02:00
Geoffroy Couprie
13d68af346
fix keywords syntax
2015-03-24 11:24:37 +01:00
Geoffroy Couprie
16a1197ef4
Bump version to 0.2.0
2015-03-24 11:22:31 +01:00
Geoffroy Couprie
3bf97ffcc4
add more metadata to cargo
2015-03-24 08:22:12 +01:00
Geoffroy Couprie
00407f8a5d
Bump version to 0.1.6
2015-02-24 18:36:58 +01:00
Geoffroy Couprie
681e6f15fd
bump version to 0.1.5
2015-02-17 22:20:10 +01:00
Geoffroy Couprie
90cd558248
bump version to 0.1.4
2015-02-17 16:36:10 +01:00
Geoffroy Couprie
e753e519e7
bump version to 0.1.3
2015-02-16 14:56:46 +01:00
Geoffroy Couprie
ed55e6ee0e
bump version to 0.1.2
2015-02-16 14:37:18 +01:00
Geoffroy Couprie
dca1af3d08
bump version
2015-02-06 14:30:07 +01:00
Geoffroy Couprie
0518b6fc69
bump version
2015-01-29 22:20:20 +01:00
Geoffroy Couprie
4edf5218a8
bump minor version
2015-01-24 13:49:51 +01:00
Geoffroy Couprie
72f261e147
update the cargo description
2015-01-17 18:40:40 +01:00
Geoffroy Couprie
3801066559
initial import
2014-10-27 18:21:04 +01:00