Skip to content

Commit 475cac2

Browse files
committed
Change package name before publish
1 parent e043bae commit 475cac2

File tree

7 files changed

+12
-12
lines changed

7 files changed

+12
-12
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "fastcomments-rust"
2+
name = "fastcomments-sdk"
33
version = "0.0.1"
44
authors = ["FastComments <support@fastcomments.com>"]
55
description = "Official FastComments Rust SDK (Typed API Client & Utilities)"
@@ -45,7 +45,7 @@ tokio = { version = "1.44.1", features = ["macros", "rt-multi-thread"] }
4545
tokio-test = "0.4"
4646

4747
[lib]
48-
name = "fastcomments_rust"
48+
name = "fastcomments_sdk"
4949
path = "src/lib.rs"
5050

5151
[[example]]

examples/helpers/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use fastcomments_rust::client::apis::public_api::GetCommentsPublicParams;
1+
use fastcomments_sdk::client::apis::public_api::GetCommentsPublicParams;
22

33
pub fn comments_params(tenant_id: String, url_id: String, sso_token: Option<String>) -> GetCommentsPublicParams {
44
GetCommentsPublicParams {

examples/secure.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
use fastcomments_rust::client::apis::configuration::Configuration;
2-
use fastcomments_rust::sso::{
1+
use fastcomments_sdk::client::apis::configuration::Configuration;
2+
use fastcomments_sdk::sso::{
33
fastcomments_sso::FastCommentsSSO, secure_sso_user_data::SecureSSOUserData,
44
};
55

@@ -30,7 +30,7 @@ async fn main() {
3030
let config = Configuration::new();
3131

3232
// Try to get comments
33-
let result = fastcomments_rust::client::apis::public_api::get_comments_public(
33+
let result = fastcomments_sdk::client::apis::public_api::get_comments_public(
3434
&config,
3535
comments_params(tenant_id, url_id, Some(token)),
3636
)

examples/simple.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
use fastcomments_rust::client::apis::configuration::Configuration;
2-
use fastcomments_rust::sso::{fastcomments_sso::FastCommentsSSO, simple_sso_user_data::SimpleSSOUserData};
1+
use fastcomments_sdk::client::apis::configuration::Configuration;
2+
use fastcomments_sdk::sso::{fastcomments_sso::FastCommentsSSO, simple_sso_user_data::SimpleSSOUserData};
33
use helpers::comments_params;
44

55
mod helpers;
@@ -24,7 +24,7 @@ async fn main() {
2424
let config = Configuration::new();
2525

2626
// Try to get comments
27-
let result = fastcomments_rust::client::apis::public_api::get_comments_public(
27+
let result = fastcomments_sdk::client::apis::public_api::get_comments_public(
2828
&config,
2929
comments_params(tenant_id, url_id, Some(token)),
3030
)

tests/test_sso.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
33
mod common;
44

5-
use fastcomments_rust::{
5+
use fastcomments_sdk::{
66
FastCommentsSSO, SecureSSOUserData, SimpleSSOUserData,
77
};
88
use common::{TestEnv, TestUserData};

tests/test_sso_integration.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
mod common;
77

8-
use fastcomments_rust::{FastCommentsSSO, SecureSSOUserData, SimpleSSOUserData};
8+
use fastcomments_sdk::{FastCommentsSSO, SecureSSOUserData, SimpleSSOUserData};
99
use common::TestEnv;
1010

1111
// Note: Integration tests will be skipped if generated client is not available

0 commit comments

Comments
 (0)