Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
286 commits
Select commit Hold shift + click to select a range
318b94c
chore(task): Complete task and update status
wanguardd Jul 26, 2025
5e1b89a
feat(unilang): Implement command alias resolution in CLI
wanguardd Jul 26, 2025
f5be81f
docs(unilang): Add comprehensive example for crate usage
wanguardd Jul 26, 2025
9f6b793
.
wanguardd Jul 26, 2025
560d8fe
chore(former_meta): Setup handler files for unnamed enum variants
wanguardd Jul 26, 2025
1df8f58
wip
wanguardd Jul 26, 2025
bd6dd04
former
wanguardd Jul 26, 2025
5401385
former
wanguardd Jul 26, 2025
a66499e
fix(former): Add compile error for subform_scalar on zero-field tuple…
wanguardd Jul 26, 2025
7136e34
error_tools
wanguardd Jul 26, 2025
aae348f
refactor(error_tools): Simplify public API and module structure
wanguardd Jul 26, 2025
4c95199
fix(build): Resolve package collision and add core documentation
wanguardd Jul 26, 2025
2a3bef3
feat(examples): Add untyped (anyhow) usage example
wanguardd Jul 26, 2025
f15413b
feat(examples): Add typed (thiserror) usage example
wanguardd Jul 26, 2025
c684b23
docs(readme): Rewrite to explain unified error handling patterns
wanguardd Jul 26, 2025
d99b9ec
refactor(examples): Simplify trivial example
wanguardd Jul 26, 2025
96b07ff
chore(task): Finalize readme and examples improvements
wanguardd Jul 26, 2025
57ddbee
chore(task): Complete task and update status
wanguardd Jul 26, 2025
52501ef
error_tools
wanguardd Jul 26, 2025
bf8d425
chore(task): Finalize all improvements and verify coverage
wanguardd Jul 26, 2025
1a153b0
chore(task): Finalize all improvements and verify coverage
wanguardd Jul 26, 2025
15db98a
chore(task): Complete task and update status
wanguardd Jul 26, 2025
fa8efd2
error_tools-v0.24.0
Wandalen Jul 26, 2025
a56cbf6
former:
wanguardd Jul 26, 2025
b2deaed
Merge branch 'cleaning_6' of github.com:Wandalen/wTools into cleaning_6
wanguardd Jul 26, 2025
5d3a8f9
wip
wanguardd Jul 26, 2025
cb1549b
former
wanguardd Jul 26, 2025
5504453
former
wanguardd Jul 26, 2025
9321674
wip
wanguardd Jul 26, 2025
727589f
former
wanguardd Jul 27, 2025
d4985d8
wip
wanguardd Jul 27, 2025
e7a1124
fix
wanguardd Jul 27, 2025
8d8bea3
wip
wanguardd Jul 27, 2025
c37bd84
former:
wanguardd Jul 27, 2025
c035cbf
former:
wanguardd Jul 27, 2025
c212dbc
wip
wanguardd Jul 27, 2025
c68052b
wip
wanguardd Jul 27, 2025
133385d
wip
wanguardd Jul 27, 2025
574af82
wip
wanguardd Jul 27, 2025
d0a862f
stuck
wanguardd Jul 27, 2025
75b9e1c
wip
wanguardd Jul 27, 2025
cd5581c
former:
wanguardd Jul 27, 2025
7cde351
working
wanguardd Jul 27, 2025
1586a92
chore(former_types): Finalize FormerBegin lifetime fix
wanguardd Jul 27, 2025
d0e40e7
chore(task): Complete task and update status
wanguardd Jul 27, 2025
ddea20d
fix(former_types): Resolve compiler warnings and clippy lints
wanguardd Jul 27, 2025
d5c9cf1
chore(task): Update task status in tasks.md
wanguardd Jul 27, 2025
387451f
refactor(former_types): Extend test coverage and enforce codestyle
wanguardd Jul 27, 2025
26fcf69
chore(task): Update task status in tasks.md
wanguardd Jul 27, 2025
a9b29c6
chore(former_types): Address lib.rs feedback and final review
wanguardd Jul 27, 2025
795be1b
chore(task): Update task status in tasks.md
wanguardd Jul 27, 2025
0a8b26e
lints
Wandalen Jul 27, 2025
3598e20
Merge branch 'cleaning_6' of github.com:Wandalen/wTools into cleaning_6
Wandalen Jul 27, 2025
fbbb268
remove
wanguardd Jul 27, 2025
86e2a49
Merge branch 'cleaning_6' of github.com:Wandalen/wTools into cleaning_6
wanguardd Jul 27, 2025
214ce6a
proper
wanguardd Jul 27, 2025
5862167
wip
wanguardd Jul 27, 2025
7140664
fix
wanguardd Jul 27, 2025
719068b
wip
wanguardd Jul 27, 2025
0bb17df
wip
wanguardd Jul 27, 2025
e43392b
wip
wanguardd Jul 28, 2025
43adf8b
wip
wanguardd Jul 28, 2025
405652a
wip
wanguardd Jul 28, 2025
c0d02f7
wip
wanguardd Jul 28, 2025
b3b95a7
unilang
wanguardd Jul 28, 2025
1e0280a
chore(audit): Review unilang crate structure and tests
wanguardd Jul 28, 2025
b8ddd16
chore(audit): Verify completion of core refactoring
wanguardd Jul 28, 2025
c2f8e29
chore(audit): Verify completion of core refactoring
wanguardd Jul 28, 2025
447078d
chore(audit): Verify completion of core refactoring
wanguardd Jul 28, 2025
6cd87dd
chore(audit): Verify completion of core refactoring
wanguardd Jul 28, 2025
a98bfa5
chore(audit): Verify completion of core refactoring
wanguardd Jul 28, 2025
46390f5
chore(audit): Verify completion of core refactoring
wanguardd Jul 28, 2025
68b3e9d
chore(audit): Verify completion of core refactoring
wanguardd Jul 28, 2025
8537d89
chore(audit): Verify completion of core refactoring
wanguardd Jul 28, 2025
0781820
chore(audit): Verify completion of core refactoring
wanguardd Jul 28, 2025
fff0c62
chore(audit): Verify completion of core refactoring
wanguardd Jul 28, 2025
4aefb14
chore(audit): Verify completion of core refactoring
wanguardd Jul 28, 2025
78dcc86
chore(audit): Verify completion of core refactoring
wanguardd Jul 28, 2025
cd743c6
chore(audit): Verify completion of core refactoring
wanguardd Jul 28, 2025
255d8b9
chore(audit): Verify completion of core refactoring
wanguardd Jul 28, 2025
9dc9ccc
chore(audit): Verify completion of core refactoring
wanguardd Jul 28, 2025
7bdd801
chore(audit): Verify completion of core refactoring
wanguardd Jul 28, 2025
61ba954
chore(audit): Verify completion of core refactoring
wanguardd Jul 28, 2025
6688ec3
chore(audit): Verify completion of core refactoring
wanguardd Jul 28, 2025
a7481f8
chore(audit): Verify completion of core refactoring
wanguardd Jul 28, 2025
c727c3f
chore(audit): Verify completion of core refactoring
wanguardd Jul 28, 2025
8383b32
chore(audit): Verify completion of core refactoring
wanguardd Jul 28, 2025
066ed3a
chore(audit): Verify completion of core refactoring
wanguardd Jul 28, 2025
d950143
chore(audit): Verify completion of core refactoring
wanguardd Jul 28, 2025
0fce34b
chore(audit): Verify completion of core refactoring
wanguardd Jul 28, 2025
eac9224
chore(audit): Verify completion of core refactoring
wanguardd Jul 28, 2025
883129f
chore(audit): Verify completion of core refactoring
wanguardd Jul 28, 2025
9263952
chore(audit): Verify completion of core refactoring
wanguardd Jul 28, 2025
6b0b6b8
chore(audit): Verify completion of core refactoring
wanguardd Jul 28, 2025
848d4eb
chore(audit): Verify completion of core refactoring
wanguardd Jul 28, 2025
69b4424
chore(audit): Verify completion of core refactoring
wanguardd Jul 28, 2025
222fbe8
chore(audit): Verify completion of core refactoring
wanguardd Jul 28, 2025
3921e9f
chore(audit): Verify completion of core refactoring
wanguardd Jul 28, 2025
e21096a
chore(audit): Verify completion of core refactoring
wanguardd Jul 28, 2025
b4d37ac
chore(audit): Verify completion of core refactoring
wanguardd Jul 28, 2025
558017a
chore(audit): Verify completion of core refactoring
wanguardd Jul 28, 2025
2f301c1
chore(audit): Verify completion of core refactoring
wanguardd Jul 28, 2025
17fa706
chore(audit): Verify completion of core refactoring
wanguardd Jul 28, 2025
7c848ba
chore(audit): Verify completion of core refactoring
wanguardd Jul 28, 2025
0126329
chore(audit): Verify completion of core refactoring
wanguardd Jul 28, 2025
3f366de
chore(audit): Verify completion of core refactoring
wanguardd Jul 28, 2025
b8fa8bf
chore(audit): Verify completion of core refactoring
wanguardd Jul 28, 2025
15e1db8
chore(audit): Verify completion of core refactoring
wanguardd Jul 28, 2025
89cfddf
chore(audit): Verify completion of core refactoring
wanguardd Jul 28, 2025
68ede34
chore(audit): Verify completion of core refactoring
wanguardd Jul 28, 2025
63cde07
chore(audit): Verify completion of core refactoring
wanguardd Jul 28, 2025
3b73c72
chore(audit): Verify completion of core refactoring
wanguardd Jul 28, 2025
c0ca058
chore(audit): Verify completion of core refactoring
wanguardd Jul 28, 2025
f674455
chore(audit): Verify completion of core refactoring
wanguardd Jul 28, 2025
5bd193b
chore(audit): Verify completion of core refactoring
wanguardd Jul 28, 2025
76682d8
chore(audit): Verify completion of core refactoring
wanguardd Jul 28, 2025
007539d
chore(audit): Verify completion of core refactoring
wanguardd Jul 28, 2025
a188787
chore(audit): Verify completion of core refactoring
wanguardd Jul 28, 2025
2cd7642
chore(audit): Verify completion of core refactoring
wanguardd Jul 28, 2025
188fe9d
chore(audit): Verify completion of core refactoring
wanguardd Jul 28, 2025
37da875
chore(audit): Verify completion of core refactoring
wanguardd Jul 28, 2025
86b050f
chore(audit): Verify completion of core refactoring
wanguardd Jul 28, 2025
5b48c0f
chore(audit): Verify completion of core refactoring
wanguardd Jul 28, 2025
f3e489d
chore(audit): Verify completion of core refactoring
wanguardd Jul 28, 2025
a974d52
chore(audit): Verify completion of core refactoring
wanguardd Jul 28, 2025
1717d81
chore(audit): Verify completion of core refactoring
wanguardd Jul 28, 2025
3f31502
chore(audit): Verify completion of core refactoring
wanguardd Jul 28, 2025
f50846f
chore(audit): Verify completion of core refactoring
wanguardd Jul 28, 2025
bd63992
chore(audit): Verify completion of core refactoring
wanguardd Jul 28, 2025
7be2708
chore(audit): Verify completion of core refactoring
wanguardd Jul 28, 2025
8248ded
chore(audit): Verify completion of core refactoring
wanguardd Jul 28, 2025
78f3ac8
chore(audit): Verify completion of core refactoring
wanguardd Jul 28, 2025
becbe06
chore(audit): Verify completion of core refactoring
wanguardd Jul 28, 2025
49b4a5d
chore(audit): Verify completion of core refactoring
wanguardd Jul 28, 2025
d3e51d1
chore(task): Complete Phase 3 audit and finalization
wanguardd Jul 28, 2025
2a058d6
Merge branch 'cleaning_7' into cleaning_6
wanguardd Jul 28, 2025
e8b6ee7
former
wanguardd Jul 28, 2025
610b003
examples
wanguardd Jul 28, 2025
ad978e9
Merge branch 'cleaning_7' of github.com:Wandalen/wTools into cleaning_7
wanguardd Jul 28, 2025
bc7d236
Merge branch 'cleaning_6' of github.com:Wandalen/wTools into cleaning_6
wanguardd Jul 28, 2025
367ded2
wip
wanguardd Jul 28, 2025
043e02b
wip
wanguardd Jul 29, 2025
f798a5d
wip
wanguardd Jul 29, 2025
ca07bad
wip
wanguardd Jul 29, 2025
765ea91
wip
wanguardd Jul 29, 2025
32ea74d
wip
wanguardd Jul 29, 2025
b9cdbae
unilang_parser:
wanguardd Jul 29, 2025
0dcf4ac
Merge branch 'cleaning_7' of github.com:Wandalen/wTools into cleaning_7
wanguardd Jul 29, 2025
d8f3070
wip
wanguardd Jul 30, 2025
3bb2fc2
wip
wanguardd Jul 30, 2025
163c097
wip
wanguardd Jul 30, 2025
2235052
task
wanguardd Jul 30, 2025
58babf8
macro_tools
wanguardd Jul 30, 2025
0df5f19
wip
wanguardd Jul 30, 2025
84fa871
readme
Wandalen Jul 30, 2025
c9760b8
clone_dyn_types-v0.33.0
Wandalen Jul 30, 2025
75407c4
iter_tools-v0.31.0
Wandalen Jul 30, 2025
d43e6a8
collection_tools-v0.19.0
Wandalen Jul 30, 2025
96d4616
component_model_types-v0.4.0
Wandalen Jul 30, 2025
951db2a
interval_adapter-v0.30.0
Wandalen Jul 30, 2025
46c3364
macro_tools-v0.58.0
Wandalen Jul 30, 2025
cd92bf5
derive_tools_meta-v0.38.0
Wandalen Jul 30, 2025
5f7882a
clone_dyn_meta-v0.33.0
Wandalen Jul 30, 2025
f415128
clone_dyn-v0.35.0
Wandalen Jul 30, 2025
b2ac160
strs_tools-v0.22.0
Wandalen Jul 30, 2025
5b430ce
former_types-v2.18.0
Wandalen Jul 30, 2025
abfd2b7
former_meta-v2.20.0
Wandalen Jul 30, 2025
a3b9103
former-v2.20.0
Wandalen Jul 30, 2025
2b2f113
variadic_from_meta-v0.4.0
Wandalen Jul 30, 2025
397f581
variadic_from-v0.33.0
Wandalen Jul 30, 2025
372211c
derive_tools-v0.38.0
Wandalen Jul 30, 2025
1d5d15c
error_tools-v0.25.0
Wandalen Jul 30, 2025
0c514d3
unilang_parser-v0.3.0
Wandalen Jul 30, 2025
9e9567b
mod_interface_meta-v0.34.0
Wandalen Jul 30, 2025
782b7dc
mod_interface-v0.36.0
Wandalen Jul 30, 2025
29618dd
unilang-v0.2.0
Wandalen Jul 30, 2025
bc48ffb
wip
wanguardd Jul 30, 2025
d4d13f9
wip
wanguardd Jul 30, 2025
b82138e
wip
wanguardd Jul 30, 2025
b797060
Merge branch 'cleaning_7' of github.com:Wandalen/wTools into cleaning_7
wanguardd Jul 30, 2025
8278b7d
fix
wanguardd Jul 30, 2025
72d9dc2
wip
wanguardd Jul 30, 2025
f6ee3b5
wip
wanguardd Jul 31, 2025
d1b7dbe
wip
wanguardd Jul 31, 2025
519f204
normalization
wanguardd Jul 31, 2025
4582bd2
wip
wanguardd Jul 31, 2025
b1ab33c
wip
wanguardd Jul 31, 2025
4185752
wip
wanguardd Jul 31, 2025
a7cd636
wip
wanguardd Jul 31, 2025
a2f9038
wip
wanguardd Jul 31, 2025
a7d2d80
wip
wanguardd Jul 31, 2025
9717583
wip
wanguardd Jul 31, 2025
2af20b0
wip
wanguardd Jul 31, 2025
fc2f76e
Merge branch 'cleaning_6' into cleaning_7
wanguardd Jul 31, 2025
4f00f7d
merge
wanguardd Jul 31, 2025
6429fe5
wip
wanguardd Jul 31, 2025
5e44622
wip
wanguardd Jul 31, 2025
b857fbb
wip
Wandalen Jul 31, 2025
1664877
merrge
wanguardd Jul 31, 2025
0d83ac4
Merge branch 'cleaning_7' into cleaning_6
wanguardd Jul 31, 2025
4d8d983
clone_dyn_types-v0.34.0
Wandalen Jul 31, 2025
840bc04
collection_tools-v0.20.0
Wandalen Jul 31, 2025
78ff802
component_model_types-v0.5.0
Wandalen Jul 31, 2025
af311c0
iter_tools-v0.32.0
Wandalen Jul 31, 2025
3e799c6
interval_adapter-v0.31.0
Wandalen Jul 31, 2025
158a500
macro_tools-v0.59.0
Wandalen Jul 31, 2025
a7e45a1
clone_dyn_meta-v0.34.0
Wandalen Jul 31, 2025
6b7bc47
clone_dyn-v0.36.0
Wandalen Jul 31, 2025
80f2fef
derive_tools_meta-v0.39.0
Wandalen Jul 31, 2025
4b5aa70
strs_tools-v0.23.0
Wandalen Jul 31, 2025
55ff9d4
former_types-v2.19.0
Wandalen Jul 31, 2025
9a67864
former_meta-v2.21.0
Wandalen Jul 31, 2025
9a40e6f
former-v2.21.0
Wandalen Jul 31, 2025
2645967
error_tools-v0.26.0
Wandalen Jul 31, 2025
01cb1fc
unilang_parser-v0.4.0
Wandalen Jul 31, 2025
7c91d30
variadic_from_meta-v0.5.0
Wandalen Jul 31, 2025
7b780e0
variadic_from-v0.34.0
Wandalen Jul 31, 2025
5b55dba
derive_tools-v0.39.0
Wandalen Jul 31, 2025
8cd50da
mod_interface_meta-v0.35.0
Wandalen Jul 31, 2025
e3bcfc6
mod_interface-v0.37.0
Wandalen Jul 31, 2025
3fe71a4
unilang-v0.3.0
Wandalen Jul 31, 2025
8e4dd92
wca-v0.27.0
Wandalen Jul 31, 2025
df0966f
cleaning
wanguardd Jul 31, 2025
7d9920d
wip
wanguardd Jul 31, 2025
00b3227
unilang-v0.4.0
Wandalen Jul 31, 2025
46f6998
wip
wanguardd Jul 31, 2025
953632c
Merge branch 'cleaning_7' of github.com:Wandalen/wTools into cleaning_7
wanguardd Jul 31, 2025
6544ea3
spec
wanguardd Jul 31, 2025
ae9dede
spec
wanguardd Jul 31, 2025
97f83bc
spec
wanguardd Jul 31, 2025
1dd7254
plan
wanguardd Jul 31, 2025
7e33b2f
unilang:
wanguardd Jul 31, 2025
a26586e
wip
wanguardd Jul 31, 2025
669386a
wip
wanguardd Jul 31, 2025
a3acf33
wip
wanguardd Jul 31, 2025
241ca47
Merge branch 'cleaning_6' of github.com:Wandalen/wTools into cleaning_6
wanguardd Jul 31, 2025
6194e43
fix
wanguardd Jul 31, 2025
0e4dd2d
wip
wanguardd Jul 31, 2025
6d2c683
wip
wanguardd Jul 31, 2025
2b04fc2
Merge branch 'cleaning_6' into unilang_2
wanguardd Jul 31, 2025
b9ac8ec
wip
wanguardd Jul 31, 2025
8c14c32
wip
wanguardd Jul 31, 2025
e63e3b4
wip
wanguardd Jul 31, 2025
edb0cbd
wip
wanguardd Jul 31, 2025
f3a7ee2
wip
wanguardd Jul 31, 2025
5fbecda
wip
wanguardd Jul 31, 2025
cf6c43a
Resolve merge conflict in derive_former.rs
wanguardd Jul 31, 2025
d320740
tasks
wanguardd Jul 31, 2025
f7d6d12
Merge branch 'unilang_2' into cleaning_6
wanguardd Jul 31, 2025
71b4864
wip
wanguardd Jul 31, 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
  •  
  •  
  •  
80 changes: 41 additions & 39 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ exclude = [
"module/move/refiner",
"module/move/wplot",
"module/move/plot_interface",
"module/move/unilang",
# "module/move/unilang_parser", # Explicitly exclude unilang_parser
# "module/alias/unilang_instruction_parser", # Explicitly exclude unilang_instruction_parser
"module/core/program_tools",
"module/move/graphs_tools",
"module/alias/fundamental_data_type",
Expand Down Expand Up @@ -48,39 +49,39 @@ discord_url = "https://discord.gg/m3YfbXpUUY"
# [metadata.cargo-suppress-warnings]
# unused-manifest-key = true


[workspace.lints.rust]
# Source :: https://github.com/obox-systems/conventions/blob/master/code_style.md#lints-and-warnings

# Denies non-idiomatic code for Rust 2018 edition.
rust_2018_idioms = { level = "deny", priority = -1 }
rust_2018_idioms = { level = "warn", priority = -1 }
# Denies using features that may break in future Rust versions.
future_incompatible = { level = "deny", priority = -1 }
future_incompatible = { level = "warn", priority = -1 }
# Warns if public items lack documentation.
missing_docs = "warn"
# Warns for public types not implementing Debug.
missing_debug_implementations = "warn"
# Denies all unsafe code usage.
unsafe-code = "warn"
unsafe-code = "deny"

[workspace.lints.clippy]
# Denies restrictive lints, limiting certain language features/patterns.
#restriction = { level = "deny", priority = -1 }
restriction = { level = "allow", priority = -1 } # xxx : make it warn
# Denies pedantic lints, enforcing strict coding styles and conventions.
pedantic = { level = "warn", priority = -1 }
# Denies undocumented unsafe blocks.
undocumented_unsafe_blocks = "deny"
# xxx : check
# Warns if core could be used instead of std, but didn't
std_instead_of_core = "warn"
# Warns if alloc could be used instead of std, but didn't
std_instead_of_alloc = "warn"
# xxx : document
# Allows functions that are only called once.
single_call_fn = "allow"
# Allows forcing a function to always be inlined.
inline_always = "allow"
# Allows item names that repeat the module name (e.g., `mod user { struct User; }`).
module_name_repetitions = "allow"
# Allows using fully qualified paths instead of `use` statements.
absolute_paths = "allow"
# Allows wildcard imports (e.g., `use std::io::*;`).
wildcard_imports = "allow"
# Warns to prefer `core` over `std` when available, for `no_std` compatibility.
std_instead_of_core = "warn"
# Warns to prefer `alloc` over `std` when available, for `no_std` compatibility.
std_instead_of_alloc = "allow"

## top level

Expand All @@ -102,8 +103,9 @@ version = "~0.1.4"
path = "module/alias/std_x"

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


## data_type

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

[workspace.dependencies.interval_adapter]
version = "~0.29.0"
version = "~0.31.0"
path = "module/core/interval_adapter"
default-features = false
# features = [ "enabled" ]
Expand All @@ -138,21 +140,21 @@ default-features = false
# features = [ "enabled" ]

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


## derive

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Expand Down Expand Up @@ -497,7 +499,7 @@ default-features = false
## ca

[workspace.dependencies.wca]
version = "~0.26.0"
version = "~0.27.0"
path = "module/move/wca"

## censor
Expand Down Expand Up @@ -694,7 +696,7 @@ default-features = false
# proc-macro2 = { version = "~1.0.78", default-features = false, features = [] }
# quote = { version = "~1.0.35", default-features = false, features = [] }
# syn = { version = "~2.0.52", default-features = false, features = [ "full", "extra-traits" ] } # qqq : xxx : optimize set of features
# const_format = { version = "0.2.32", default-features = false, features = [] }

# [replace]
# "macro_tools:0.56.0" = { path = "temp_crates/macro_tools_patched" }
[patch.crates-io]
former_meta = { path = "module/core/former_meta" }
# const_format = { version = "0.2.32", default-features = false, features = [] }
13 changes: 13 additions & 0 deletions Cargo.toml.debug
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[package]
name = "debug_decompose"
version = "0.1.0"
edition = "2021"

[[bin]]
name = "debug_decompose_test"
path = "debug_decompose_test.rs"

[dependencies]
syn = { version = "2.0", features = ["full", "parsing", "quote"] }
quote = "1.0"
macro_tools = { path = "module/core/macro_tools" }
62 changes: 62 additions & 0 deletions debug_decompose_test.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
use syn::{parse_quote, Generics};
use macro_tools::generic_params;

fn main() {
println!("Testing decompose function with lifetime parameters...");

// Test case 1: Simple lifetime parameter
let generics1: Generics = parse_quote! { <'a> };
let (with_defaults, impl_gen, ty_gen, where_gen) = generic_params::decompose(&generics1);

println!("Test 1 - Single lifetime:");
println!(" with_defaults: {}", quote::quote! { #with_defaults });
println!(" impl_gen: {}", quote::quote! { #impl_gen });
println!(" ty_gen: {}", quote::quote! { #ty_gen });
println!(" where_gen: {}", quote::quote! { #where_gen });

// Test case 2: Multiple lifetime parameters
let generics2: Generics = parse_quote! { <'a, 'b> };
let (with_defaults2, impl_gen2, ty_gen2, where_gen2) = generic_params::decompose(&generics2);

println!("\nTest 2 - Multiple lifetimes:");
println!(" with_defaults: {}", quote::quote! { #with_defaults2 });
println!(" impl_gen: {}", quote::quote! { #impl_gen2 });
println!(" ty_gen: {}", quote::quote! { #ty_gen2 });
println!(" where_gen: {}", quote::quote! { #where_gen2 });

// Test case 3: Mixed generics with lifetimes first
let generics3: Generics = parse_quote! { <'a, T> };
let (with_defaults3, impl_gen3, ty_gen3, where_gen3) = generic_params::decompose(&generics3);

println!("\nTest 3 - Mixed (lifetime first):");
println!(" with_defaults: {}", quote::quote! { #with_defaults3 });
println!(" impl_gen: {}", quote::quote! { #impl_gen3 });
println!(" ty_gen: {}", quote::quote! { #ty_gen3 });
println!(" where_gen: {}", quote::quote! { #where_gen3 });

// Test case 4: Mixed generics with types first
let generics4: Generics = parse_quote! { <T, 'a> };
let (with_defaults4, impl_gen4, ty_gen4, where_gen4) = generic_params::decompose(&generics4);

println!("\nTest 4 - Mixed (type first):");
println!(" with_defaults: {}", quote::quote! { #with_defaults4 });
println!(" impl_gen: {}", quote::quote! { #impl_gen4 });
println!(" ty_gen: {}", quote::quote! { #ty_gen4 });
println!(" where_gen: {}", quote::quote! { #where_gen4 });

// Test if generated code can be parsed back
println!("\nTesting if generated code is valid Rust syntax:");

// Test parsing the impl_gen output
let impl_gen_str = format!("<{}>", quote::quote! { #impl_gen });
match syn::parse_str::<Generics>(&impl_gen_str) {
Ok(_) => println!(" impl_gen is valid: {}", impl_gen_str),
Err(e) => println!(" impl_gen is INVALID: {} - Error: {}", impl_gen_str, e),
}

let ty_gen_str = format!("<{}>", quote::quote! { #ty_gen });
match syn::parse_str::<Generics>(&ty_gen_str) {
Ok(_) => println!(" ty_gen is valid: {}", ty_gen_str),
Err(e) => println!(" ty_gen is INVALID: {} - Error: {}", ty_gen_str, e),
}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion module/alias/cargo_will/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ authors = [
"Dmytro Kryvoruchko <[email protected]>",
]
license = "MIT"
readme = "Readme.md"
readme = "readme.md"
documentation = "https://docs.rs/cargo-will"
repository = "https://github.com/Wandalen/wTools/tree/master/module/alias/cargo-will"
homepage = "https://github.com/Wandalen/wTools/tree/master/module/alias/cargo-will"
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion module/alias/cargo_will/src/bin/cargo-will.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,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" ) ) ]
#![ doc = include_str!( concat!( env!( "CARGO_MANIFEST_DIR" ), "/", "readme.md" ) ) ]

#[ allow( unused_imports ) ]
use::willbe::*;
Expand Down
2 changes: 1 addition & 1 deletion module/alias/cargo_will/src/bin/will.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,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" ) ) ]
#![ doc = include_str!( concat!( env!( "CARGO_MANIFEST_DIR" ), "/", "readme.md" ) ) ]

#[ allow( unused_imports ) ]
use::willbe::*;
Expand Down
2 changes: 1 addition & 1 deletion module/alias/cargo_will/src/bin/willbe.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,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" ) ) ]
#![ doc = include_str!( concat!( env!( "CARGO_MANIFEST_DIR" ), "/", "readme.md" ) ) ]

#[ allow( unused_imports ) ]
use::willbe::*;
Expand Down
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" ) ) ]
#![ doc = include_str!( concat!( env!( "CARGO_MANIFEST_DIR" ), "/", "readme.md" ) ) ]

#[ doc( inline ) ]
#[ allow( unused_imports ) ]
Expand Down
2 changes: 1 addition & 1 deletion module/alias/file_tools/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors = [
"Kostiantyn Wandalen <[email protected]>",
]
license = "MIT"
readme = "Readme.md"
readme = "readme.md"
documentation = "https://docs.rs/file_tools"
repository = "https://github.com/Wandalen/wTools/tree/master/module/core/file_tools"
homepage = "https://github.com/Wandalen/wTools/tree/master/module/core/file_tools"
Expand Down
File renamed without changes.
File renamed without changes.
18 changes: 9 additions & 9 deletions module/alias/file_tools/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#![ cfg_attr( feature = "no_std", no_std ) ]
#![ 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/file_tools/latest/file_tools/" ) ]
#![ doc = include_str!( concat!( env!( "CARGO_MANIFEST_DIR" ), "/", "Readme.md" ) ) ]
#![cfg_attr(feature = "no_std", no_std)]
#![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/file_tools/latest/file_tools/")]
#![ doc = include_str!( concat!( env!( "CARGO_MANIFEST_DIR" ), "/", "readme.md" ) ) ]

/// Function description.
#[ cfg( feature = "enabled" ) ]
pub fn f1()
{
}
#[cfg(feature = "enabled")]
pub fn f1() {}
Loading