diff --git a/Cargo.lock b/Cargo.lock index 88709ea..24ac1f2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -410,7 +410,7 @@ version = "4.5.13" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "501d359d5f3dcaf6ecdeee48833ae73ec6e42723a1e52419c79abf9507eec0a0" dependencies = [ - "heck 0.5.0", + "heck", "proc-macro2", "quote", "syn 2.0.77", @@ -983,12 +983,6 @@ dependencies = [ "allocator-api2", ] -[[package]] -name = "heck" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" - [[package]] name = "heck" version = "0.5.0" @@ -1224,18 +1218,6 @@ dependencies = [ "unicode-normalization", ] -[[package]] -name = "impl-enum" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fd48df611bdfc457ea8c24c8c26e5c9d64857454fa8221da7db463d134371f3" -dependencies = [ - "heck 0.4.1", - "proc-macro2", - "quote", - "syn 2.0.77", -] - [[package]] name = "indexmap" version = "2.5.0" @@ -1578,7 +1560,7 @@ dependencies = [ [[package]] name = "mooc-langs-api" version = "0.1.0" -source = "git+https://github.com/rage/secret-project-331.git?rev=778a5820a8b7422cbf9f1c786da437833ced5ae9#778a5820a8b7422cbf9f1c786da437833ced5ae9" +source = "git+https://github.com/rage/secret-project-331.git?rev=9fb5f894c72932e77dafa6d0f00df7a8abdfa84c#9fb5f894c72932e77dafa6d0f00df7a8abdfa84c" dependencies = [ "chrono", "oauth2", @@ -2594,7 +2576,7 @@ version = "0.26.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4c6bee85a5a24955dc440386795aa378cd9cf82acd5f764469152d2270e581be" dependencies = [ - "heck 0.5.0", + "heck", "proc-macro2", "quote", "rustversion", @@ -2834,15 +2816,14 @@ dependencies = [ [[package]] name = "tmc-langs" -version = "0.36.2" -source = "git+https://github.com/rage/tmc-langs-rust?tag=0.36.2#365153fe7bbf292acf2a92955313c30f5bf77fdb" +version = "0.36.3" +source = "git+https://github.com/rage/tmc-langs-rust?tag=0.36.3#9313ab8ff5969757c1a2624d33f6b9820112c0ac" dependencies = [ "base64 0.22.1", "blake3", "chrono", "dirs", "hmac", - "impl-enum", "jwt", "log", "md5", @@ -2874,8 +2855,8 @@ dependencies = [ [[package]] name = "tmc-langs-csharp" -version = "0.36.2" -source = "git+https://github.com/rage/tmc-langs-rust?tag=0.36.2#365153fe7bbf292acf2a92955313c30f5bf77fdb" +version = "0.36.3" +source = "git+https://github.com/rage/tmc-langs-rust?tag=0.36.3#9313ab8ff5969757c1a2624d33f6b9820112c0ac" dependencies = [ "dirs", "log", @@ -2890,8 +2871,8 @@ dependencies = [ [[package]] name = "tmc-langs-framework" -version = "0.36.2" -source = "git+https://github.com/rage/tmc-langs-rust?tag=0.36.2#365153fe7bbf292acf2a92955313c30f5bf77fdb" +version = "0.36.3" +source = "git+https://github.com/rage/tmc-langs-rust?tag=0.36.3#9313ab8ff5969757c1a2624d33f6b9820112c0ac" dependencies = [ "fd-lock", "isolang", @@ -2914,8 +2895,8 @@ dependencies = [ [[package]] name = "tmc-langs-java" -version = "0.36.2" -source = "git+https://github.com/rage/tmc-langs-rust?tag=0.36.2#365153fe7bbf292acf2a92955313c30f5bf77fdb" +version = "0.36.3" +source = "git+https://github.com/rage/tmc-langs-rust?tag=0.36.3#9313ab8ff5969757c1a2624d33f6b9820112c0ac" dependencies = [ "dirs", "flate2", @@ -2934,8 +2915,8 @@ dependencies = [ [[package]] name = "tmc-langs-make" -version = "0.36.2" -source = "git+https://github.com/rage/tmc-langs-rust?tag=0.36.2#365153fe7bbf292acf2a92955313c30f5bf77fdb" +version = "0.36.3" +source = "git+https://github.com/rage/tmc-langs-rust?tag=0.36.3#9313ab8ff5969757c1a2624d33f6b9820112c0ac" dependencies = [ "log", "once_cell", @@ -2951,8 +2932,8 @@ dependencies = [ [[package]] name = "tmc-langs-notests" -version = "0.36.2" -source = "git+https://github.com/rage/tmc-langs-rust?tag=0.36.2#365153fe7bbf292acf2a92955313c30f5bf77fdb" +version = "0.36.3" +source = "git+https://github.com/rage/tmc-langs-rust?tag=0.36.3#9313ab8ff5969757c1a2624d33f6b9820112c0ac" dependencies = [ "log", "tmc-langs-framework", @@ -2962,10 +2943,9 @@ dependencies = [ [[package]] name = "tmc-langs-plugins" -version = "0.36.2" -source = "git+https://github.com/rage/tmc-langs-rust?tag=0.36.2#365153fe7bbf292acf2a92955313c30f5bf77fdb" +version = "0.36.3" +source = "git+https://github.com/rage/tmc-langs-rust?tag=0.36.3#9313ab8ff5969757c1a2624d33f6b9820112c0ac" dependencies = [ - "impl-enum", "log", "tar", "thiserror", @@ -2984,8 +2964,8 @@ dependencies = [ [[package]] name = "tmc-langs-python3" -version = "0.36.2" -source = "git+https://github.com/rage/tmc-langs-rust?tag=0.36.2#365153fe7bbf292acf2a92955313c30f5bf77fdb" +version = "0.36.3" +source = "git+https://github.com/rage/tmc-langs-rust?tag=0.36.3#9313ab8ff5969757c1a2624d33f6b9820112c0ac" dependencies = [ "dunce", "hex", @@ -3005,8 +2985,8 @@ dependencies = [ [[package]] name = "tmc-langs-r" -version = "0.36.2" -source = "git+https://github.com/rage/tmc-langs-rust?tag=0.36.2#365153fe7bbf292acf2a92955313c30f5bf77fdb" +version = "0.36.3" +source = "git+https://github.com/rage/tmc-langs-rust?tag=0.36.3#9313ab8ff5969757c1a2624d33f6b9820112c0ac" dependencies = [ "log", "serde", @@ -3019,8 +2999,8 @@ dependencies = [ [[package]] name = "tmc-langs-util" -version = "0.36.2" -source = "git+https://github.com/rage/tmc-langs-rust?tag=0.36.2#365153fe7bbf292acf2a92955313c30f5bf77fdb" +version = "0.36.3" +source = "git+https://github.com/rage/tmc-langs-rust?tag=0.36.3#9313ab8ff5969757c1a2624d33f6b9820112c0ac" dependencies = [ "dunce", "fd-lock", @@ -3041,8 +3021,8 @@ dependencies = [ [[package]] name = "tmc-mooc-client" -version = "0.36.2" -source = "git+https://github.com/rage/tmc-langs-rust?tag=0.36.2#365153fe7bbf292acf2a92955313c30f5bf77fdb" +version = "0.36.3" +source = "git+https://github.com/rage/tmc-langs-rust?tag=0.36.3#9313ab8ff5969757c1a2624d33f6b9820112c0ac" dependencies = [ "bytes", "chrono", @@ -3060,8 +3040,8 @@ dependencies = [ [[package]] name = "tmc-testmycode-client" -version = "0.36.2" -source = "git+https://github.com/rage/tmc-langs-rust?tag=0.36.2#365153fe7bbf292acf2a92955313c30f5bf77fdb" +version = "0.36.3" +source = "git+https://github.com/rage/tmc-langs-rust?tag=0.36.3#9313ab8ff5969757c1a2624d33f6b9820112c0ac" dependencies = [ "chrono", "dirs", diff --git a/Cargo.toml b/Cargo.toml index 017d67c..69554e4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -37,7 +37,7 @@ serde = "1.0.136" serde_json = "1.0.79" termcolor = "1.1.3" terminal_size = "0.3.0" -tmc-langs = { git = "https://github.com/rage/tmc-langs-rust", tag = "0.36.2" } +tmc-langs = { git = "https://github.com/rage/tmc-langs-rust", tag = "0.36.3" } toml = "0.8.19" tracing = "0.1.40" tracing-appender = "0.2.3" diff --git a/src/config.rs b/src/config.rs index 1a16e47..22fac95 100644 --- a/src/config.rs +++ b/src/config.rs @@ -61,7 +61,7 @@ impl TmcCliConfig { #[cfg(target_os = "windows")] impl TmcCliConfig { - const UPDATE_LAST_CHECKED_KEY: &str = "update-last-checked"; + const UPDATE_LAST_CHECKED_KEY: &'static str = "update-last-checked"; pub fn get_update_last_checked(&self) -> Option { self.config