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 types for some API fields #7

Merged
merged 2 commits into from
Mar 20, 2023
Merged

Conversation

Fei1Yang
Copy link
Contributor

@Fei1Yang Fei1Yang commented Mar 19, 2023

Change the following fields to the correct types defined by spec to allow clients enforcing types to function correctly:

  • is_spark
    • bool -> u8
  • is_saved
    • bool -> u8
  • is_read
    • bool -> u8

Update dependencies to allow build with latest Rust toolchain, also fix the CVEs reported by cargo-audit

@Fei1Yang Fei1Yang changed the title API Fix Fix types for some API fields Mar 19, 2023
futures = "0.3.5"
chrono = { version = "0.4.13" }
chrono = { version = "0.4.24", default-features = false, features = ["clock", "wasmbind"] }
Copy link
Owner

Choose a reason for hiding this comment

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

maybe wasmbind is not needed?

@fanzeyi
Copy link
Owner

fanzeyi commented Mar 20, 2023

LGTM. Thank you for the fix.

@fanzeyi fanzeyi merged commit 0658fb2 into fanzeyi:master Mar 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants