Skip to content

Hashicorp's go-plugin server side (Plugin side) implemented in Rust.

License

Notifications You must be signed in to change notification settings

archisgore/grr-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

grr-plugin-server

Hashicorp's go-plugin, for now, only server side (Plugin side) implemented in Rust.

This will allow Rust-based gRPC plugins to be consumed by go programs.

This repo is still being built. The authoritative usage of this crate is in the Landslide Custom VM for the Avalanche blockchain.

I can imagine this being used for Rust-based plugins for other Hashicorp tools such as Terraform and so forth. I'm sadly not plugged into that ecosystem.

Basic usage looks like:

    let plugin = Server::new(1, HandshakeConfig{
        magic_cookie_key: "foo".to_string(),
        magic_cookie_value: "bar".to_string(),
    });

    plugin.serve(service).await?;

About

Hashicorp's go-plugin server side (Plugin side) implemented in Rust.

Resources

License

Stars

Watchers

Forks

Packages

No packages published