From 0b29590ebadfe427c4aea1e99174cb7cc1b7fcd3 Mon Sep 17 00:00:00 2001 From: William Venner Date: Sun, 26 Sep 2021 18:15:19 +0100 Subject: [PATCH] Re-export `fn_has_this` and update dependencies --- Cargo.lock | 34 +++++++++++++++++++++++++++------- gmod/Cargo.toml | 3 ++- gmod/src/lib.rs | 1 + 3 files changed, 30 insertions(+), 8 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 6e1fc22..6baadf4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -28,9 +28,9 @@ checksum = "49f3690291e34881a89ceb8e80802f1582f29b1361fd476eeefb4e89dd6a121e" [[package]] name = "cstr" -version = "0.2.8" +version = "0.2.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c11a39d776a3b35896711da8a04dc1835169dcd36f710878187637314e47941b" +checksum = "f2846d3636dcaff720d311ea8983f5fa7a8288632b2f95145dd4b5819c397fd8" dependencies = [ "proc-macro2", "quote", @@ -64,13 +64,26 @@ dependencies = [ [[package]] name = "fn_abi" -version = "0.1.0" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8242bb800f5a67e61e17a2035b68596a1481fd5541187cd7f7392d8238482ac" +checksum = "13ba31b3c3e35974ab9d1f652867eff7dddc1b0a85d5005f0a9bdb538232cbb3" dependencies = [ "proc-macro2", "quote", "syn", + "syn_squash", +] + +[[package]] +name = "fn_has_this" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eb93938067213676967092012a53515e926de7c813afccd9b075ba0ec78dbba9" +dependencies = [ + "proc-macro2", + "quote", + "syn", + "syn_squash", ] [[package]] @@ -96,13 +109,14 @@ dependencies = [ [[package]] name = "gmod" -version = "3.0.0" +version = "3.0.1" dependencies = [ "cfg_table", "cstr", "ctor", "detour", "fn_abi", + "fn_has_this", "fn_type_alias", "gmod-macros", "lazy_static", @@ -184,9 +198,9 @@ dependencies = [ [[package]] name = "null_fn" -version = "0.1.0" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4934ec63b88f0415c46aedf2ab6c753d2d2e354e847c17e03515658207243b9c" +checksum = "345919cfb52d0d8da7efc21aea56046ca96d9e3a8adfdbdb27ef1172829976c1" dependencies = [ "proc-macro2", "quote", @@ -277,6 +291,12 @@ dependencies = [ "unicode-xid", ] +[[package]] +name = "syn_squash" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "134b985708d02b2569ab2b9e27c8758ca4baaaf725341a572d59bc2d174b9bb5" + [[package]] name = "thiserror" version = "1.0.29" diff --git a/gmod/Cargo.toml b/gmod/Cargo.toml index 3721bf6..4751108 100644 --- a/gmod/Cargo.toml +++ b/gmod/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gmod" -version = "3.0.0" +version = "3.0.1" authors = ["William Venner "] edition = "2018" license = "MIT" @@ -22,3 +22,4 @@ fn_type_alias = "0" fn_abi = "0" cfg_table = "0" null_fn = "0" +fn_has_this = "0" diff --git a/gmod/src/lib.rs b/gmod/src/lib.rs index af81fd8..e4cbf6a 100644 --- a/gmod/src/lib.rs +++ b/gmod/src/lib.rs @@ -12,6 +12,7 @@ pub use fn_type_alias::*; pub use fn_abi::*; pub use cfg_table::*; pub use null_fn::*; +pub use fn_has_this::*; /// Lua interface pub mod lua;