From d903aa164b1a63a97b7ca7a49cac4e6e610b1115 Mon Sep 17 00:00:00 2001 From: Gwilym Inzani Date: Wed, 12 Jul 2023 12:16:00 +0100 Subject: [PATCH] Need an interop crate too --- agb-tracker-interop/Cargo.toml | 14 ++++++++++++++ agb-tracker-interop/src/lib.rs | 1 + agb-tracker/Cargo.toml | 3 ++- 3 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 agb-tracker-interop/Cargo.toml create mode 100644 agb-tracker-interop/src/lib.rs diff --git a/agb-tracker-interop/Cargo.toml b/agb-tracker-interop/Cargo.toml new file mode 100644 index 00000000..ddfb9ff4 --- /dev/null +++ b/agb-tracker-interop/Cargo.toml @@ -0,0 +1,14 @@ +[package] +name = "agb_tracker_interop" +version = "0.15.0" +edition = "2021" +license = "MPL-2.0" +description = "Library for interop between tracker plugins and agb itself. Designed for use with the agb library for the Game Boy Advance." +repository = "https://github.com/agbrs/agb" + +[features] +default = ["quote"] +quote = ["dep:quote"] + +[dependencies] +quote = "1" \ No newline at end of file diff --git a/agb-tracker-interop/src/lib.rs b/agb-tracker-interop/src/lib.rs new file mode 100644 index 00000000..2ac3961f --- /dev/null +++ b/agb-tracker-interop/src/lib.rs @@ -0,0 +1 @@ +#![cfg_attr(not(feature(quote)), no_std)] diff --git a/agb-tracker/Cargo.toml b/agb-tracker/Cargo.toml index e81ec1bd..bb7c9851 100644 --- a/agb-tracker/Cargo.toml +++ b/agb-tracker/Cargo.toml @@ -8,4 +8,5 @@ repository = "https://github.com/agbrs/agb" [dependencies] agb_xm = { version = "0.15.0", path = "../agb-xm" } -agb = { version = "0.15.0", path = "../agb" } \ No newline at end of file +agb = { version = "0.15.0", path = "../agb" } +agb_tracker_interop = { version = "0.15.0", path = "../agb-tracker-interop", default-features = false } \ No newline at end of file