Skip to content

Commit

Permalink
bump version to 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Geal committed Nov 25, 2016
1 parent ad90462 commit 18c4a2d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

### Changed

## 2.0 - ??
## 2.0 - 2016-11-25

The 2.0 release is one of the biggest yet. It was a good opportunity to clean up some badly named combinators and fix invalid behaviours.

Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]

name = "nom"
version = "1.2.4"
version = "2.0.0"
authors = [ "[email protected]" ]
description = "A byte-oriented, zero-copy, parser combinators library"
license = "MIT"
Expand Down Expand Up @@ -34,7 +34,7 @@ version = "^0.1.56"
optional = true

[dependencies.lazy_static]
version = "^0.2.1"
version = "^0.2.2"
optional = true

[dev-dependencies.bytes]
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2015 Geoffroy Couprie
Copyright (c) 2015-2016 Geoffroy Couprie

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ nom is available on [crates.io](https://crates.io/crates/nom) and can be include

```toml
[dependencies]
nom = "^1.2.4"
nom = "^2.0"
```

Then include it in your code like this:
Expand All @@ -53,20 +53,20 @@ Then include it in your code like this:
extern crate nom;
```

**NOTE: if you have existing code using nom below the 1.0 version, please take a look at the [upgrading documentation](https://github.com/Geal/nom/wiki/Upgrading-to-nom-1.0) to
handle the breaking changes.**
**NOTE: if you have existing code using nom below the 2.0 version, please take a look at the [upgrade documentation](https://github.com/Geal/nom/blob/master/doc/upgrading_to_nom_2.md) to handle the breaking changes.**

There are a few compilation features:

* `core`: enables `no_std` builds
* `regexp`: enables regular expression parsers with the `regex` crate
* `regexp_macros`: enables regular expression parsers with the `regex` and `regex_macros` crates. Regular expressions can be defined at compile time, but it requires a nightly version of rustc
* `verbose-errors`: accumulate error codes and input positions as you backtrack through the parser tree. This gives you precise information about which part of the parser was affected by which part of the input

You can activate those features like this:

```toml
[dependencies.nom]
version = "^1.2.3"
version = "^2.0"
features = ["regexp"]
```

Expand Down

0 comments on commit 18c4a2d

Please sign in to comment.