Skip to content

Commit

Permalink
AUTO : Forward from derives_refactoring_4 to alpha (#1395)
Browse files Browse the repository at this point in the history
global cleaning
  • Loading branch information
wtools-bot authored Jul 2, 2024
1 parent b2eb3c5 commit 14e1bdf
Show file tree
Hide file tree
Showing 155 changed files with 625 additions and 584 deletions.
3 changes: 3 additions & 0 deletions module/alias/instance_of/src/typing/implements_lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ pub( crate ) mod private
}

/// Protected namespace of the module.
#[ allow( unused_imports ) ]
pub mod protected
{
#[ doc( inline ) ]
Expand All @@ -80,6 +81,7 @@ pub mod protected
pub use protected::*;

/// Orphan namespace of the module.
#[ allow( unused_imports ) ]
pub mod orphan
{
#[ doc( inline ) ]
Expand All @@ -98,6 +100,7 @@ pub mod exposed
}

/// Prelude to use essentials: `use my_module::prelude::*`.
#[ allow( unused_imports ) ]
pub mod prelude
{
#[ doc( inline ) ]
Expand Down
3 changes: 3 additions & 0 deletions module/alias/instance_of/src/typing/inspect_type_lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ mod nightly
// pub use nightly::*;

/// Protected namespace of the module.
#[ allow( unused_imports ) ]
pub mod protected
{
#[ doc( inline ) ]
Expand All @@ -79,6 +80,7 @@ pub mod protected
pub use protected::*;

/// Orphan namespace of the module.
#[ allow( unused_imports ) ]
pub mod orphan
{
#[ doc( inline ) ]
Expand All @@ -97,6 +99,7 @@ pub mod exposed
}

/// Prelude to use essentials: `use my_module::prelude::*`.
#[ allow( unused_imports ) ]
pub mod prelude
{
#[ cfg( feature = "nightly" ) ]
Expand Down
3 changes: 3 additions & 0 deletions module/alias/instance_of/src/typing/is_slice_lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ pub( crate ) mod private
}

/// Protected namespace of the module.
#[ allow( unused_imports ) ]
pub mod protected
{
#[ doc( inline ) ]
Expand All @@ -84,6 +85,7 @@ pub mod protected
pub use protected::*;

/// Orphan namespace of the module.
#[ allow( unused_imports ) ]
pub mod orphan
{
#[ doc( inline ) ]
Expand All @@ -102,6 +104,7 @@ pub mod exposed
}

/// Prelude to use essentials: `use my_module::prelude::*`.
#[ allow( unused_imports ) ]
pub mod prelude
{
#[ doc( inline ) ]
Expand Down
3 changes: 3 additions & 0 deletions module/alias/instance_of/src/typing/typing.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@

/// Protected namespace of the module.
#[ allow( unused_imports ) ]
pub mod protected
{
#[ doc( inline ) ]
Expand All @@ -21,6 +22,7 @@ pub mod protected
pub use protected::*;

/// Orphan namespace of the module.
#[ allow( unused_imports ) ]
pub mod orphan
{
#[ doc( inline ) ]
Expand Down Expand Up @@ -48,6 +50,7 @@ pub mod exposed
}

/// Prelude to use essentials: `use my_module::prelude::*`.
#[ allow( unused_imports ) ]
pub mod prelude
{
#[ doc( inline ) ]
Expand Down
3 changes: 3 additions & 0 deletions module/alias/wtest_basic/src/_blank/standard_lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ pub mod dependency
}

/// Protected namespace of the module.
#[ allow( unused_imports ) ]
pub mod protected
{
#[ doc( inline ) ]
Expand All @@ -34,6 +35,7 @@ pub mod protected
pub use protected::*;

/// Parented namespace of the module.
#[ allow( unused_imports ) ]
pub mod orphan
{
#[ doc( inline ) ]
Expand All @@ -53,6 +55,7 @@ pub mod exposed
// pub use exposed::*;

/// Prelude to use essentials: `use my_module::prelude::*`.
#[ allow( unused_imports ) ]
pub mod prelude
{
}
3 changes: 3 additions & 0 deletions module/blank/wlang/src/standard_lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ pub mod dependency
pub use protected::*;

/// Protected namespace of the module.
#[ allow( unused_imports ) ]
pub mod protected
{
#[ doc( inline ) ]
Expand All @@ -28,6 +29,7 @@ pub mod protected
}

/// Parented namespace of the module.
#[ allow( unused_imports ) ]
pub mod orphan
{
#[ doc( inline ) ]
Expand All @@ -43,6 +45,7 @@ pub mod exposed
}

/// Prelude to use essentials: `use my_module::prelude::*`.
#[ allow( unused_imports ) ]
pub mod prelude
{
}
6 changes: 3 additions & 3 deletions module/core/clone_dyn/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,20 +28,20 @@ pub use protected::*;

/// Protected namespace of the module.
#[ cfg( feature = "enabled" ) ]
#[ allow( unused_imports ) ]
pub mod protected
{
#[ doc( inline ) ]
#[ allow( unused_imports ) ]
pub use super::orphan::*;
}

/// Orphan namespace of the module.
#[ cfg( feature = "enabled" ) ]
#[ allow( unused_imports ) ]
pub mod orphan
{

#[ doc( inline ) ]
#[ allow( unused_imports ) ]
pub use super::exposed::*;

#[ doc( inline ) ]
Expand All @@ -58,12 +58,12 @@ pub mod exposed
{
use super::*;
#[ doc( inline ) ]
#[ allow( unused_imports ) ]
pub use super::prelude::*;
}

/// Prelude to use essentials: `use my_module::prelude::*`.
#[ cfg( feature = "enabled" ) ]
#[ allow( unused_imports ) ]
pub mod prelude
{

Expand Down
5 changes: 1 addition & 4 deletions module/core/clone_dyn_meta/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,8 @@ full = [ "enabled" ]
enabled = [ "macro_tools/enabled", "former_types/enabled" ]

[dependencies]
macro_tools = { workspace = true, features = [ "attr", "attr_prop", "diag", "generic_params", "punctuated", "phantom", "item_struct"] } # qqq : xxx : optimize set of features
macro_tools = { workspace = true, features = [ "attr", "attr_prop", "ct", "diag", "generic_params", "punctuated", "phantom", "item_struct", "quantifier" ] } # qqq : optimize set of features
former_types = { workspace = true, features = [ "types_component_assign" ] }
# xxx : incapsulate into macro_tools
const_format = { version = "0.2.32" }
# xxx : incapsulate into macro_tools

[dev-dependencies]
test_tools = { workspace = true }
5 changes: 2 additions & 3 deletions module/core/clone_dyn_meta/src/derive.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,9 @@ use macro_tools::
AttributePropertyComponent,
diag,
generic_params,
ct,
};
use former_types::{ Assign };
// use const_format::concatcp;
// xxx : incapsulate into macro_tools and put all that under features

//

Expand Down Expand Up @@ -112,7 +111,7 @@ impl syn::parse::Parse for ItemAttributes

let error = | ident : &syn::Ident | -> syn::Error
{
let known = const_format::concatcp!
let known = ct::concatcp!
(
"Known properties of attribute `clone_dyn` are : ",
AttributePropertyDebug::KEYWORD,
Expand Down
7 changes: 4 additions & 3 deletions module/core/clone_dyn_types/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ pub mod dependency
pub( crate ) mod private
{

// xxx : ?
// #[ cfg( any( not( feature = "no_std" ), feature = "use_alloc" ) ) ]
extern crate alloc;
// #[ cfg( any( not( feature = "no_std" ), feature = "use_alloc" ) ) ]
Expand Down Expand Up @@ -217,19 +218,19 @@ pub use protected::*;

/// Protected namespace of the module.
#[ cfg( feature = "enabled" ) ]
#[ allow( unused_imports ) ]
pub mod protected
{
#[ doc( inline ) ]
#[ allow( unused_imports ) ]
pub use super::orphan::*;
}

/// Orphan namespace of the module.
#[ cfg( feature = "enabled" ) ]
#[ allow( unused_imports ) ]
pub mod orphan
{
#[ doc( inline ) ]
#[ allow( unused_imports ) ]
pub use super::exposed::*;
}

Expand All @@ -240,12 +241,12 @@ pub mod exposed
{
use super::*;
#[ doc( inline ) ]
#[ allow( unused_imports ) ]
pub use super::prelude::*;
}

/// Prelude to use essentials: `use my_module::prelude::*`.
#[ cfg( feature = "enabled" ) ]
#[ allow( unused_imports ) ]
pub mod prelude
{
#[ doc( inline ) ]
Expand Down
14 changes: 7 additions & 7 deletions module/core/collection_tools/src/collections.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@ macro_rules! count
);
}

/// [BTreeMap] macros
/// [std::collections::BTreeMap] macros
pub mod bmap;
/// [BTreeSet] macros
/// [std::collections::BTreeSet] macros
pub mod bset;
/// [BinaryHeap] macros
/// [std::collections::BinaryHeap] macros
pub mod heap;
/// [HashMap] macros
/// [std::collections::HashMap] macros
pub mod hmap;
/// [HashSet] macros
/// [std::collections::HashSet] macros
pub mod hset;
/// [LinkedList] macros
/// [std::collections::LinkedList] macros
pub mod list;
/// [Vec] macros
pub mod vec;
/// [VecDeque] macros
/// [std::collections::VecDeque] macros
pub mod vecd;
6 changes: 3 additions & 3 deletions module/core/collection_tools/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,21 +33,21 @@ pub use protected::*;

/// Protected namespace of the module.
#[ cfg( feature = "enabled" ) ]
#[ allow( unused_imports ) ]
pub mod protected
{

#[ doc( inline ) ]
#[ allow( unused_imports ) ]
pub use super::orphan::*;

}

/// Parented namespace of the module.
#[ cfg( feature = "enabled" ) ]
#[ allow( unused_imports ) ]
pub mod orphan
{
#[ doc( inline ) ]
#[ allow( unused_imports ) ]
pub use super::exposed::*;
}

Expand All @@ -59,7 +59,6 @@ pub mod exposed
use super::*;

#[ doc( inline ) ]
#[ allow( unused_imports ) ]
pub use super::prelude::*;

// #[ cfg( feature = "reexports" ) ]
Expand Down Expand Up @@ -95,6 +94,7 @@ pub mod exposed

/// Prelude to use essentials: `use my_module::prelude::*`.
#[ cfg( feature = "enabled" ) ]
#[ allow( unused_imports ) ]
pub mod prelude
{
}
6 changes: 3 additions & 3 deletions module/core/data_type/src/dt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,18 @@ pub( crate ) mod private
pub use protected::*;

/// Protected namespace of the module.
#[ allow( unused_imports ) ]
pub mod protected
{
#[ doc( inline ) ]
#[ allow( unused_imports ) ]
pub use super::orphan::*;
}

/// Shared with parent namespace of the module
#[ allow( unused_imports ) ]
pub mod orphan
{
#[ doc( inline ) ]
#[ allow( unused_imports ) ]
pub use super::exposed::*;
}

Expand All @@ -30,7 +30,6 @@ pub mod exposed
use super::*;

#[ doc( inline ) ]
#[ allow( unused_imports ) ]
pub use super::prelude::*;

#[ cfg( feature = "either" ) ]
Expand All @@ -56,6 +55,7 @@ pub mod exposed
}

/// Prelude to use essentials: `use my_module::prelude::*`.
#[ allow( unused_imports ) ]
pub mod prelude
{

Expand Down
Loading

0 comments on commit 14e1bdf

Please sign in to comment.