summaryrefslogtreecommitdiff
path: root/rustlings-macros
diff options
context:
space:
mode:
Diffstat (limited to 'rustlings-macros')
-rw-r--r--rustlings-macros/Cargo.toml7
l---------rustlings-macros/info.toml1
-rw-r--r--rustlings-macros/src/lib.rs2
3 files changed, 6 insertions, 4 deletions
diff --git a/rustlings-macros/Cargo.toml b/rustlings-macros/Cargo.toml
index f9aba66..20d6776 100644
--- a/rustlings-macros/Cargo.toml
+++ b/rustlings-macros/Cargo.toml
@@ -6,6 +6,10 @@ authors.workspace = true
repository.workspace = true
license.workspace = true
edition.workspace = true
+include = [
+ "/src/",
+ "/info.toml",
+]
[lib]
proc-macro = true
@@ -14,6 +18,3 @@ proc-macro = true
quote = "1.0.36"
serde.workspace = true
toml_edit.workspace = true
-
-[package.metadata.release]
-verify = false
diff --git a/rustlings-macros/info.toml b/rustlings-macros/info.toml
new file mode 120000
index 0000000..3795291
--- /dev/null
+++ b/rustlings-macros/info.toml
@@ -0,0 +1 @@
+../info.toml \ No newline at end of file
diff --git a/rustlings-macros/src/lib.rs b/rustlings-macros/src/lib.rs
index 0bf3dbd..fc2bcf1 100644
--- a/rustlings-macros/src/lib.rs
+++ b/rustlings-macros/src/lib.rs
@@ -15,7 +15,7 @@ struct InfoFile {
#[proc_macro]
pub fn include_files(_: TokenStream) -> TokenStream {
- let exercises = toml_edit::de::from_str::<InfoFile>(include_str!("../../info.toml"))
+ let exercises = toml_edit::de::from_str::<InfoFile>(include_str!("../info.toml"))
.expect("Failed to parse `info.toml`")
.exercises;