New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

godot-rust

Package Overview
Dependencies
Maintainers
0
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

godot-rust

Scripts to automate the creation of a Godot project with Rust

latest
Source
npmnpm
Version
1.1.4
Version published
Maintainers
0
Created
Source

Godot Rust Tools

This repository contains tools for working with Rust and Godot.

Prerequisites

Required

  • Node.js – Used to run the scripts
  • Rust – Used to run cargo commands

Optional

  • Godot – Used to run necessary commands for Godot projects
    • Godot needs to be in your path to run the godot command
  • Git – Used to run necessary commands for Git projects
    • Git needs to be in your path to run the git command

Commands

These are the supported commands.

# To see the information about the commands:
npx godot-rust@latest help

# To see the information about a specific command (where <command> is the command you want help for):
npx godot-rust@latest <command> -h

New Rust Project

This will create a new rust project with the necessary files to work with Godot.

To create a new project, run the following command, it has interactive prompts to help you create your project.

npx godot-rust@latest new

Convert Existing Godot Project

This will convert an existing Godot project to a Godot Rust project.

Run the command in a folder that contains a project.godot file, it has interactive prompts to help you convert your project.

  • Add Rust to the project
    • Adds a new rust folder to the project
  • Restructure the project and add Rust (Backup your project before running a restructure)
    • Moves the existing project to a <my-project>/godot folder
    • Creates a new Rust project in <my-project>/rust
npx godot-rust@latest convert

Add Tools

This will allow you to add tools that are available in the database. This supports three types of tools:

  • Crates – Rust libraries
  • Godot Asset Libraries – Godot assets
  • Github Releases – Libraries that are from Github releases page marked as latest
npx godot-rust@latest add

Remove Tools

This will allow you to remove tools from your project.
Note: Currently this only supports removing Rust crates.

npx godot-rust@latest remove
# or
npx godot-rust@latest rm

FAQs

Package last updated on 22 Jan 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts