rename crate and change license
This commit is contained in:
parent
e8e31cf9ce
commit
125bf14029
|
@ -1,13 +1,12 @@
|
||||||
[package]
|
[package]
|
||||||
name = "peach-sbotcli"
|
name = "go-sbotcli-rs"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
authors = ["Andrew Reid <glyph@mycelial.technology>"]
|
authors = ["Andrew Reid <glyph@mycelial.technology>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
description = "A wrapper around the Go sbotcli tool."
|
description = "A wrapper around the Go sbotcli tool."
|
||||||
homepage = "https://peachcloud.org"
|
repository = "https://git.coopcloud.tech/PeachCloud/go-sbotcli-rs"
|
||||||
repository = "https://git.coopcloud.tech/PeachCloud/peach-sbotcli"
|
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
license = "AGPL-3.0-only"
|
license = "LGPL-3.0-only"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
dirs = "4.0.0"
|
dirs = "4.0.0"
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
# peach-sbotcli
|
# go-sbotcli-rs
|
||||||
|
|
||||||
Rust wrapper around the Go `sbotcli` ScuttleButt tool ([cryptoscope/ssb](https://github.com/cryptoscope/ssb)), allowing interaction with a `gosbot` instance.
|
Rust wrapper around the Go `sbotcli` ScuttleButt tool ([cryptoscope/ssb](https://github.com/cryptoscope/ssb)), allowing interaction with a `gosbot` instance.
|
||||||
|
|
||||||
## Example
|
## Example
|
||||||
|
|
||||||
```rust
|
```rust
|
||||||
use peach_sbotcli::{Sbot, SbotCliError};
|
use go_sbotcli_rs::{Sbot, SbotCliError};
|
||||||
|
|
||||||
fn example() -> Result<(), SbotCliError> {
|
fn example() -> Result<(), SbotCliError> {
|
||||||
// uses default paths for `sbotcli` and `go-sbot` working directory
|
// uses default paths for `sbotcli` and `go-sbot` working directory
|
||||||
|
@ -27,11 +27,11 @@ fn example() -> Result<(), SbotCliError> {
|
||||||
Use `cargo doc` to generate and serve the Rust documentation for this library:
|
Use `cargo doc` to generate and serve the Rust documentation for this library:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone https://git.coopcloud.tech/PeachCloud/peach-sbotcli.git
|
git clone https://git.coopcloud.tech/PeachCloud/go-sbotcli-rs.git
|
||||||
cd peach-sbotcli
|
cd peach-sbotcli
|
||||||
cargo doc --no-deps --open
|
cargo doc --no-deps --open
|
||||||
```
|
```
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
AGPL-3.0
|
LGPL-3.0
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
//! # peach-sbotcli
|
//! # go-sbotcli-rs
|
||||||
//!
|
//!
|
||||||
//! Rust wrapper around the Go `sbotcli` ScuttleButt tool ([cryptoscope/ssb](https://github.com/cryptoscope/ssb)), allowing interaction with a `gosbot` instance.
|
//! Rust wrapper around the Go `sbotcli` ScuttleButt tool ([cryptoscope/ssb](https://github.com/cryptoscope/ssb)), allowing interaction with a `gosbot` instance.
|
||||||
//!
|
//!
|
||||||
//! ## Example
|
//! ## Example
|
||||||
//!
|
//!
|
||||||
//! ```rust
|
//! ```rust
|
||||||
//! use peach_sbotcli::{Sbot, SbotCliError};
|
//! use go_sbotcli_rs::{Sbot, SbotCliError};
|
||||||
//!
|
//!
|
||||||
//! fn example() -> Result<(), SbotCliError> {
|
//! fn example() -> Result<(), SbotCliError> {
|
||||||
//! // uses default paths for `sbotcli` and `go-sbot` working directory
|
//! // uses default paths for `sbotcli` and `go-sbot` working directory
|
||||||
|
@ -27,14 +27,14 @@
|
||||||
//! Use `cargo doc` to generate and serve the Rust documentation for this library:
|
//! Use `cargo doc` to generate and serve the Rust documentation for this library:
|
||||||
//!
|
//!
|
||||||
//! ```bash
|
//! ```bash
|
||||||
//! git clone https://git.coopcloud.tech/PeachCloud/peach-sbotcli.git
|
//! git clone https://git.coopcloud.tech/PeachCloud/go-sbotcli-rs.git
|
||||||
//! cd peach-sbotcli
|
//! cd peach-sbotcli
|
||||||
//! cargo doc --no-deps --open
|
//! cargo doc --no-deps --open
|
||||||
//! ```
|
//! ```
|
||||||
//!
|
//!
|
||||||
//! ## License
|
//! ## License
|
||||||
//!
|
//!
|
||||||
//! AGPL-3.0.
|
//! LGPL-3.0.
|
||||||
|
|
||||||
pub mod error;
|
pub mod error;
|
||||||
mod utils;
|
mod utils;
|
||||||
|
|
Loading…
Reference in New Issue