Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
7ed7343
wip
wanguardd Aug 7, 2025
c5e4d95
wip
wanguardd Aug 7, 2025
2e0f8c1
Merge branch 'unilang_4' of github.com:Wandalen/wTools into unilang_4
Wandalen Aug 7, 2025
8e35ef6
wip
wanguardd Aug 7, 2025
1a28a52
wip
wanguardd Aug 7, 2025
0d8c025
Merge branch 'unilang_4' into former_4
Wandalen Aug 7, 2025
c97ff0f
strs_tools-v0.25.0
Wandalen Aug 7, 2025
f49dcc0
unilang_parser-v0.7.0
Wandalen Aug 7, 2025
adf4f3c
clone_dyn-v0.38.0
Wandalen Aug 7, 2025
d360fe5
derive_tools-v0.41.0
Wandalen Aug 7, 2025
005e98d
mod_interface_meta-v0.37.0
Wandalen Aug 7, 2025
ec55eaa
mod_interface-v0.39.0
Wandalen Aug 7, 2025
5f08c86
former-v2.24.0
Wandalen Aug 7, 2025
b5e332c
unilang-v0.7.0
Wandalen Aug 7, 2025
525f048
wi
wanguardd Aug 7, 2025
a0036ed
Merge branch 'former_4' of github.com:Wandalen/wTools into former_4
wanguardd Aug 7, 2025
87fc4e5
Merge branch 'former_4' of github.com:Wandalen/wTools into former_4
Wandalen Aug 7, 2025
d25de62
wip
wanguardd Aug 7, 2025
0abd994
Merge branch 'unilang_4' of github.com:Wandalen/wTools into unilang_4
wanguardd Aug 7, 2025
9ac3ad0
unilang:
wanguardd Aug 7, 2025
ab77877
Merge branch 'former_4' into unilang_4
wanguardd Aug 7, 2025
63af030
Merge branch 'former_4' of github.com:Wandalen/wTools into former_4
Wandalen Aug 7, 2025
dc077b0
wip
wanguardd Aug 7, 2025
9cea9b3
wip
wanguardd Aug 7, 2025
94d407d
Merge branch 'unilang_4' of github.com:Wandalen/wTools into unilang_4
wanguardd Aug 7, 2025
898c16a
Merge branch 'unilang_4' into former_4
wanguardd Aug 7, 2025
fe7db0c
wip
wanguardd Aug 7, 2025
b080b8a
Merge branch 'former_4' of github.com:Wandalen/wTools into former_4
Wandalen Aug 7, 2025
873cd04
Merge branch 'former_4' into unilang_4
Wandalen Aug 7, 2025
79f68b7
collection_tools-v0.21.0
Wandalen Aug 7, 2025
6f1c856
component_model_types-v0.6.0
Wandalen Aug 7, 2025
275ca8a
former_types-v2.21.0
Wandalen Aug 7, 2025
c4c0628
clone_dyn_types-v0.35.0
Wandalen Aug 7, 2025
96dd00c
interval_adapter-v0.33.0
Wandalen Aug 7, 2025
dc4ebf5
iter_tools-v0.34.0
Wandalen Aug 7, 2025
49bec05
macro_tools-v0.61.0
Wandalen Aug 7, 2025
af161a9
former_meta-v2.24.0
Wandalen Aug 7, 2025
cd59597
former-v2.25.0
Wandalen Aug 7, 2025
c48abb2
strs_tools-v0.26.0
Wandalen Aug 7, 2025
fe3325f
error_tools-v0.28.0
Wandalen Aug 7, 2025
0e72bdd
unilang_parser-v0.8.0
Wandalen Aug 7, 2025
f8c079d
variadic_from_meta-v0.7.0
Wandalen Aug 7, 2025
69b05f3
variadic_from-v0.36.0
Wandalen Aug 7, 2025
b565a29
clone_dyn_meta-v0.36.0
Wandalen Aug 7, 2025
f0eac7d
clone_dyn-v0.39.0
Wandalen Aug 7, 2025
b4329db
derive_tools_meta-v0.41.0
Wandalen Aug 7, 2025
57ecc7f
derive_tools-v0.42.0
Wandalen Aug 7, 2025
ece988b
mod_interface_meta-v0.38.0
Wandalen Aug 7, 2025
6afb9b5
mod_interface-v0.40.0
Wandalen Aug 7, 2025
ffd56f0
unilang-v0.8.0
Wandalen Aug 7, 2025
08e8b6e
wip
wanguardd Aug 7, 2025
8992a45
Merge branch 'unilang_4' of github.com:Wandalen/wTools into unilang_4
wanguardd Aug 7, 2025
2dfa637
Merge branch 'unilang_4' of github.com:Wandalen/wTools into unilang_4
Wandalen Aug 7, 2025
9501cc9
unilang-v0.9.0
Wandalen Aug 7, 2025
64ead44
wip
wanguardd Aug 7, 2025
745efba
Merge branch 'unilang_4' of github.com:Wandalen/wTools into unilang_4
wanguardd Aug 7, 2025
ac926f1
cleaning
wanguardd Aug 7, 2025
321417b
Merge branch 'former_4' of github.com:Wandalen/wTools into former_4
wanguardd Aug 7, 2025
1b6060e
some
wanguardd Aug 8, 2025
5792312
cleaning
wanguardd Aug 8, 2025
7c45b56
limitations
wanguardd Aug 8, 2025
27d4521
attempt
wanguardd Aug 8, 2025
b0cb46e
wip
wanguardd Aug 8, 2025
315a4b9
merge
wanguardd Aug 8, 2025
24b78f6
Merge branch 'former_4' into former_5
wanguardd Aug 8, 2025
0971db6
wip
wanguardd Aug 8, 2025
b943311
Merge branch 'former_5' of github.com:Wandalen/wTools into former_5
wanguardd Aug 8, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
File renamed without changes.
51 changes: 25 additions & 26 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ undocumented_unsafe_blocks = "deny"
std_instead_of_core = "warn"
# Denies including files in documentation unconditionally.
doc_include_without_cfg = "warn"
# Denies missing inline in public items.
missing_inline_in_public_items = "warn"
# Allows missing inline in public items (too verbose).
missing_inline_in_public_items = "allow"

# exceptions

Expand Down Expand Up @@ -126,7 +126,7 @@ version = "~0.1.4"
path = "module/alias/std_x"

[workspace.dependencies.unilang_parser]
version = "~0.6.0"
version = "~0.8.0"
path = "module/move/unilang_parser" # Point to original unilang_parser


Expand All @@ -151,7 +151,7 @@ version = "~0.1.0"
path = "module/core/type_constructor_derive_pair_meta"

[workspace.dependencies.interval_adapter]
version = "~0.32.0"
version = "~0.33.0"
path = "module/core/interval_adapter"
default-features = false
# features = [ "enabled" ]
Expand All @@ -163,21 +163,21 @@ default-features = false
# features = [ "enabled" ]

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


## derive

[workspace.dependencies.derive_tools]
version = "~0.40.0"
version = "~0.42.0"
path = "module/core/derive_tools"
default-features = false
# features = [ "enabled" ]

[workspace.dependencies.derive_tools_meta]
version = "~0.40.0"
version = "~0.41.0"
path = "module/core/derive_tools_meta"
default-features = false
# features = [ "enabled" ]
Expand Down Expand Up @@ -219,30 +219,30 @@ path = "module/alias/fundamental_data_type"
default-features = false

[workspace.dependencies.variadic_from]
version = "~0.35.0"
version = "~0.36.0"
path = "module/core/variadic_from"
default-features = false
# features = [ "enabled" ]

[workspace.dependencies.variadic_from_meta]
version = "~0.6.0"
version = "~0.7.0"
path = "module/core/variadic_from_meta"
default-features = false
# features = [ "enabled" ]

[workspace.dependencies.clone_dyn]
version = "~0.37.0"
version = "~0.39.0"
path = "module/core/clone_dyn"
default-features = false
# features = [ "enabled" ]

[workspace.dependencies.clone_dyn_meta]
version = "~0.35.0"
version = "~0.36.0"
path = "module/core/clone_dyn_meta"
# features = [ "enabled" ]

[workspace.dependencies.clone_dyn_types]
version = "~0.34.0"
version = "~0.35.0"
path = "module/core/clone_dyn_types"
default-features = false
# features = [ "enabled" ]
Expand All @@ -267,7 +267,7 @@ default-features = false
## iter

[workspace.dependencies.iter_tools]
version = "~0.33.0"
version = "~0.34.0"
path = "module/core/iter_tools"
default-features = false

Expand All @@ -285,17 +285,17 @@ path = "module/core/for_each"
default-features = false

[workspace.dependencies.former]
version = "~2.23.0"
version = "~2.25.0"
path = "module/core/former"
default-features = false

[workspace.dependencies.former_meta]
version = "~2.23.0"
version = "~2.24.0"
path = "module/core/former_meta"
default-features = false

[workspace.dependencies.former_types]
version = "~2.20.0"
version = "~2.21.0"
path = "module/core/former_types"
default-features = false

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

[workspace.dependencies.component_model_types]
version = "~0.5.0"
version = "~0.6.0"
path = "module/core/component_model_types"
default-features = false

Expand All @@ -324,12 +324,12 @@ version = "~0.13.0"
path = "module/core/impls_index_meta"

[workspace.dependencies.mod_interface]
version = "~0.38.0"
version = "~0.40.0"
path = "module/core/mod_interface"
default-features = false

[workspace.dependencies.mod_interface_meta]
version = "~0.36.0"
version = "~0.38.0"
path = "module/core/mod_interface_meta"
default-features = false

Expand All @@ -355,7 +355,7 @@ default-features = false
## macro tools

[workspace.dependencies.macro_tools]
version = "~0.60.0"
version = "~0.61.0"
path = "module/core/macro_tools"
default-features = false

Expand Down Expand Up @@ -414,7 +414,7 @@ default-features = false
## error

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

Expand All @@ -426,7 +426,7 @@ path = "module/alias/werror"
## string tools

[workspace.dependencies.strs_tools]
version = "~0.24.0"
version = "~0.26.0"
path = "module/core/strs_tools"
default-features = false

Expand Down Expand Up @@ -631,15 +631,14 @@ version = "1.41.0"
features = []
default-features = false

# Note: anyhow and thiserror are included here ONLY for bootstrap builds
# of test_tools to avoid cyclic dependencies with error_tools.
# All other crates MUST use error_tools exclusively for error handling.
[workspace.dependencies.anyhow]
version = "~1.0"
# features = []
# default-features = false

[workspace.dependencies.thiserror]
version = "~1.0"
# features = []
# default-features = false

[workspace.dependencies.pretty_assertions]
version = "~1.4.0"
Expand Down
4 changes: 2 additions & 2 deletions module/alias/cargo_will/src/bin/cargo-will.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#![ doc( html_logo_url = "https://raw.githubusercontent.com/Wandalen/wTools/master/asset/img/logo_v3_trans_square.png" ) ]
#![ doc( html_favicon_url = "https://raw.githubusercontent.com/Wandalen/wTools/alpha/asset/img/logo_v3_trans_square_icon_small_v2.ico" ) ]
#![ doc( html_root_url = "https://docs.rs/{{template_blank}}/latest/{{template_blank}}/" ) ]
#![ doc = include_str!( concat!( env!( "CARGO_MANIFEST_DIR" ), "/", "readme.md" ) ) ]
#![ cfg_attr( doc, doc = include_str!( concat!( env!( "CARGO_MANIFEST_DIR" ), "/", "readme.md" ) ) ) ]

#[ allow( unused_imports ) ]
use::willbe::*;

fn main() -> Result< (), wtools::error::untyped::Error >
fn main() -> Result< (), wtools::error::untyped::Error >
{
let args = std::env::args().skip( 1 ).collect();
Ok( willbe::run( args )? )
Expand Down
4 changes: 2 additions & 2 deletions module/alias/cargo_will/src/bin/will.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
#![ doc( html_logo_url = "https://raw.githubusercontent.com/Wandalen/wTools/master/asset/img/logo_v3_trans_square.png" ) ]
#![ doc( html_favicon_url = "https://raw.githubusercontent.com/Wandalen/wTools/alpha/asset/img/logo_v3_trans_square_icon_small_v2.ico" ) ]
#![ doc( html_root_url = "https://docs.rs/{{template_blank}}/latest/{{template_blank}}/" ) ]
#![ doc = include_str!( concat!( env!( "CARGO_MANIFEST_DIR" ), "/", "readme.md" ) ) ]
#![ cfg_attr( doc, doc = include_str!( concat!( env!( "CARGO_MANIFEST_DIR" ), "/", "readme.md" ) ) ) ]

#[ allow( unused_imports ) ]
use::willbe::*;

fn main() -> Result< (), wtools::error::untyped::Error >
fn main() -> Result< (), wtools::error::untyped::Error >
{
Ok( willbe::run( std::env::args().collect() )? )
}
4 changes: 2 additions & 2 deletions module/alias/cargo_will/src/bin/willbe.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#![ doc( html_logo_url = "https://raw.githubusercontent.com/Wandalen/wTools/master/asset/img/logo_v3_trans_square.png" ) ]
#![ doc( html_favicon_url = "https://raw.githubusercontent.com/Wandalen/wTools/alpha/asset/img/logo_v3_trans_square_icon_small_v2.ico" ) ]
#![ doc( html_root_url = "https://docs.rs/{{template_blank}}/latest/{{template_blank}}/" ) ]
#![ doc = include_str!( concat!( env!( "CARGO_MANIFEST_DIR" ), "/", "readme.md" ) ) ]
#![ cfg_attr( doc, doc = include_str!( concat!( env!( "CARGO_MANIFEST_DIR" ), "/", "readme.md" ) ) ) ]

#[ allow( unused_imports ) ]
use::willbe::*;

fn main() -> Result< (), error::untyped::Error >
fn main() -> Result< (), error::untyped::Error >
{
Ok( willbe::run( std::env::args().collect() )? )
}
2 changes: 1 addition & 1 deletion module/alias/cargo_will/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#![ doc( html_logo_url = "https://raw.githubusercontent.com/Wandalen/wTools/master/asset/img/logo_v3_trans_square.png" ) ]
#![ doc( html_favicon_url = "https://raw.githubusercontent.com/Wandalen/wTools/alpha/asset/img/logo_v3_trans_square_icon_small_v2.ico" ) ]
#![ doc( html_root_url = "https://docs.rs/{{template_blank}}/latest/{{template_blank}}/" ) ]
#![ doc = include_str!( concat!( env!( "CARGO_MANIFEST_DIR" ), "/", "readme.md" ) ) ]
#![ cfg_attr( doc, doc = include_str!( concat!( env!( "CARGO_MANIFEST_DIR" ), "/", "readme.md" ) ) ) ]

#[ doc( inline ) ]
#[ allow( unused_imports ) ]
Expand Down
3 changes: 2 additions & 1 deletion module/alias/file_tools/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
html_favicon_url = "https://raw.githubusercontent.com/Wandalen/wTools/alpha/asset/img/logo_v3_trans_square_icon_small_v2.ico"
)]
#![doc(html_root_url = "https://docs.rs/file_tools/latest/file_tools/")]
#![ doc = include_str!( concat!( env!( "CARGO_MANIFEST_DIR" ), "/", "readme.md" ) ) ]
#![ cfg_attr( doc, doc = include_str!( concat!( env!( "CARGO_MANIFEST_DIR" ), "/", "readme.md" ) ) ) ]
#![ cfg_attr( not( doc ), doc = "File manipulation utilities" ) ]

/// Function description.
#[cfg(feature = "enabled")]
Expand Down
2 changes: 1 addition & 1 deletion module/alias/fundamental_data_type/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//! Fundamental data types and type constructors, like Single, Pair, Many.
//!

#![ doc = include_str!( concat!( env!( "CARGO_MANIFEST_DIR" ), "/", "readme.md" ) ) ]
#![ cfg_attr( doc, doc = include_str!( concat!( env!( "CARGO_MANIFEST_DIR" ), "/", "readme.md" ) ) ) ]

#[ doc( inline ) ]
#[ allow( unused_imports ) ]
Expand Down
4 changes: 1 addition & 3 deletions module/alias/instance_of/src/typing/implements_lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
//! Macro to answer the question: does it implement a trait?
//!

#![ doc = include_str!( concat!( env!( "CARGO_MANIFEST_DIR" ), "/", "readme.md" ) ) ]
#![ cfg_attr( doc, doc = include_str!( concat!( env!( "CARGO_MANIFEST_DIR" ), "/", "readme.md" ) ) ) ]

// #[ macro_use ]
mod implements_impl;
Expand All @@ -31,7 +31,6 @@ mod private
/// dbg!( implements!( Box::new( 13_i32 ) => Copy ) );
/// // < implements!( 13_i32 => Copy ) : false
/// ```

#[ macro_export ]
macro_rules! implements
{
Expand All @@ -53,7 +52,6 @@ mod private
/// dbg!( instance_of!( Box::new( 13_i32 ) => Copy ) );
/// // < instance_of!( 13_i32 => Copy ) : false
/// ```

#[ macro_export ]
macro_rules! instance_of
{
Expand Down
4 changes: 1 addition & 3 deletions module/alias/instance_of/src/typing/inspect_type_lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
//! Diagnostic-purpose tools to inspect type of a variable and its size.
//!

#![ doc = include_str!( concat!( env!( "CARGO_MANIFEST_DIR" ), "/", "readme.md" ) ) ]
#![ cfg_attr( doc, doc = include_str!( concat!( env!( "CARGO_MANIFEST_DIR" ), "/", "readme.md" ) ) ) ]

#[ cfg( feature = "nightly" ) ]
mod nightly
Expand All @@ -19,7 +19,6 @@ mod nightly
///
/// Macro to inspect type of a variable and its size exporting it as a string.
///

#[ macro_export ]
// #[ cfg_attr( feature = "nightly1", macro_export ) ]
macro_rules! inspect_to_str_type_of
Expand All @@ -44,7 +43,6 @@ mod nightly
///
/// Macro to inspect type of a variable and its size printing into stdout and exporting it as a string.
///

#[ macro_export ]
// #[ cfg_attr( feature = "nightly1", macro_export ) ]
macro_rules! inspect_type_of
Expand Down
2 changes: 1 addition & 1 deletion module/alias/instance_of/src/typing/instance_of_lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#![ doc( html_logo_url = "https://raw.githubusercontent.com/Wandalen/wTools/master/asset/img/logo_v3_trans_square.png" ) ]
#![ doc( html_favicon_url = "https://raw.githubusercontent.com/Wandalen/wTools/alpha/asset/img/logo_v3_trans_square_icon_small_v2.ico" ) ]
#![ doc( html_root_url = "https://docs.rs/instance_of/latest/instance_of/" ) ]
#![ doc = include_str!( concat!( env!( "CARGO_MANIFEST_DIR" ), "/", "readme.md" ) ) ]
#![ cfg_attr( doc, doc = include_str!( concat!( env!( "CARGO_MANIFEST_DIR" ), "/", "readme.md" ) ) ) ]

#[ doc( inline ) ]
#[ allow( unused_imports ) ]
Expand Down
3 changes: 1 addition & 2 deletions module/alias/instance_of/src/typing/is_slice_lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
//! Macro to answer the question: is it a slice?
//!

#![ doc = include_str!( concat!( env!( "CARGO_MANIFEST_DIR" ), "/", "readme.md" ) ) ]
#![ cfg_attr( doc, doc = include_str!( concat!( env!( "CARGO_MANIFEST_DIR" ), "/", "readme.md" ) ) ) ]

/// Define a private namespace for all its items.
mod private
Expand All @@ -32,7 +32,6 @@ mod private
/// // < is_slice!(& [1, 2, 3] [..]) = true
/// }
/// ```

#[ macro_export ]
macro_rules! is_slice
{
Expand Down
3 changes: 1 addition & 2 deletions module/alias/instance_of/src/typing/typing_tools_lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,12 @@
//! Collection of general purpose tools for type checking.
//!

#![ doc = include_str!( concat!( env!( "CARGO_MANIFEST_DIR" ), "/", "readme.md" ) ) ]
#![ cfg_attr( doc, doc = include_str!( concat!( env!( "CARGO_MANIFEST_DIR" ), "/", "readme.md" ) ) ) ]

/// Collection of general purpose tools for type checking.
pub mod typing;

/// Namespace with dependencies.

#[ cfg( feature = "enabled" ) ]
pub mod dependency
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
//! Protocol of modularity unifying interface of a module and introducing layers.
//!

#![ doc = include_str!( concat!( env!( "CARGO_MANIFEST_DIR" ), "/", "readme.md" ) ) ]
#![ cfg_attr( doc, doc = include_str!( concat!( env!( "CARGO_MANIFEST_DIR" ), "/", "readme.md" ) ) ) ]

#[ doc( inline ) ]
#[ allow( unused_imports ) ]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ fn main()
{
use proc_macro_tools::{ typ, qt };

let code = qt!( core::option::Option< i8, i16, i32, i64 > );
let code = qt!( core::option::Option< i8, i16, i32, i64 > );
let tree_type = syn::parse2::< syn::Type >( code ).unwrap();
let got = typ::type_parameters( &tree_type, &0..=2 );
got.iter().for_each( | e | println!( "{}", qt!( #e ) ) );
Expand Down
2 changes: 1 addition & 1 deletion module/alias/proc_macro_tools/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
//! Tools for writing procedural macroses.
//!

#![ doc = include_str!( concat!( env!( "CARGO_MANIFEST_DIR" ), "/", "readme.md" ) ) ]
#![ cfg_attr( doc, doc = include_str!( concat!( env!( "CARGO_MANIFEST_DIR" ), "/", "readme.md" ) ) ) ]

#[ doc( inline ) ]
#[ allow( unused_imports ) ]
Expand Down
3 changes: 2 additions & 1 deletion module/alias/proper_tools/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
html_favicon_url = "https://raw.githubusercontent.com/Wandalen/wTools/alpha/asset/img/logo_v3_trans_square_icon_small_v2.ico"
)]
#![doc(html_root_url = "https://docs.rs/proper_tools/latest/proper_tools/")]
#![ doc = include_str!( concat!( env!( "CARGO_MANIFEST_DIR" ), "/", "readme.md" ) ) ]
#![ cfg_attr( doc, doc = include_str!( concat!( env!( "CARGO_MANIFEST_DIR" ), "/", "readme.md" ) ) ) ]
#![ cfg_attr( not( doc ), doc = "Proper tools collection" ) ]

/// Function description.
#[cfg(feature = "enabled")]
Expand Down
Loading