mirror of
https://github.com/chipsenkbeil/distant.git
synced 2024-11-15 06:12:56 +00:00
1.4 KiB
1.4 KiB
distant local
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.