Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
build:
strategy:
matrix:
toolchain: [ stable, beta, 1.75.0 ] # 1.75.0 is current MSRV for vss-client
toolchain: [ stable, beta, 1.75.0 ] # 1.75.0 is current MSRV for vss-client-ng
include:
- toolchain: stable
check-fmt: true
Expand Down
5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
[package]
name = "vss-client"
name = "vss-client-ng"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While we're here, mind tacking-on a second commit adding an authors field so people can see who are the primary contacts for the crate? I propose:

authors = ["Leo Nash <[email protected]>", "Elias Rohrer <[email protected]>"]

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might also want to make this change in the header of README.md, which should probably be named after the crate, not the repo.

version = "0.3.1"
authors = ["Leo Nash <[email protected]>", "Elias Rohrer <[email protected]>"]
rust-version = "1.63.0"
license = "MIT OR Apache-2.0"
edition = "2021"
homepage = "https://lightningdevkit.org/"
repository = "https://github.com/lightningdevkit/vss-rust-client"
repository = "https://github.com/lightningdevkit/rust-vss-client"
description = "Client-side library to interact with Versioned Storage Service (VSS)."
keywords = ["vss", "bitcoin", "lightning", "ldk", "bdk"]
categories = ["web-programming::http-client", "cryptography::cryptocurrencies"]
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# vss-rust-client
# vss-client-ng
Client-side library to interact with Versioned Storage Service (VSS).

VSS is an open-source project designed to offer a server-side cloud storage solution specifically
Expand Down
8 changes: 4 additions & 4 deletions src/util/retry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ use std::time::Duration;
/// **Example**
/// ```rust
/// # use std::time::Duration;
/// # use vss_client::error::VssError;
/// # use vss_client::util::retry::{ExponentialBackoffRetryPolicy, retry, RetryPolicy};
/// # use vss_client_ng::error::VssError;
/// # use vss_client_ng::util::retry::{ExponentialBackoffRetryPolicy, retry, RetryPolicy};
/// #
/// # async fn operation() -> Result<i32, VssError> {
/// # tokio::time::sleep(Duration::from_millis(10)).await;
Expand All @@ -33,8 +33,8 @@ use std::time::Duration;
/// size at compile time, we can specify its concrete type as follows:
/// ```
/// # use std::time::Duration;
/// # use vss_client::error::VssError;
/// # use vss_client::util::retry::{ExponentialBackoffRetryPolicy, FilteredRetryPolicy, retry, RetryPolicy};
/// # use vss_client_ng::error::VssError;
/// # use vss_client_ng::util::retry::{ExponentialBackoffRetryPolicy, FilteredRetryPolicy, retry, RetryPolicy};
///
/// type VssRetryPolicy = FilteredRetryPolicy<ExponentialBackoffRetryPolicy<VssError>, Box<dyn 'static + Send + Sync + Fn(&VssError) -> bool>>;
///
Expand Down
4 changes: 2 additions & 2 deletions tests/lnurl_auth_jwt_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ mod lnurl_auth_jwt_tests {
use serde_json::json;
use std::collections::HashMap;
use std::time::SystemTime;
use vss_client::headers::LnurlAuthToJwtProvider;
use vss_client::headers::VssHeaderProvider;
use vss_client_ng::headers::LnurlAuthToJwtProvider;
use vss_client_ng::headers::VssHeaderProvider;

const APPLICATION_JSON: &'static str = "application/json";

Expand Down
4 changes: 2 additions & 2 deletions tests/retry_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ mod retry_tests {
use std::sync::Arc;
use std::time::Duration;

use vss_client::error::VssError;
use vss_client::util::retry::{retry, ExponentialBackoffRetryPolicy, RetryPolicy};
use vss_client_ng::error::VssError;
use vss_client_ng::util::retry::{retry, ExponentialBackoffRetryPolicy, RetryPolicy};

#[tokio::test]
async fn test_async_retry() {
Expand Down
14 changes: 7 additions & 7 deletions tests/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@ mod tests {
use std::collections::HashMap;
use std::sync::Arc;
use std::time::Duration;
use vss_client::client::VssClient;
use vss_client::error::VssError;
use vss_client::headers::FixedHeaders;
use vss_client::headers::VssHeaderProvider;
use vss_client::headers::VssHeaderProviderError;
use vss_client_ng::client::VssClient;
use vss_client_ng::error::VssError;
use vss_client_ng::headers::FixedHeaders;
use vss_client_ng::headers::VssHeaderProvider;
use vss_client_ng::headers::VssHeaderProviderError;

use vss_client::types::{
use vss_client_ng::types::{
DeleteObjectRequest, DeleteObjectResponse, ErrorCode, ErrorResponse, GetObjectRequest,
GetObjectResponse, KeyValue, ListKeyVersionsRequest, ListKeyVersionsResponse,
PutObjectRequest, PutObjectResponse,
};
use vss_client::util::retry::{ExponentialBackoffRetryPolicy, RetryPolicy};
use vss_client_ng::util::retry::{ExponentialBackoffRetryPolicy, RetryPolicy};

const APPLICATION_OCTET_STREAM: &'static str = "application/octet-stream";

Expand Down