From f3f1f5a46284bd4ee434af8e8471d038f691c2dd Mon Sep 17 00:00:00 2001 From: tison Date: Wed, 24 Dec 2025 17:26:26 +0800 Subject: [PATCH 1/2] build!: remove unused spin and feature flag Signed-off-by: tison --- Cargo.lock | 7 ------- Cargo.toml | 10 +++------- 2 files changed, 3 insertions(+), 14 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 8fdb991c..95e46c5c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -229,7 +229,6 @@ dependencies = [ "serde_json", "slotmap", "sn", - "spin", "stacker", "unicode-ident", "unicode-segmentation", @@ -1502,12 +1501,6 @@ version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6fab6ae84ee9505d8786b19c3a1c68e70431d8465a835d4c59dd4a843884647b" -[[package]] -name = "spin" -version = "0.9.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67" - [[package]] name = "stable_deref_trait" version = "1.2.1" diff --git a/Cargo.toml b/Cargo.toml index 921b4d2b..d34c899f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -35,10 +35,6 @@ memoization = [] # Allows extending chumsky by writing your own parser implementations. extension = [] -# Make builtin parsers such as `Boxed` use atomic instead of non-atomic internals. -# TODO: Remove or rework this -sync = ["spin"] - # Enable Pratt parsing combinator pratt = ["unstable"] @@ -68,8 +64,9 @@ docsrs = [] # 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. -_test_stable = ["std", "stacker", "memoization", "extension", "sync"] +# If you're working on chumsky, and you're adding a feature that does not require nightly support, +# please add it to this list. +_test_stable = ["std", "stacker", "memoization", "extension"] [package.metadata.docs.rs] all-features = true @@ -79,7 +76,6 @@ rustdoc-args = ["--cfg", "docsrs"] hashbrown = "0.15" stacker = { version = "0.1", optional = true } regex-automata = { version = "0.3", default-features = false, optional = true, features = ["alloc", "meta", "perf", "unicode", "nfa", "dfa", "hybrid"] } -spin = { version = "0.9", features = ["once"], default-features = false, optional = true } lexical = { version = "6.1.1", default-features = false, features = ["parse-integers", "parse-floats", "format"], optional = true } either = { version = "1.8.1", optional = true } serde = { version = "1.0", default-features = false, optional = true, features = ["derive"] } From f78bca0c8cc2fc1ea1aada89fc32c1351fb1d66f Mon Sep 17 00:00:00 2001 From: tison Date: Wed, 31 Dec 2025 11:04:48 +0800 Subject: [PATCH 2/2] bump major version Signed-off-by: tison --- Cargo.lock | 2 +- Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 95e46c5c..e485304d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -206,7 +206,7 @@ checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801" [[package]] name = "chumsky" -version = "0.12.0" +version = "0.13.0" dependencies = [ "ariadne", "bytes", diff --git a/Cargo.toml b/Cargo.toml index d34c899f..73cd050a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "chumsky" -version = "0.12.0" +version = "0.13.0" description = "A parser library for humans with powerful error recovery" authors = ["Joshua Barretto ", "Elijah Hartvigsen "] repository = "https://github.com/zesterer/chumsky"