From e8c39f318984029ab7b41e973906abd83f74227a Mon Sep 17 00:00:00 2001 From: Shunsuke Shibayama Date: Wed, 13 Mar 2024 00:34:28 +0900 Subject: [PATCH] update deps --- Cargo.lock | 20 ++++++++++---------- Cargo.toml | 6 +++--- src/config.rs | 6 +++++- 3 files changed, 18 insertions(+), 14 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2d338fe..4386f9d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -152,9 +152,9 @@ checksum = "11157ac094ffbdde99aa67b23417ebdd801842852b500e395a45a9c0aac03e4a" [[package]] name = "els" -version = "0.1.44" +version = "0.1.45-nightly.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff8a880e77753c2295152a0f959443ca77f54500b1b0ec388d2db43e38ae1b3f" +checksum = "e59deb2cb44fc07963412134d4414634dd874d1e71f2c6c0f098dd25a79d7905" dependencies = [ "erg_common", "erg_compiler", @@ -178,9 +178,9 @@ dependencies = [ [[package]] name = "erg_common" -version = "0.6.32" +version = "0.6.33-nightly.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d330ffda29dbe8dcf0da2f8b40ac2f4f1c2bd2845bfba2c33ecb2c3b1300ae49" +checksum = "fbc4aef271d6848c1d5f38878a76271b3f5e5f1dd388715e4b742800e2720438" dependencies = [ "backtrace-on-stack-overflow", "erg_proc_macros", @@ -190,9 +190,9 @@ dependencies = [ [[package]] name = "erg_compiler" -version = "0.6.32" +version = "0.6.33-nightly.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2bd25033c641d5b91f358a78586537adf9a0ec0332a7a39f815985c132150357" +checksum = "4e0ae26283b6c22f96ae5bb7e69f62b8f80c8de9b7c930df3a13299643f98d97" dependencies = [ "erg_common", "erg_parser", @@ -200,9 +200,9 @@ dependencies = [ [[package]] name = "erg_parser" -version = "0.6.32" +version = "0.6.33-nightly.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73e637bdd8b56b8d58aad17730fc6140aa3849da2baf6ef7264caac12d634ace" +checksum = "a61353a72120956a4d856b2b8363b0649d2e978a94c72c8402dc7418e721cf98" dependencies = [ "erg_common", "erg_proc_macros", @@ -211,9 +211,9 @@ dependencies = [ [[package]] name = "erg_proc_macros" -version = "0.6.32" +version = "0.6.33-nightly.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4d1e9259b6cc91ebfc7ef7bab0e11f2c5d2f2b0828619c7798996c710d7a32e" +checksum = "727db6e96fc4bc542345d6465f7fd5e41dfec621ef12a8a527eacf5e391024b6" dependencies = [ "quote", "syn 1.0.109", diff --git a/Cargo.toml b/Cargo.toml index b085a80..89f159f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,9 +22,9 @@ edition = "2021" repository = "https://github.com/mtshiba/pylyzer" [workspace.dependencies] -erg_common = { version = "0.6.32", features = ["py_compat", "els"] } -erg_compiler = { version = "0.6.32", features = ["py_compat", "els"] } -els = { version = "0.1.44", features = ["py_compat"] } +erg_common = { version = "0.6.33-nightly.1", features = ["py_compat", "els"] } +erg_compiler = { version = "0.6.33-nightly.1", features = ["py_compat", "els"] } +els = { version = "0.1.45-nightly.1", features = ["py_compat"] } rustpython-parser = { version = "0.3.0", features = ["all-nodes-with-ranges", "location"] } rustpython-ast = { version = "0.3.0", features = ["all-nodes-with-ranges", "location"] } # rustpython-parser = { git = "https://github.com/RustPython/Parser", version = "0.3.0", features = ["all-nodes-with-ranges", "location"] } diff --git a/src/config.rs b/src/config.rs index fd85ba8..4573bf4 100644 --- a/src/config.rs +++ b/src/config.rs @@ -74,7 +74,11 @@ OPTIONS pub(crate) fn parse_args() -> ErgConfig { let mut args = env::args(); args.next(); // "pylyzer" - let mut cfg = ErgConfig::default(); + let mut cfg = ErgConfig { + effect_check: false, + ownership_check: false, + ..ErgConfig::default() + }; while let Some(arg) = args.next() { match &arg[..] { "--" => {