distant/distant-local/README.md

1.4 KiB

distant local

Crates.io Docs.rs Rustc 1.68.0

Details

The distant-local library acts as the primary implementation of a distant server that powers the CLI. The logic acts on the local machine of the server and is designed to be used as the foundation for distant operation handling.

Installation

You can import the dependency by adding the following to your Cargo.toml:

[dependencies]
distant-local = "0.20"

Examples

use distant_local::{Config, new_handler};

// Create a server API handler to be used with the server
let handler = new_handler(Config::default()).unwrap();

License

This project is licensed under either of

Apache License, Version 2.0, (LICENSE-APACHE or apache-license) MIT license (LICENSE-MIT or mit-license) at your option.