Skip to content

Commit

Permalink
Introduce corresponds macro from openssl-macros
Browse files Browse the repository at this point in the history
Our rustdocs are miserably broken. We manually link to openssl docs in
most binding definitions, and openssl keeps changing their documentation
URL, so in order to fix everything I'd have to touch every single
binding definition in every single file. Instead, we should use the
`corresponds` macro from the openssl-macros crate which nicely adds a
link to the openssl documentation on our behalf. If the openssl
documentation url ever changes again in the future, a simple dependency
bump should solve the issue.
  • Loading branch information
rushilmehra committed Aug 13, 2024
1 parent c087942 commit df2386d
Show file tree
Hide file tree
Showing 4 changed files with 205 additions and 677 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,6 @@ http = "0.2"
hyper = { version = "0.14", default-features = false }
linked_hash_set = "0.1"
once_cell = "1.0"
openssl-macros = "0.1.1"
tower = "0.4"
tower-layer = "0.3"
1 change: 1 addition & 0 deletions boring/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ kx-client-nist-required = ["kx-safe-default"]
bitflags = { workspace = true }
foreign-types = { workspace = true }
once_cell = { workspace = true }
openssl-macros = { workspace = true }
libc = { workspace = true }
boring-sys = { workspace = true }

Expand Down
Loading

0 comments on commit df2386d

Please sign in to comment.