re-export gmserverplugin with new feature flag
This commit is contained in:
parent
7df4513690
commit
2b3de9234c
|
@ -110,6 +110,8 @@ dependencies = [
|
|||
[[package]]
|
||||
name = "gmod"
|
||||
version = "8.0.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "715c1eec3ce86b2871086e9577f6e6a68ea1e58a188422826d50d18f3d15d0e4"
|
||||
dependencies = [
|
||||
"cfg_table",
|
||||
"cstr",
|
||||
|
@ -118,7 +120,26 @@ dependencies = [
|
|||
"fn_abi",
|
||||
"fn_has_this",
|
||||
"fn_type_alias",
|
||||
"gmod-macros",
|
||||
"gmod-macros 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"lazy_static",
|
||||
"libloading",
|
||||
"null_fn",
|
||||
"skidscan",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "gmod"
|
||||
version = "9.0.0"
|
||||
dependencies = [
|
||||
"cfg_table",
|
||||
"cstr",
|
||||
"ctor",
|
||||
"detour",
|
||||
"fn_abi",
|
||||
"fn_has_this",
|
||||
"fn_type_alias",
|
||||
"gmod-macros 1.0.0",
|
||||
"gmserverplugin",
|
||||
"lazy_static",
|
||||
"libloading",
|
||||
"null_fn",
|
||||
|
@ -134,6 +155,26 @@ dependencies = [
|
|||
"syn",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "gmod-macros"
|
||||
version = "1.0.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "b791745998b09a16260e803bb0cca1a641e9b70e2aae94d7a485d34259b29279"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
"syn",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "gmserverplugin"
|
||||
version = "1.0.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "481dc5ce867d0ac9c140b3c900e97ff532436045f3d29c8e5d51e8df3b64b336"
|
||||
dependencies = [
|
||||
"gmod 8.0.0",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "kernel32-sys"
|
||||
version = "0.2.2"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "gmod"
|
||||
version = "8.0.0"
|
||||
version = "9.0.0"
|
||||
authors = ["William Venner <william@venner.io>"]
|
||||
edition = "2018"
|
||||
license = "MIT"
|
||||
|
@ -12,9 +12,11 @@ categories = ["api-bindings", "external-ffi-bindings", "game-development", "deve
|
|||
[features]
|
||||
default = ["hax"]
|
||||
hax = ["ctor", "skidscan", "detour", "fn_type_alias", "fn_abi", "cfg_table", "null_fn", "fn_has_this"]
|
||||
server-plugin = ["gmserverplugin"]
|
||||
|
||||
[dependencies]
|
||||
gmod-macros = { version = "1.0.0", path = "../gmod-macros" }
|
||||
gmserverplugin = { version = "1", optional = true }
|
||||
|
||||
libloading = "0"
|
||||
cstr = "0"
|
||||
|
|
|
@ -20,6 +20,9 @@ mod haxports {
|
|||
#[cfg(feature = "hax")]
|
||||
pub use haxports::*;
|
||||
|
||||
#[cfg(feature = "server-plugin")]
|
||||
pub use gmserverplugin as serverplugin;
|
||||
|
||||
/// Lua interface
|
||||
pub mod lua;
|
||||
|
||||
|
|
Loading…
Reference in New Issue