Skip to content

Commit

Permalink
hack: force hyper to be an rlib
Browse files Browse the repository at this point in the history
If a consumer is also a shared lib we can hit resolution errors, as we
have no way to control this and rlib is what I need. This ensures that
we get that. The issue is tracked: rust-lang/rust#82151
  • Loading branch information
fscc-alexkornitzer committed Aug 11, 2021
1 parent 684f2fa commit 1199048
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ include = [
#"build.rs",
]

[lib]
crate-type = ["lib", "staticlib", "cdylib"]
#[lib]
#crate-type = ["lib", "staticlib", "cdylib"]

[dependencies]
bytes = "1"
Expand Down

0 comments on commit 1199048

Please sign in to comment.