diff options
author | Alan Somers <asomers@gmail.com> | 2021-07-24 15:37:30 -0600 |
---|---|---|
committer | Alan Somers <asomers@gmail.com> | 2021-07-24 15:38:30 -0600 |
commit | b083a611a928e9538c68df0b016ae3c6f3ae8e25 (patch) | |
tree | ec376be2633a551840aa0ad7a329d4accfc28762 /Cargo.toml | |
parent | 6fc98f18506f9c350e9c7ca786e0c7189df9a5b3 (diff) | |
download | rust-libc-b083a611a928e9538c68df0b016ae3c6f3ae8e25.tar.gz |
Set const-extern-fn when building docs
Diffstat (limited to 'Cargo.toml')
-rw-r--r-- | Cargo.toml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml index 905c610e75..6ef382ab5d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,6 +15,9 @@ description = """ Raw FFI bindings to platform libraries like libc. """ +[package.metadata.docs.rs] +features = ["const-extern-fn", "extra_traits"] + [dependencies] rustc-std-workspace-core = { version = "1.0.0", optional = true } |