-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
Conversation
There was a problem hiding this 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
registration_rust/Cargo.toml
Outdated
serde_json = "1.0.115" | ||
serde = { version = "1.0.197", features = ["derive"] } | ||
reqwest = { version = "0.12.3", features = ["json", "gzip"] } | ||
chrono = "0.4.37" |
There was a problem hiding this comment.
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
registration_rust/src/main.rs
Outdated
struct TokenValue { | ||
pub token: Option<String>, | ||
pub user_email: String, | ||
pub monthly_limit: i64, | ||
pub revoked: bool, | ||
} |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
No description provided.