Commit Graph

198 Commits

Author SHA1 Message Date
Geoffroy Couprie
869f8972a4 v7.1.3 2023-01-15 22:05:17 +01:00
Geoffroy Couprie
6be62d30d7
v7.1.2 (#1605) 2023-01-01 18:31:27 +01:00
Geoffroy Couprie
9cff115667
Ensure all examples compile (#1604)
* docs: Remove unused example

* docs: Ensure all examples compile

Co-authored-by: Ed Page <eopage@gmail.com>
2022-12-30 16:29:22 +01:00
Geoffroy Couprie
294ffb3d9e v7.1.1 2022-03-14 23:34:12 +01:00
Constantin Nickel
eaddf7a52e Remove version check for i128 functions 2022-03-14 22:42:09 +01:00
Xiretza
c19f9392c8 Cargo.toml: specify minimum rust version
This field causes cargo to automatically verify that a recent enough
rustc version is being used. For cargo versions before 1.56, adding this
option creates a build warning - from [0]:

> The first version of Cargo that supports this field was released with Rust
> 1.56.0. In older releases, the field will be ignored, and Cargo will display
> a warning.

[0]: https://doc.rust-lang.org/cargo/reference/manifest.html#the-rust-version-field
2022-03-14 22:21:03 +01:00
pxeger
7f2531df64 update links pointing to master -> main 2022-03-14 22:12:11 +01:00
Geoffroy Couprie
b6f79c4d37 v7.1.0 2021-11-04 22:10:06 +01:00
homersimpsons
0d65b54549 Remove blockbuf-arithmetic test from Cargo.toml 2021-10-23 22:28:41 +02:00
Geoffroy Couprie
42102c589b move benchmarks to a subcrate
this moves the jemallocator and criterion dependencies to that crate,
which will prevent further issues with MSRV in dependencies, and removes
75 dependencies from test builds
2021-10-23 10:56:08 +02:00
Antoine PLASKOWSKI
d15a2669a8 Remove jemalloc for test 2021-10-23 09:41:41 +02:00
Daniel Néri
db9d5f814c Replace deprecated "use_std" memchr feature with "std"
The "use_std" feature is deprecated since memchr v2.3.0.
2021-10-21 23:19:28 +02:00
Alex Huszagh
c80828897f Increment minimal-lexical version. 2021-09-25 16:35:41 +02:00
Constantin Nickel
6ecee46e4c Re-enable the iterator example
Apply the current code formatting
2021-09-25 16:21:31 +02:00
Antoine PLASKOWSKI
615e6a441e minimal-lexical now import with no default feature 2021-08-26 09:21:44 +02:00
Geoffroy Couprie
9678b061d3 v7.0.0 2021-08-21 13:03:47 +02:00
Geoffroy Couprie
9ccdc35752 remove .travis.yml 2021-08-21 12:16:25 +02:00
Geoffroy Couprie
e2a0dd52e0 v7.0.0-alpha3 2021-08-18 19:04:14 +02:00
Geoffroy Couprie
baf5e015b9 replace lexical-core with minimal-lexical
minimal-lexical is a smaller library (compile faster), has no
dependencies, and is faster than lexical-core 0.7 (0.8 will have the
same algorithm).

It requires a separate tokenization phase, done manually, but this will
give more flexibility in supporting different syntaxes

This commit removes the "lexical" feature, as there is no need now
tosupport a separate version without the crate
2021-08-18 00:05:47 +02:00
Geoffroy Couprie
45d11216db proptest should be a dev dependency 2021-08-17 16:43:24 +02:00
Geoffroy Couprie
018cd45966 add text to number parsers
these parsers convert directly to numbers from text decimal
representation. If the parsed number gets to large for the target type,
the parser will fail

this commit also introduces testing through proptest, to make sure that
those parsers are functionally equivalent to digit1 then calling
.parse() on it
2021-08-17 16:37:38 +02:00
Geoffroy Couprie
43c62fd0be compile on 1.41.1 without lexical
lexical is now integrating a version of bitflags that is incompatible
with Rust 1.41.1
2021-08-13 12:57:17 +02:00
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