Skip to content

Commit

Permalink
Done
Browse files Browse the repository at this point in the history
Co-Authored-By: Cazdotsys <[email protected]>
  • Loading branch information
tristanpoland and Caznix committed Dec 12, 2024
1 parent 97e381e commit 6bd4d96
Show file tree
Hide file tree
Showing 9 changed files with 256 additions and 215 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[workspace]
members = ["server","plugin_api", "plugins/chronos_plugin"]
members = ["server","plugin_api", "plugin_imports"]
resolver = "2"

[profile.dev]
Expand Down
13 changes: 4 additions & 9 deletions plugin_api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ edition = "2021"

[build-dependencies]
toml_edit = "0.22.22"
pathdiff = "0.2.2"
pathdiff = "0.2.3"

[dependencies]
async-trait = "0.1.83"
Expand All @@ -17,11 +17,6 @@ tokio = { version = "1.41.1", features = ["rt", "net", "rt-multi-thread"] }
uuid = "1.11.0"
socketioxide = "0.15.0"
horizon-plugin-api = "0.2.0"
#
#
#
#
###### BEGIN AUTO-GENERATED PLUGIN DEPENDENCIES - DO NOT EDIT THIS SECTION ######
chronos_plugin = { path = "../plugins/chronos_plugin", version = "0.1.0" }
player_lib = { path = "../plugins/player_lib", version = "0.1.0" }
###### END AUTO-GENERATED PLUGIN DEPENDENCIES ######


plugin_imports = { path = "../plugin_imports", version = "0.1.0" }
2 changes: 1 addition & 1 deletion plugin_api/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
use std::collections::HashMap;
pub use horizon_plugin_api::{Plugin, Pluginstate, Version, get_plugin, LoadedPlugin};
pub use plugin_imports;

pub mod plugin_macro;
pub mod plugin_imports;

// Define the current plugin version
const PLUGIN_API_VERSION: Version = Version {
Expand Down
24 changes: 24 additions & 0 deletions plugin_imports/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
[package]
name = "plugin_imports"
version = "0.1.0"
authors = ["Tristan Poland <[email protected]>"]
description = "Horizon Plugins API"
license = "MIT"
edition = "2021"

[build-dependencies]
toml_edit = "0.22.22"
pathdiff = "0.2.3"

[dependencies]
async-trait = "0.1.83"
horizon_data_types = "0.4.0"
horizon-plugin-api = "0.2.0"
#
#
#
#
###### BEGIN AUTO-GENERATED PLUGIN DEPENDENCIES - DO NOT EDIT THIS SECTION ######
chronos_plugin = { path = "../plugins/chronos_plugin", version = "0.1.0" }
player_lib = { path = "../plugins/player_lib", version = "0.1.0" }
###### END AUTO-GENERATED PLUGIN DEPENDENCIES ######
Loading

0 comments on commit 6bd4d96

Please sign in to comment.