diff --git a/Cargo.lock b/Cargo.lock index 0f6e5cb..7ab1f34 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -89,7 +89,7 @@ name = "classfile" version = "0.0.1" dependencies = [ "java_constants", - "nom", + "nom 8.0.0", "nom-derive", ] @@ -375,7 +375,7 @@ dependencies = [ "event-listener", "hashbrown 0.17.1", "java_constants", - "nom", + "nom 8.0.0", "parking_lot", "test_utils", "tokio", @@ -480,13 +480,22 @@ dependencies = [ "minimal-lexical", ] +[[package]] +name = "nom" +version = "8.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df9761775871bdef83bee530e60050f7e54b1105350d6884eb0fb4f46c2f9405" +dependencies = [ + "memchr", +] + [[package]] name = "nom-derive" version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1ff943d68b88d0b87a6e0d58615e8fa07f9fd5a1319fa0a72efc1f62275c79a7" dependencies = [ - "nom", + "nom 7.1.3", "nom-derive-impl", "rustversion", ] diff --git a/Cargo.toml b/Cargo.toml index 81b9583..bf636c3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,7 +14,7 @@ bytemuck = { version = "^1.24", default-features = false, features = ["extern_cr dyn-clone = { version = "^1.0", default-features = false } dyn-hash = { version = "^1.0", default-features = false } hashbrown = { version = "^0.17", features = ["default-hasher"], default-features = false } -nom = { version = "^7.1", default-features = false, features = ["alloc"] } +nom = { version = "^8.0", default-features = false, features = ["alloc"] } parking_lot = { version = "^0.12", default-features = false } tracing = { version = "^0.1", default-features = false, features = ["attributes"] }