License: MIT Docs Latest crates.io

mashin_sdk

The Mashin SDK is a Rust library for creating custom providers and resources that can be used with the Mashin engine. It provides a set of traits and macros that simplify the process of developing new providers and resources, making it easy for developers to extend the functionality of Mashin.

Features

Getting Started

To get started with the Mashin SDK, add it as a dependency to your Cargo.toml:

[dependencies] mashin_sdk = "0.1"

Then, you can start building your custom provider or resource by implementing the appropriate traits and using the provided macros.

Example

Here's a simple example of how to create a custom provider and resource using the Mashin SDK:

```rust /// Construct the provider and register resources mashinsdk::constructprovider!( myprovider, config = {}, resources = [myresource], );

/// Create a resource

[mashin_sdk::resource]

pub mod my_resource { #[mashin::config] pub struct Config {}

#[mashin::resource]
pub struct Resource {}

#[mashin::calls]
impl mashin_sdk::Resource for Resource {}

} ```

Documentation

For more information on how to use the Mashin SDK see the documentation.


About us

Nutshimit is an innovative software company specializing in Infrastructure as Code (IaC) solutions. Our flagship product, Mashin, empowers developers to streamline infrastructure management with a secure, user-friendly, and efficient scripting engine. Built on top of Deno and Rust, Mashin combines the power of TypeScript with the flexibility and safety of a sandboxed environment.

Join us as we revolutionize the way developers create and manage cloud infrastructure.