Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: topic info response kind #45

Merged
merged 1 commit into from
Mar 9, 2024
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 Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "firebase-messaging-rs"
version = "0.8.2"
version = "0.8.3"
authors = [
"Yoichiro ITO <[email protected]>"
]
Expand Down
4 changes: 2 additions & 2 deletions src/topic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ impl From<RPCError> for TopicManagementError {
}
}
}

#[deprecated(since = "0.8.3", note = "Use TopicInfoResponseKind instead.")]
#[derive(Debug, Clone, Deserialize)]
pub struct TopicInfoResponse {
/// example: "com.iid.example"
Expand Down Expand Up @@ -191,7 +191,7 @@ pub enum TopicInfoResponseKind {
platform: String,
/// example: "1a2bc3d4e5"
#[serde(rename = "appSigner")]
app_signer: String,
app_signer: Option<String>,
/// If and only if user specifies `details` flag on request, this field may `Some<Rel>`.
rel: Option<Rel>,
},
Expand Down
Loading