Skip to content

use actix web from other dependencies #3105

Answered by robjtede
shishamo asked this question in Q&A
Discussion options

You must be logged in to vote

Macros can't resolve dependencies like this. You'll need to:

  • avoid the attribute macro for this case
  • use #[::common::actix_web::rt::main(system = "::common::actix_web::rt::System")]

Replies: 4 comments 3 replies

This comment has been hidden.

Comment options

You must be logged in to vote
0 replies
Answer selected by robjtede
Comment options

You must be logged in to vote
1 reply
@shishamo
Comment options

Comment options

You must be logged in to vote
2 replies
@robjtede
Comment options

@shishamo
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants