Skip to content

Commit

Permalink
Fix module graphs_tools module do no require dependencies with no d…
Browse files Browse the repository at this point in the history
…efault features
  • Loading branch information
dmvict committed Jun 27, 2022
1 parent 10a3108 commit 1439d7b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
4 changes: 2 additions & 2 deletions module/move/graphs_tools/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ path = "sample/rust/graphs_tools_trivial_sample/src/main.rs"
[dependencies]
indexmap = "~1.8"
wtools = { version = "~0.2", path = "../../rust/wtools", features = [ "full" ] }
inspect_type = { version = "~0.1", path = "../../rust/inspect_type", features = [ "nightly" ] }
inspect_type = { version = "~0.1", path = "../../rust/inspect_type" }

[dev-dependencies]
test_tools = { version = "~0.1", path = "../../rust/test_tools", features = [ "nightly" ] }
test_tools = { version = "~0.1", path = "../../rust/test_tools" }
6 changes: 0 additions & 6 deletions rust/test/typing/inspect_type_tests.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
#![ warn( rust_2018_idioms ) ]
#![ warn( missing_debug_implementations ) ]
#![ warn( missing_docs ) ]

// #![ feature( type_name_of_val ) ]
// #![ feature( trace_macros ) ]
#![ cfg_attr( feature = "nightly", feature( type_name_of_val ) ) ]

#[ allow( unused_imports ) ]
Expand Down
3 changes: 2 additions & 1 deletion sample/rust/inspect_type_trivial_sample/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ fn main()
}
#[ cfg( not( feature = "nightly" ) ) ]
{
println!( "To run sample correctly, run sample on nightly rustup channel. (rustup default nightly )" );
println!( "\nTo run sample correctly, run sample on nightly rustup channel. To change channel run :" );
println!( "rustup default nightly\n" );
println!( "The command from the root of the sample :" );
println!( "cargo run --features nightly\n" );
println!( "The command from the root of module :" );
Expand Down

0 comments on commit 1439d7b

Please sign in to comment.