Skip to content

tkhq/rust-sdk

Repository files navigation

Turnkey Rust SDK   Build Status

This repository contains tooling to interact with the Turnkey API using Rust, and is organized as a collection of Rust crates.

Crate Description crates.io Docs Changelog Source
turnkey_api_key_stamper Utilities to use Turnkey API keys Latest docs.rs CHANGELOG api_key_stamper
turnkey_client Rust client to interact with the Turnkey API Latest docs.rs CHANGELOG client
turnkey_enclave_encrypt Utilities to decrypt and encrypt data from and to Turnkey secure enclaves Latest docs.rs CHANGELOG enclave_encrypt
turnkey_proofs Utilities to verify Turnkey secure enclave proofs Latest docs.rs CHANGELOG proofs

Examples

For fully working code examples, see our examples folder.

Development

This project uses make to encapsulate common tasks:

  • make lint will run rust fmt and clippy
  • make test runs the unit tests
  • make examples runs the examples (requires a local .env file, see instructions)
  • make generate re-generates client::generated from the proto folder. Code generation logic lives in codegen

Releases

This project uses cargo-release. Install it with:

cargo install cargo-release

Related projects

There is another Rust client available, maintained by @Eliascm17: Eliascm17/turnkey. This client offers some structure around API requests/responses on top of bare request signing.

Feature requests and support

If you are working on a project in Rust and would benefit from improvements to this SDK, please open an issue or get in touch with us ([email protected]) and we can discuss prioritizing this.

About

Repository containing Rust tooling to interact with the Turnkey API

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •