From cb7302c8ab346a4cefda6a6d19c1248ab6425dea Mon Sep 17 00:00:00 2001 From: nikitalita <69168929+nikitalita@users.noreply.github.com> Date: Mon, 7 Nov 2022 13:25:51 -0800 Subject: [PATCH] build: change dependency feature to package feature --- examples/dodge-the-creeps/rust/Cargo.toml | 6 +++++- itest/rust/Cargo.toml | 5 +++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/examples/dodge-the-creeps/rust/Cargo.toml b/examples/dodge-the-creeps/rust/Cargo.toml index b2b51ac3e..326a98a73 100644 --- a/examples/dodge-the-creeps/rust/Cargo.toml +++ b/examples/dodge-the-creeps/rust/Cargo.toml @@ -7,6 +7,10 @@ publish = false [lib] crate-type = ["cdylib"] +[features] +default = ["minimal"] +minimal = ["godot/minimal"] + [dependencies] -godot = { path = "../../../godot", features = ["minimal"] } +godot = { path = "../../../godot" } rand = "0.8" diff --git a/itest/rust/Cargo.toml b/itest/rust/Cargo.toml index 955f39144..ff452b299 100644 --- a/itest/rust/Cargo.toml +++ b/itest/rust/Cargo.toml @@ -8,11 +8,12 @@ rust-version = "1.63" crate-type = ["cdylib"] [features] -default = [] +default = ["minimal"] trace = ["godot/trace"] +minimal = ["godot/minimal"] [dependencies] -godot = { path = "../../godot", features = ["minimal"] } +godot = { path = "../../godot" } [build-dependencies] quote = "1"