From 125bf140298cc2a404ff90880d8aa36a0e292449 Mon Sep 17 00:00:00 2001 From: glyph Date: Fri, 5 Nov 2021 13:46:35 +0200 Subject: [PATCH] rename crate and change license --- Cargo.toml | 7 +++---- README.md | 8 ++++---- src/lib.rs | 8 ++++---- 3 files changed, 11 insertions(+), 12 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index b3b92c6..6d84409 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,13 +1,12 @@ [package] -name = "peach-sbotcli" +name = "go-sbotcli-rs" version = "0.1.0" authors = ["Andrew Reid "] 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" diff --git a/README.md b/README.md index 10d276c..1e834de 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/src/lib.rs b/src/lib.rs index 08fa036..0eef45f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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;