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

gateway: upgrade time lib #260

Open
Terkwood opened this issue Apr 30, 2020 · 0 comments
Open

gateway: upgrade time lib #260

Terkwood opened this issue Apr 30, 2020 · 0 comments
Labels
tech-debt Lib upgrades, Carryover from prior decisions, &c

Comments

@Terkwood
Copy link
Owner

Deal with deprecation warning

warning: use of deprecated item 'time::precise_time_ns': Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch.
   --> src/websocket.rs:569:27
    |
569 |                 let now = time::precise_time_ns();
    |                           ^^^^^^^^^^^^^^^^^^^^^
    |
    = note: `#[warn(deprecated)]` on by default
@Terkwood Terkwood added the tech-debt Lib upgrades, Carryover from prior decisions, &c label Apr 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tech-debt Lib upgrades, Carryover from prior decisions, &c
Projects
None yet
Development

No branches or pull requests

1 participant