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

feat: registration_rust #170

Merged
merged 8 commits into from
Apr 12, 2024
Merged

feat: registration_rust #170

merged 8 commits into from
Apr 12, 2024

Conversation

aldy505
Copy link
Member

@aldy505 aldy505 commented Apr 10, 2024

No description provided.

@aldy505 aldy505 marked this pull request as ready for review April 11, 2024 04:42
Copy link
Member Author

@aldy505 aldy505 left a comment

Choose a reason for hiding this comment

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

Might also need to run cargo fmt after everything's modified

serde_json = "1.0.115"
serde = { version = "1.0.197", features = ["derive"] }
reqwest = { version = "0.12.3", features = ["json", "gzip"] }
chrono = "0.4.37"
Copy link
Member Author

Choose a reason for hiding this comment

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

Might need to remove this since we don't use chrono

Comment on lines 59 to 64
struct TokenValue {
pub token: Option<String>,
pub user_email: String,
pub monthly_limit: i64,
pub revoked: bool,
}
Copy link
Member Author

Choose a reason for hiding this comment

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

Might need to change this reflecting #172

Copy link
Member Author

Choose a reason for hiding this comment

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

Also, need to find a way to not render out the token. Probably with https://serde.rs/field-attrs.html#skip

@aldy505 aldy505 merged commit 4e320a3 into master Apr 12, 2024
30 checks passed
@aldy505 aldy505 deleted the feat/registration_rust branch April 12, 2024 23:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants