feat: add plugin mod

This commit is contained in:
mrxiaozhuox committed 2022-07-24 19:00:43 +08:00
1 parent c7d962f250
commit 09311ff132
4 files changed
+53

No files matched your search

Generated
+50
View File
@@ -234,6 +234,15 @@ dependencies = [
"byte-tools",
]
[[package]]
name = "bstr"
version = "0.2.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ba3569f383e8f1598449f1a423e72e99569137b47740b1da11ef19af3d5c3223"
dependencies = [
"memchr",
]
[[package]]
name = "bumpalo"
version = "3.10.0"
@@ -639,6 +648,7 @@ dependencies = [
"hyper",
"indicatif",
"log",
"mlua",
"notify",
"proc-macro2",
"regex",
@@ -1522,6 +1532,24 @@ dependencies = [
"linked-hash-map",
]
[[package]]
name = "lua-src"
version = "544.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "708ba3c844d5e9d38def4a09dd871c17c370f519b3c4b7261fbabe4a613a814c"
dependencies = [
"cc",
]
[[package]]
name = "luajit-src"
version = "210.4.0+resty124ff8d"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f76fb2e2c0c7192e18719d321c9a148f7625c4dcbe3df5f4c19e685e4c286f6c"
dependencies = [
"cc",
]
[[package]]
name = "maplit"
version = "1.0.2"
@@ -1589,6 +1617,22 @@ dependencies = [
"windows-sys",
]
[[package]]
name = "mlua"
version = "0.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a82d0b12c7c8d3bdda5933d2aa322c76e4833d822796495f299990ca652bd1bf"
dependencies = [
"bstr",
"cc",
"lua-src",
"luajit-src",
"num-traits",
"once_cell",
"pkg-config",
"rustc-hash",
]
[[package]]
name = "native-tls"
version = "0.2.10"
@@ -2115,6 +2159,12 @@ version = "0.1.21"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7ef03e0a2b150c7a90d01faf6254c9c48a41e95fb2a8c2ac1c6f0d2b9aefc342"
[[package]]
name = "rustc-hash"
version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
[[package]]
name = "rustls"
version = "0.20.6"
+2
View File
@@ -59,6 +59,8 @@ dioxus-rsx-interpreter = { git = "https://github.com/dioxuslabs/dioxus/" }
proc-macro2 = { version = "1.0", features = ["span-locations"] }
# plugin packages
mlua = { version = "0.8.1", features = ["lua54", "vendored"] }
[[bin]]
path = "src/main.rs"
+1
View File
@@ -22,3 +22,4 @@ pub mod logging;
pub use logging::*;
pub mod hot_reload;
pub mod plugin;
View File
Whitespace-only changes.