-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9f345eb
commit 3225471
Showing
5 changed files
with
151 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
[tasks.format] | ||
install_crate = "rustfmt-nightly" | ||
command = "cargo" | ||
args = ["+nightly", "fmt", "--all"] | ||
|
||
[tasks.test] | ||
command = "cargo" | ||
args = ["test", "--release", "--all-features", "--workspace"] | ||
|
||
[tasks.ci-test] | ||
command = "cargo" | ||
args = ["nextest", "run", "--profile", "ci", "--release", "--all-features", "--workspace"] | ||
|
||
[tasks.post-ci-test] | ||
command = "cargo" | ||
args = ["test", "--release", "--all-features", "--workspace", "--doc"] | ||
|
||
[tasks.publish] | ||
script = ''' | ||
cargo publish --all-features -p distant-auth | ||
cargo publish --all-features -p distant-protocol | ||
cargo publish --all-features -p distant-net | ||
cargo publish --all-features -p distant-core | ||
cargo publish --all-features -p distant-local | ||
cargo publish --all-features -p distant-ssh2 | ||
cargo publish --all-features | ||
''' | ||
|
||
[tasks.dry-run-publish] | ||
script = ''' | ||
cargo publish --all-features --dry-run -p distant-auth | ||
cargo publish --all-features --dry-run -p distant-protocol | ||
cargo publish --all-features --dry-run -p distant-net | ||
cargo publish --all-features --dry-run -p distant-core | ||
cargo publish --all-features --dry-run -p distant-local | ||
cargo publish --all-features --dry-run -p distant-ssh2 | ||
cargo publish --all-features --dry-run | ||
''' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# distant auth | ||
|
||
[![Crates.io][distant_crates_img]][distant_crates_lnk] [![Docs.rs][distant_doc_img]][distant_doc_lnk] [![Rustc 1.64.0][distant_rustc_img]][distant_rustc_lnk] | ||
|
||
[distant_crates_img]: https://img.shields.io/crates/v/distant-auth.svg | ||
[distant_crates_lnk]: https://crates.io/crates/distant-auth | ||
[distant_doc_img]: https://docs.rs/distant-auth/badge.svg | ||
[distant_doc_lnk]: https://docs.rs/distant-auth | ||
[distant_rustc_img]: https://img.shields.io/badge/distant_auth-rustc_1.64+-lightgray.svg | ||
[distant_rustc_lnk]: https://blog.rust-lang.org/2022/09/22/Rust-1.64.0.html | ||
|
||
## Details | ||
|
||
The `distant-auth` library supplies the authentication functionality for the | ||
distant interfaces and distant cli. | ||
|
||
## Installation | ||
|
||
You can import the dependency by adding the following to your `Cargo.toml`: | ||
|
||
```toml | ||
[dependencies] | ||
distant-auth = "0.20" | ||
``` | ||
|
||
## License | ||
|
||
This project is licensed under either of | ||
|
||
Apache License, Version 2.0, (LICENSE-APACHE or | ||
[apache-license][apache-license]) MIT license (LICENSE-MIT or | ||
[mit-license][mit-license]) at your option. | ||
|
||
[apache-license]: http://www.apache.org/licenses/LICENSE-2.0 | ||
[mit-license]: http://opensource.org/licenses/MIT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# distant local | ||
|
||
[![Crates.io][distant_crates_img]][distant_crates_lnk] [![Docs.rs][distant_doc_img]][distant_doc_lnk] [![Rustc 1.64.0][distant_rustc_img]][distant_rustc_lnk] | ||
|
||
[distant_crates_img]: https://img.shields.io/crates/v/distant-local.svg | ||
[distant_crates_lnk]: https://crates.io/crates/distant-local | ||
[distant_doc_img]: https://docs.rs/distant-local/badge.svg | ||
[distant_doc_lnk]: https://docs.rs/distant-local | ||
[distant_rustc_img]: https://img.shields.io/badge/distant_local-rustc_1.64+-lightgray.svg | ||
[distant_rustc_lnk]: https://blog.rust-lang.org/2022/09/22/Rust-1.64.0.html | ||
|
||
## 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`: | ||
|
||
```toml | ||
[dependencies] | ||
distant-local = "0.20" | ||
``` | ||
|
||
## Examples | ||
|
||
```rust | ||
// Create a server API handler to be used with the server | ||
let handler = distant_local::initialize_handler().unwrap(); | ||
``` | ||
|
||
## License | ||
|
||
This project is licensed under either of | ||
|
||
Apache License, Version 2.0, (LICENSE-APACHE or | ||
[apache-license][apache-license]) MIT license (LICENSE-MIT or | ||
[mit-license][mit-license]) at your option. | ||
|
||
[apache-license]: http://www.apache.org/licenses/LICENSE-2.0 | ||
[mit-license]: http://opensource.org/licenses/MIT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# distant protocol | ||
|
||
[![Crates.io][distant_crates_img]][distant_crates_lnk] [![Docs.rs][distant_doc_img]][distant_doc_lnk] [![Rustc 1.64.0][distant_rustc_img]][distant_rustc_lnk] | ||
|
||
[distant_crates_img]: https://img.shields.io/crates/v/distant-protocol.svg | ||
[distant_crates_lnk]: https://crates.io/crates/distant-protocol | ||
[distant_doc_img]: https://docs.rs/distant-protocol/badge.svg | ||
[distant_doc_lnk]: https://docs.rs/distant-protocol | ||
[distant_rustc_img]: https://img.shields.io/badge/distant_protocol-rustc_1.64+-lightgray.svg | ||
[distant_rustc_lnk]: https://blog.rust-lang.org/2022/09/22/Rust-1.64.0.html | ||
|
||
## Details | ||
|
||
The `distant-protocol` library supplies the structs and enums that make up the | ||
messaging structure for distant. | ||
|
||
## Installation | ||
|
||
You can import the dependency by adding the following to your `Cargo.toml`: | ||
|
||
```toml | ||
[dependencies] | ||
distant-protocol = "0.20" | ||
``` | ||
|
||
## License | ||
|
||
This project is licensed under either of | ||
|
||
Apache License, Version 2.0, (LICENSE-APACHE or | ||
[apache-license][apache-license]) MIT license (LICENSE-MIT or | ||
[mit-license][mit-license]) at your option. | ||
|
||
[apache-license]: http://www.apache.org/licenses/LICENSE-2.0 | ||
[mit-license]: http://opensource.org/licenses/MIT |