fixed: unexpected error in crate visibility from minecraft_auth.rs

This commit is contained in:
2025-06-19 03:46:54 +03:00
parent 21f2c0e7aa
commit e5410e9c8e

View File

@@ -571,7 +571,11 @@ const MICROSOFT_CLIENT_ID: &str = "00000000402b5328";
const REDIRECT_URL: &str = "https://login.live.com/oauth20_desktop.srf";
const REQUESTED_SCOPES: &str = "service::user.auth.xboxlive.com::MBI_SSL";
struct RequestWithDate<T> {
/* AstralRinth
* Weird visibility issue that didn't reproduce before
* Had to make DeviceToken and RequestWithDate pub(crate) to fix compilation error
*/
pub(crate) struct RequestWithDate<T> {
pub date: DateTime<Utc>,
pub value: T,
}