-
-
Notifications
You must be signed in to change notification settings - Fork 157
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into fixes/recursive-leak
- Loading branch information
Showing
37 changed files
with
1,751 additions
and
1,621 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "chumsky" | ||
version = "1.0.0-alpha.4" | ||
version = "1.0.0-alpha.6" | ||
description = "A parser library for humans with powerful error recovery" | ||
authors = ["Joshua Barretto <[email protected]>", "Elijah Hartvigsen <[email protected]", "Jakob Wiesmore <[email protected]>"] | ||
repository = "https://github.com/zesterer/chumsky" | ||
|
@@ -59,6 +59,9 @@ regex = ["dep:regex-automata"] | |
# Enable serde serialization support | ||
serde = ["dep:serde"] | ||
|
||
# Enable dependencies only needed for generation of documentation on docs.rs | ||
docsrs = ["dep:vergen"] | ||
|
||
# An alias of all features that work with the stable compiler. | ||
# Do not use this feature, its removal is not considered a breaking change and its behaviour may change. | ||
# If you're working on chumsky and you're adding a feature that does not require nightly support, please add it to this list. | ||
|
@@ -82,7 +85,7 @@ unicode-ident = "1.0.10" | |
ariadne = "0.2" | ||
pom = "3.2" | ||
nom = "7.1" | ||
winnow = "0.5.0" | ||
winnow = "0.5.19" | ||
serde_json = { version = "1.0", features = ["preserve_order"] } | ||
ciborium = { version = "0.2" } | ||
criterion = "0.4.0" | ||
|
@@ -94,7 +97,7 @@ lasso = "0.7" | |
slotmap = "1.0" | ||
|
||
[build-dependencies] | ||
vergen = { version = "=8.1.1", features = ["git", "gitoxide"] } | ||
vergen = { version = "=8.1.1", optional = true, features = ["git", "gitoxide"] } | ||
|
||
[target.'cfg(unix)'.dev-dependencies] | ||
pprof = { version = "0.11", features = ["flamegraph", "criterion"] } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,20 @@ | ||
use std::error::Error; | ||
#[cfg(feature = "docsrs")] | ||
use vergen::EmitBuilder; | ||
|
||
fn main() -> Result<(), Box<dyn Error>> { | ||
emit_git_metadata()?; | ||
Ok(()) | ||
} | ||
|
||
#[cfg(feature = "docsrs")] | ||
fn emit_git_metadata() -> Result<(), Box<dyn Error>> { | ||
// Emit the instructions | ||
EmitBuilder::builder().all_git().emit()?; | ||
Ok(()) | ||
} | ||
|
||
#[cfg(not(feature = "docsrs"))] | ||
fn emit_git_metadata() -> Result<(), Box<dyn Error>> { | ||
Ok(()) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.