Page MenuHomePhabricator

[tunnelbroker] Remove lazy_static dependency
ClosedPublic

Authored by bartek on Aug 2 2023, 12:57 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Sep 15, 2:58 PM
Unknown Object (File)
Sun, Sep 15, 2:58 PM
Unknown Object (File)
Sun, Sep 15, 2:58 PM
Unknown Object (File)
Sun, Sep 15, 2:55 PM
Unknown Object (File)
Wed, Aug 28, 7:25 AM
Unknown Object (File)
Aug 12 2024, 2:08 AM
Unknown Object (File)
Jul 27 2024, 8:08 AM
Unknown Object (File)
Jul 16 2024, 7:05 PM
Subscribers

Details

Summary

Follow up ENG-2900.
This was a dead dependency - it's unused in tunnelbroker.

Test Plan

cd services/tunnelbroker && cargo build

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bartek requested review of this revision.Aug 2 2023, 1:19 AM

i think you can actually remove more than this :)

varun@varuns-MacBook-Pro tunnelbroker % cargo machete
Analyzing dependencies of crates in this directory...
cargo-machete found the following unused dependencies in /Users/varun/Code/comm/services/tunnelbroker:
tunnelbroker -- /Users/varun/Code/comm/services/tunnelbroker/Cargo.toml:
        a2
        aws-types
        base64
        env_logger
        fcm
        futures
        lazy_static
        log
        openssl
        prost
        prost-types
        tokio-stream
Done!

I think prost is actually required but everything else can probably be removed

This revision is now accepted and ready to land.Aug 3 2023, 11:16 AM