Skip to content

Commit

Permalink
build: disable interop by default
Browse files Browse the repository at this point in the history
Fixes #34

Signed-off-by: Yaroslav Bolyukin <[email protected]>
  • Loading branch information
CertainLach committed Mar 27, 2021
1 parent 4744c15 commit 4a0e816
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions bindings/jsonnet/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ jrsonnet-parser = { path = "../../crates/jrsonnet-parser", version = "0.3.4" }

[lib]
crate-type = ["cdylib"]

[features]
interop = []
4 changes: 3 additions & 1 deletion bindings/jsonnet/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
pub mod import;
#[cfg(feature = "interop")]
pub mod interop;

pub mod import;
pub mod native;
pub mod val_extract;
pub mod val_make;
Expand Down

0 comments on commit 4a0e816

Please sign in to comment.