From 85b9b21905321ac0f5f31f99615133aaf6edd877 Mon Sep 17 00:00:00 2001 From: SyS Date: Wed, 4 Sep 2024 10:36:15 +0530 Subject: [PATCH] update rust sdk and bump version --- Cargo.lock | 12 ++++++------ Cargo.toml | 4 ++-- include/tgconnector.inc | 2 +- src/plugin.rs | 4 ++-- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 02b5480..b1c4e9d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -497,8 +497,8 @@ checksum = "eb9e9b8cde282a9fe6a42dd4681319bfb63f121b8a8ee9439c6f4107e58a46f7" [[package]] name = "samp" -version = "0.1.2" -source = "git+https://github.com/ZOTTCE/samp-rs/?branch=potential-fix#2e9192713bf9a77ee04e0ebbcda37d078c9c47dd" +version = "0.1.3" +source = "git+https://github.com/Pycckue-Bnepeg/samp-rs/#17ecb2f722bf0d74a98eb782745cd77e41c3c60a" dependencies = [ "fern", "samp-codegen", @@ -507,8 +507,8 @@ dependencies = [ [[package]] name = "samp-codegen" -version = "0.1.1" -source = "git+https://github.com/ZOTTCE/samp-rs/?branch=potential-fix#2e9192713bf9a77ee04e0ebbcda37d078c9c47dd" +version = "0.1.2" +source = "git+https://github.com/Pycckue-Bnepeg/samp-rs/#17ecb2f722bf0d74a98eb782745cd77e41c3c60a" dependencies = [ "proc-macro2", "quote", @@ -518,7 +518,7 @@ dependencies = [ [[package]] name = "samp-sdk" version = "0.9.2" -source = "git+https://github.com/ZOTTCE/samp-rs/?branch=potential-fix#2e9192713bf9a77ee04e0ebbcda37d078c9c47dd" +source = "git+https://github.com/Pycckue-Bnepeg/samp-rs/#17ecb2f722bf0d74a98eb782745cd77e41c3c60a" dependencies = [ "bitflags", "colored", @@ -627,7 +627,7 @@ dependencies = [ [[package]] name = "tgconnector" -version = "1.1.0" +version = "1.1.1" dependencies = [ "encoding", "fern", diff --git a/Cargo.toml b/Cargo.toml index 546fc57..92f87fa 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tgconnector" -version = "1.1.0" +version = "1.1.1" authors = ["Sreyas-Sreelal"] edition = "2018" @@ -13,7 +13,7 @@ lto = true panic = "abort" [dependencies] -samp = {git="https://github.com/ZOTTCE/samp-rs/",branch="potential-fix"} +samp = {git="https://github.com/Pycckue-Bnepeg/samp-rs/"} log = "0.4.6" fern = "0.5.7" threadpool = "1.7.1" diff --git a/include/tgconnector.inc b/include/tgconnector.inc index 01dce2e..6525983 100644 --- a/include/tgconnector.inc +++ b/include/tgconnector.inc @@ -7,7 +7,7 @@ #endif #define _tgconnector_included -#define TGCONNECTOR_VERSION 110 +#define TGCONNECTOR_VERSION 111 #define INVALID_MESSAGE_ID (TGMessage:-1) #define INVALID_BOT_ID (TGBot:-1) #define INVALID_TOPIC_ID (TGTopic:-1) diff --git a/src/plugin.rs b/src/plugin.rs index 9c69087..511a490 100644 --- a/src/plugin.rs +++ b/src/plugin.rs @@ -25,7 +25,7 @@ impl SampPlugin for TgConnector { " ############################################################### # TGConnector # - # v1.1.0 # + # v1.1.1 # # Found any bugs? Report it here: # # https://github.com/Sreyas-Sreelal/tgconnector/issues # # # @@ -35,7 +35,7 @@ impl SampPlugin for TgConnector { } fn on_unload(self: &mut TgConnector) { - info!("**TGConnector v1.1.0!"); + info!("**TGConnector v1.1.1!"); } fn on_amx_load(&mut self, amx: &Amx) {