diff --git a/Cargo.lock b/Cargo.lock index 5e63831896..0b1a0dc737 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1271,7 +1271,7 @@ dependencies = [ "snarkvm", "sys-info", "test_dir", - "toml", + "toml 0.7.1", "tracing", "tracing-subscriber", "walkdir", @@ -1286,7 +1286,7 @@ dependencies = [ "lazy_static", "leo-errors", "serde", - "toml", + "toml 0.7.1", "tracing", ] @@ -1503,6 +1503,15 @@ dependencies = [ "minimal-lexical", ] +[[package]] +name = "nom8" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae01545c9c7fc4486ab7debaf2aad7003ac19431791868fb2e8066df97fad2f8" +dependencies = [ + "memchr", +] + [[package]] name = "nu-ansi-term" version = "0.46.0" @@ -2119,7 +2128,7 @@ dependencies = [ "ci_info", "getopts", "nias", - "toml", + "toml 0.5.11", ] [[package]] @@ -2271,6 +2280,15 @@ dependencies = [ "serde", ] +[[package]] +name = "serde_spanned" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0efd8caf556a6cebd3b285caf480045fcc1ac04f6bd786b09a6f11af30c4fcf4" +dependencies = [ + "serde", +] + [[package]] name = "serde_urlencoded" version = "0.7.1" @@ -3226,6 +3244,40 @@ dependencies = [ "serde", ] +[[package]] +name = "toml" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "772c1426ab886e7362aedf4abc9c0d1348a979517efedfc25862944d10137af0" +dependencies = [ + "serde", + "serde_spanned", + "toml_datetime", + "toml_edit", +] + +[[package]] +name = "toml_datetime" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ab8ed2edee10b50132aed5f331333428b011c99402b5a534154ed15746f9622" +dependencies = [ + "serde", +] + +[[package]] +name = "toml_edit" +version = "0.19.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "90a238ee2e6ede22fb95350acc78e21dc40da00bb66c0334bde83de4ed89424e" +dependencies = [ + "indexmap", + "nom8", + "serde", + "serde_spanned", + "toml_datetime", +] + [[package]] name = "tower-service" version = "0.3.2" diff --git a/Cargo.toml b/Cargo.toml index aa1096958b..019602135b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -131,7 +131,7 @@ features = [ "aleo-cli", "circuit", "console", "parallel" ] version = "0.9.1" [dependencies.toml] -version = "0.5" +version = "0.7" [dependencies.tracing] version = "0.1" diff --git a/leo/package/Cargo.toml b/leo/package/Cargo.toml index 6f2d42a70f..8940ad9338 100644 --- a/leo/package/Cargo.toml +++ b/leo/package/Cargo.toml @@ -31,7 +31,7 @@ version = "1.0" features = [ "derive" ] [dependencies.toml] -version = "0.5" +version = "0.7" [dependencies.tracing] version = "0.1"