diff --git a/scripts/remove-optional-deps.py b/scripts/remove-optional-deps.py index 2196dc9..60d44c7 100644 --- a/scripts/remove-optional-deps.py +++ b/scripts/remove-optional-deps.py @@ -2,6 +2,8 @@ # It's only there for the example, so let's remove it # in the regular build process. # Requires toml package +import shutil + import toml ct = toml.load("Cargo.toml") @@ -11,3 +13,6 @@ with open("Cargo.toml", "w") as file: toml.dump(ct, file) + +# Also delete the rust example. +shutil.rmtree("examples")