Coder Social home page Coder Social logo

pylar-ai-cargo-maker's Introduction

Pylar AI Cargo Maker

Pylar AI-Cargo Maker-miguelgargallo

Welcome to Pylar AI Cargo Maker, a Python script for generating Cargo.toml files for Rust projects!

This script allows you to easily create Cargo.toml files for your Rust projects by prompting you for the necessary information and automatically adding dependencies based on extern crate and use statements in your main.rs file.

Usage

To use Pylar AI Cargo Maker, simply run the script and follow the prompts:

python pylar-ai-cargo-maker.py

The script will ask you for the package name, package version, author's name, and author's email. It will then parse your main.rs file for extern crate and use statements, retrieve the latest versions of the relevant crates from crates.io, and generate a Cargo.toml file based on this information.

Example

Here's an example of what the script's output might look like:

Enter the package name: my-cool-project
Enter the package version: 0.1.0
Enter the author's name: Jane Doe
Enter the author's email: [email protected]
Cargo.toml file created successfully!

The resulting Cargo.toml file would look something like this:

[package]
name = "my-cool-project"
version = "0.1.0"
authors = ["Jane Doe <[email protected]>"]

[dependencies]
crate1 = "1.2.3"
crate2 = "4.5.6"

Credits

Pylar AI Cargo Maker was developed by the team at Pylar AI, a leading provider of artificial intelligence solutions. We hope you find this script useful!

License

Pylar AI creative ML License. See the LICENSE file for details. LICENSE.md

pylar-ai-cargo-maker's People

Contributors

miguelgargallo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.