Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -194,15 +194,15 @@ default-features = false
## mem

[workspace.dependencies.mem_tools]
version = "~0.8.0"
version = "~0.9.0"
path = "module/core/mem_tools"
default-features = false


## diagnostics

[workspace.dependencies.diagnostics_tools]
version = "~0.10.0"
version = "~0.11.0"
path = "module/core/diagnostics_tools"
default-features = false

Expand Down Expand Up @@ -243,12 +243,12 @@ path = "module/core/former_types"
default-features = false

[workspace.dependencies.component_model]
version = "~0.3.0"
version = "~0.4.0"
path = "module/core/component_model"
default-features = false

[workspace.dependencies.component_model_meta]
version = "~0.3.0"
version = "~0.4.0"
path = "module/core/component_model_meta"
default-features = false

Expand All @@ -258,7 +258,7 @@ path = "module/core/component_model_types"
default-features = false

[workspace.dependencies.impls_index]
version = "~0.10.0"
version = "~0.11.0"
path = "module/core/impls_index"
default-features = false

Expand Down Expand Up @@ -324,7 +324,7 @@ default-features = false
## typing

[workspace.dependencies.typing_tools]
version = "~0.10.0"
version = "~0.11.0"
path = "module/core/typing_tools"
default-features = false

Expand All @@ -339,7 +339,7 @@ path = "module/alias/instance_of"
default-features = false

[workspace.dependencies.inspect_type]
version = "~0.15.0"
version = "~0.16.0"
path = "module/core/inspect_type"
default-features = false

Expand All @@ -357,7 +357,7 @@ default-features = false
## error

[workspace.dependencies.error_tools]
version = "~0.21.0"
version = "~0.22.0"
path = "module/core/error_tools"
default-features = false

Expand Down Expand Up @@ -421,7 +421,7 @@ version = "~0.4.0"
path = "module/alias/wtest"

[workspace.dependencies.test_tools]
version = "~0.14.0"
version = "~0.16.0"
path = "module/core/test_tools"
features = [ "full" ]

Expand Down
2 changes: 1 addition & 1 deletion module/core/component_model/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "component_model"
version = "0.3.0"
version = "0.4.0"
edition = "2021"
authors = [
"Kostiantyn Wandalen <[email protected]>",
Expand Down
2 changes: 1 addition & 1 deletion module/core/component_model_meta/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "component_model_meta"
version = "0.3.0"
version = "0.4.0"
edition = "2021"
authors = [
"Kostiantyn Wandalen <[email protected]>",
Expand Down
2 changes: 1 addition & 1 deletion module/core/diagnostics_tools/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "diagnostics_tools"
version = "0.10.0"
version = "0.11.0"
edition = "2021"
authors = [
"Kostiantyn Wandalen <[email protected]>",
Expand Down
2 changes: 1 addition & 1 deletion module/core/error_tools/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "error_tools"
version = "0.21.0"
version = "0.22.0"
edition = "2021"
authors = [
"Kostiantyn Wandalen <[email protected]>",
Expand Down
4 changes: 2 additions & 2 deletions module/core/error_tools/tests/inc/assert_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use super::*;

//

tests_impls!
test_tools::tests_impls!
{
fn debug_assert_id_pass()
{
Expand Down Expand Up @@ -78,7 +78,7 @@ tests_impls!

//

tests_index!
test_tools::tests_index!
{
debug_assert_id_pass,
debug_assert_id_fail,
Expand Down
4 changes: 2 additions & 2 deletions module/core/error_tools/tests/inc/basic_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use super::*;
//

#[ cfg( not( feature = "no_std" ) ) ]
tests_impls!
test_tools::tests_impls!
{
// fn basic()
// {
Expand Down Expand Up @@ -123,7 +123,7 @@ tests_impls!
//

#[ cfg( not( feature = "no_std" ) ) ]
tests_index!
test_tools::tests_index!
{
// basic,
// use1,
Expand Down
5 changes: 3 additions & 2 deletions module/core/error_tools/tests/inc/mod.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#[ allow( unused_imports ) ]
use super::*;

use test_tools::exposed::*;
// use test_tools::exposed::*;
use test_tools::{ tests_impls, tests_index, a_id };

mod basic_test;
mod namespace_test;
Expand All @@ -10,3 +10,4 @@ mod assert_test;
#[ cfg( not( feature = "no_std" ) ) ]
mod err_with_test;
mod untyped_test;

2 changes: 1 addition & 1 deletion module/core/error_tools/tests/inc/namespace_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ fn exposed_main_namespace()
use the_module::exposed::*;
error::debug_assert_id!( 1, 1 );

}
}
4 changes: 2 additions & 2 deletions module/core/error_tools/tests/inc/untyped_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use super::*;
//

#[ cfg( feature = "error_untyped" ) ]
tests_impls!
test_tools::tests_impls!
{
fn basic()
{
Expand All @@ -20,7 +20,7 @@ tests_impls!
//

#[ cfg( feature = "error_untyped" ) ]
tests_index!
test_tools::tests_index!
{
basic,
}
2 changes: 1 addition & 1 deletion module/core/impls_index/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "impls_index"
version = "0.10.0"
version = "0.11.0"
edition = "2021"
authors = [
"Kostiantyn Wandalen <[email protected]>",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -383,4 +383,4 @@ pub mod exposed
pub mod prelude
{
use super::*;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ pub mod orphan
pub mod exposed
{
use super::*;
pub use super::super::impls_index;
pub use super::super::implsindex;
// pub use crate as impls_index;
#[ doc( inline ) ]
pub use prelude::*;
#[ doc( inline ) ]
Expand Down
9 changes: 5 additions & 4 deletions module/core/impls_index/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

/// Collection of general purpose meta tools.
#[ cfg( feature = "enabled" ) ]
pub mod impls_index;
pub mod implsindex;

/// Namespace with dependencies.

Expand All @@ -30,7 +30,8 @@ pub mod own
#[ doc( inline ) ]
pub use orphan::*;
#[ doc( inline ) ]
pub use super::impls_index::orphan::*;
pub use super::implsindex::orphan::*;
// pub use crate as impls_index;
}

/// Orphan namespace of the module.
Expand All @@ -52,7 +53,7 @@ pub mod exposed
#[ doc( inline ) ]
pub use prelude::*;
#[ doc( inline ) ]
pub use super::impls_index::exposed::*;
pub use super::implsindex::exposed::*;
}

/// Prelude to use essentials: `use my_module::prelude::*`.
Expand All @@ -62,5 +63,5 @@ pub mod prelude
{
use super::*;
#[ doc( inline ) ]
pub use super::impls_index::prelude::*;
pub use super::implsindex::prelude::*;
}
13 changes: 6 additions & 7 deletions module/core/impls_index/tests/inc/impls1_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,11 @@ fn impls_basic()
{
fn f1()
{
// xxx : qqq : uncomment and fix
// macro_rules! macro1
// {
// ( $( $Arg : tt )* ) => { { $( $Arg )* } };
// }
// macro1!();
macro_rules! macro1
{
() => { };
}
macro1!();
}
}

Expand All @@ -116,4 +115,4 @@ fn impls_basic()
// tests_index!
// {
// impls_basic,
// }
// }
4 changes: 2 additions & 2 deletions module/core/impls_index/tests/inc/impls2_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ fn impls_basic()
{
macro_rules! macro1
{
( $( $Arg : tt )* ) => { };
() => { };
}
macro1!();
}
Expand All @@ -116,4 +116,4 @@ fn impls_basic()
// {
// // fns,
// impls_basic,
// }
// }
2 changes: 1 addition & 1 deletion module/core/impls_index/tests/inc/impls3_test.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use super::*;
use the_module::exposed::{ impls3, index, impls_index };
use the_module::exposed::{ impls3, index, implsindex as impls_index };

//

Expand Down
4 changes: 2 additions & 2 deletions module/core/impls_index/tests/inc/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ only_for_terminal_module!
{

println!( "current_dir : {:?}", std::env::current_dir().unwrap() );
let t = test_tools::compiletime::TestCases::new();
let _t = test_tools::compiletime::TestCases::new();
// xxx : enable and use process::run

// t.compile_fail( "tests/inc/compiletime/former_bad_attr.rs" );
Expand All @@ -41,4 +41,4 @@ only_for_terminal_module!

}

}
}
2 changes: 1 addition & 1 deletion module/core/inspect_type/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "inspect_type"
version = "0.15.0"
version = "0.16.0"
edition = "2021"
authors = [
"Kostiantyn Wandalen <[email protected]>",
Expand Down
2 changes: 1 addition & 1 deletion module/core/mem_tools/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mem_tools"
version = "0.8.0"
version = "0.9.0"
edition = "2021"
authors = [
"Kostiantyn Wandalen <[email protected]>",
Expand Down
38 changes: 17 additions & 21 deletions module/core/test_tools/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "test_tools"
version = "0.14.0"
version = "0.16.0"
edition = "2021"
authors = [
"Kostiantyn Wandalen <[email protected]>",
Expand Down Expand Up @@ -32,8 +32,8 @@ no-default-features = false
[features]
default = [
"enabled",
"standalone_build",
# "normal_build",
# "standalone_build",
"normal_build",
"process_tools",
"process_environment_is_cicd",
]
Expand All @@ -52,13 +52,12 @@ enabled = [
# nightly = [ "typing_tools/nightly" ]

normal_build = [
# "dep:error_tools",
# "dep:collection_tools",
# "dep:impls_index",
# "dep:mem_tools",
# "dep:typing_tools",
# "dep:diagnostics_tools",
# # "dep:process_tools",
"dep:error_tools",
"dep:collection_tools",
"dep:impls_index",
"dep:mem_tools",
"dep:typing_tools",
"dep:diagnostics_tools",
]

# standalone_build vesion of build is used to avoid cyclic dependency
Expand All @@ -70,8 +69,6 @@ standalone_build = [
"standalone_mem_tools",
"standalone_typing_tools",
"standalone_diagnostics_tools",
# "standalone_process_tools",
# "dep:process_tools",
]
standalone_error_tools = [ "dep:anyhow", "dep:thiserror", "error_typed", "error_untyped" ]
standalone_collection_tools = [ "dep:hashbrown", "collection_constructors", "collection_into_constructors" ]
Expand Down Expand Up @@ -110,15 +107,14 @@ num-traits = { workspace = true }
rand = { workspace = true }
# tempdir = { workspace = true }

# ## internal
#
# error_tools = { workspace = true, features = [ "full" ], optional = true }
# collection_tools = { workspace = true, features = [ "full" ], optional = true }
# impls_index = { workspace = true, features = [ "full" ], optional = true }
# mem_tools = { workspace = true, features = [ "full" ], optional = true }
# typing_tools = { workspace = true, features = [ "full" ], optional = true }
# diagnostics_tools = { workspace = true, features = [ "full" ], optional = true }
# # process_tools = { workspace = true, features = [ "full" ], optional = true }
## internal

error_tools = { workspace = true, features = [ "full" ], optional = true }
collection_tools = { workspace = true, features = [ "full" ], optional = true }
impls_index = { workspace = true, features = [ "full" ], optional = true }
mem_tools = { workspace = true, features = [ "full" ], optional = true }
typing_tools = { workspace = true, features = [ "full" ], optional = true }
diagnostics_tools = { workspace = true, features = [ "full" ], optional = true }


## transient
Expand Down
Loading