diff options
author | Matthew Schauer <matthew.schauer@e10x.net> | 2022-10-31 09:51:27 -0700 |
---|---|---|
committer | Matthew Schauer <matthew.schauer@e10x.net> | 2022-10-31 09:51:27 -0700 |
commit | 0ed81b4f2039b2a6d2b18740af9e0288602d7adf (patch) | |
tree | 3eb1354170916c695807950a75daed01d7688b9c /src/lib.rs | |
parent | 511e1b910f8c332c0078bef3ae67da7ddbf85a01 (diff) |
Add pre-generated bindings for docs.rs builds
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -37,6 +37,7 @@ use num_derive::FromPrimitive; use num_traits::FromPrimitive; use thiserror::Error; +#[cfg(not(feature = "hermetic"))] mod bindings { #![allow(non_camel_case_types)] #![allow(non_snake_case)] @@ -44,6 +45,8 @@ mod bindings { #![allow(dead_code)] include!(concat!(env!("OUT_DIR"), "/bindings.rs")); } +#[cfg(feature = "hermetic")] +mod bindings; use bindings::*; |