rename crate and change license
This commit is contained in:
parent
e8e31cf9ce
commit
125bf14029
|
@ -1,13 +1,12 @@
|
|||
[package]
|
||||
name = "peach-sbotcli"
|
||||
name = "go-sbotcli-rs"
|
||||
version = "0.1.0"
|
||||
authors = ["Andrew Reid <glyph@mycelial.technology>"]
|
||||
edition = "2018"
|
||||
description = "A wrapper around the Go sbotcli tool."
|
||||
homepage = "https://peachcloud.org"
|
||||
repository = "https://git.coopcloud.tech/PeachCloud/peach-sbotcli"
|
||||
repository = "https://git.coopcloud.tech/PeachCloud/go-sbotcli-rs"
|
||||
readme = "README.md"
|
||||
license = "AGPL-3.0-only"
|
||||
license = "LGPL-3.0-only"
|
||||
|
||||
[dependencies]
|
||||
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.
|
||||
|
||||
## Example
|
||||
|
||||
```rust
|
||||
use peach_sbotcli::{Sbot, SbotCliError};
|
||||
use go_sbotcli_rs::{Sbot, SbotCliError};
|
||||
|
||||
fn example() -> Result<(), SbotCliError> {
|
||||
// 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:
|
||||
|
||||
```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
|
||||
cargo doc --no-deps --open
|
||||
```
|
||||
|
||||
## 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.
|
||||
//!
|
||||
//! ## Example
|
||||
//!
|
||||
//! ```rust
|
||||
//! use peach_sbotcli::{Sbot, SbotCliError};
|
||||
//! use go_sbotcli_rs::{Sbot, SbotCliError};
|
||||
//!
|
||||
//! fn example() -> Result<(), SbotCliError> {
|
||||
//! // 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:
|
||||
//!
|
||||
//! ```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
|
||||
//! cargo doc --no-deps --open
|
||||
//! ```
|
||||
//!
|
||||
//! ## License
|
||||
//!
|
||||
//! AGPL-3.0.
|
||||
//! LGPL-3.0.
|
||||
|
||||
pub mod error;
|
||||
mod utils;
|
||||
|
|
Loading…
Reference in New Issue