Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AUTO : Forward from assistant to alpha #1373

Merged
merged 94 commits into from
Jun 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
94 commits
Select commit Hold shift + click to select a range
86d3433
initial crates
Wandalen Jun 4, 2024
fc251c8
assistant: initial setup
Wandalen Jun 4, 2024
d5723ed
experimenting
Wandalen Jun 4, 2024
f44afa9
experimenting
Wandalen Jun 4, 2024
0662842
experimenting
Wandalen Jun 4, 2024
457b306
experimenting
Wandalen Jun 4, 2024
9c1cac2
experimenting
Wandalen Jun 4, 2024
4d086de
experimenting
Wandalen Jun 4, 2024
8ca99df
experimenting
Wandalen Jun 4, 2024
727750b
experimenting
Wandalen Jun 4, 2024
62baab0
experimenting
Wandalen Jun 4, 2024
7102e28
experimenting
Wandalen Jun 4, 2024
08c58c9
experimenting
Wandalen Jun 4, 2024
dd9e7c8
experimenting
Wandalen Jun 4, 2024
c6057c0
experimenting
Wandalen Jun 4, 2024
e0e9c83
experimenting
Wandalen Jun 4, 2024
5016bc5
experimenting
Wandalen Jun 4, 2024
2109b36
experimenting
Wandalen Jun 4, 2024
325b18c
experimenting
Wandalen Jun 4, 2024
063a17f
experimenting
Wandalen Jun 4, 2024
37cbe77
experimenting
Wandalen Jun 4, 2024
56a7eab
experimenting
Wandalen Jun 4, 2024
480dc34
experimenting
Wandalen Jun 4, 2024
e811daf
experimenting
Wandalen Jun 4, 2024
5c60288
experimenting
Wandalen Jun 4, 2024
1b4f3f8
experimenting
Wandalen Jun 4, 2024
116d5f9
experimenting
Wandalen Jun 4, 2024
9ce86b6
experimenting
Wandalen Jun 4, 2024
f1cdbcb
experimenting
Wandalen Jun 4, 2024
38495a7
experimenting
Wandalen Jun 5, 2024
f32c01c
experimenting
Wandalen Jun 5, 2024
06eecdc
experimenting
Wandalen Jun 5, 2024
1c52af4
experimenting
Wandalen Jun 5, 2024
f1adf38
experimenting
Wandalen Jun 5, 2024
0f82968
experimenting
Wandalen Jun 5, 2024
6b1bf32
experimenting
Wandalen Jun 5, 2024
29dc632
experimenting
Wandalen Jun 5, 2024
d1a9f6d
experimenting
Wandalen Jun 5, 2024
277e2d8
experimenting
Wandalen Jun 5, 2024
8bfaac2
experimenting
Wandalen Jun 5, 2024
f6eb21c
experimenting
Wandalen Jun 5, 2024
fb7b3bc
experimenting
Wandalen Jun 5, 2024
6c15239
experimenting
Wandalen Jun 5, 2024
2f4a7ad
experimenting
Wandalen Jun 5, 2024
4494cf4
experimenting
Wandalen Jun 5, 2024
bb23988
experimenting
Wandalen Jun 5, 2024
17240d9
experimenting
Wandalen Jun 5, 2024
b4ed166
experimenting
Wandalen Jun 5, 2024
2f3c9f2
experimenting
Wandalen Jun 6, 2024
68474dd
experimenting
Wandalen Jun 6, 2024
c12238e
experimenting
Wandalen Jun 6, 2024
b867baa
experimenting
Wandalen Jun 6, 2024
7630513
experimenting
Wandalen Jun 6, 2024
f77cae2
reflect: experimenting
Wandalen Jun 7, 2024
9430ddd
reflect: experimenting
Wandalen Jun 7, 2024
0625462
reflect: experimenting
Wandalen Jun 7, 2024
02635d9
experimenting
Wandalen Jun 7, 2024
9585972
reflect: MaybeAs experimenting
Wandalen Jun 8, 2024
b01327f
reflect: MaybeAs experimenting
Wandalen Jun 8, 2024
3eb52d8
reflect: MaybeAs experimenting
Wandalen Jun 8, 2024
09e2aa5
reflect: MaybeAs experimenting
Wandalen Jun 8, 2024
fa446b9
reflect: MaybeAs experimenting
Wandalen Jun 8, 2024
ed5a008
reflect: MaybeAs experimenting
Wandalen Jun 8, 2024
1fb0287
reflect: MaybeAs experimenting
Wandalen Jun 8, 2024
cfb3a7e
reflect: MaybeAs experimenting
Wandalen Jun 8, 2024
488ed7c
reflect: MaybeAs experimenting
Wandalen Jun 8, 2024
cd96582
reflect: MaybeAs experimenting
Wandalen Jun 8, 2024
2ef3d1d
reflect: MaybeAs experimenting
Wandalen Jun 8, 2024
49eccda
reflect: MaybeAs experimenting
Wandalen Jun 8, 2024
2cfb436
reflect: MaybeAs experimenting
Wandalen Jun 8, 2024
cce6bf4
reflect: MaybeAs experimenting
Wandalen Jun 8, 2024
e1eb45b
reflect: MaybeAs experimenting
Wandalen Jun 8, 2024
6cb2620
reflect: MaybeAs experimenting
Wandalen Jun 8, 2024
47b4b47
reflect: MaybeAs experimenting
Wandalen Jun 8, 2024
a3871b4
reflect: ToStringWithFallback
Wandalen Jun 8, 2024
3a9eefe
reflect: ToStringWithFallback
Wandalen Jun 8, 2024
bad8fdc
reflect: ToStringWithFallback
Wandalen Jun 8, 2024
3dbf392
reflect: ToString
Wandalen Jun 8, 2024
69bc8fb
reflect: ToString
Wandalen Jun 8, 2024
c0da2bb
reflect: ToString
Wandalen Jun 8, 2024
6730675
reflect: ToString
Wandalen Jun 8, 2024
be6a4ea
reflect: ToString
Wandalen Jun 8, 2024
bbcfdc7
reflect: ToString
Wandalen Jun 8, 2024
0b65afb
reflect: ToString
Wandalen Jun 8, 2024
103334e
reflect: ToString
Wandalen Jun 8, 2024
caa4139
reflect: ToString
Wandalen Jun 8, 2024
66c9c8e
reflect: ToString
Wandalen Jun 8, 2024
731d282
reflect: ToString
Wandalen Jun 8, 2024
d32b320
reflect: ToString
Wandalen Jun 8, 2024
e1e104a
reflect: move out reflect-related entities from assistant
Wandalen Jun 8, 2024
3e5e3dc
assistant: use reflect_tools
Wandalen Jun 8, 2024
19e38b6
reflect_tools: refactor to_string code
Wandalen Jun 8, 2024
24412dd
format_tools
Wandalen Jun 8, 2024
b38c707
assitant : fix it
Wandalen Jun 8, 2024
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
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
!/.circleci
!/.*

/build
/builder
/binding
/target
/node_modules
Expand All @@ -14,6 +12,7 @@
/.vscode
/_*

.env
_key
_data
target
Expand Down
7 changes: 7 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,13 @@ path = "module/core/reflect_tools_meta"
default-features = false
features = [ "enabled" ]

[workspace.dependencies.format_tools]
version = "~0.1.0"
path = "module/core/format_tools"
default-features = false
features = [ "enabled" ]
# xxx : remove features, maybe

# [workspace.dependencies.type_constructor]
# version = "~0.3.0"
# path = "module/core/type_constructor"
Expand Down
4 changes: 2 additions & 2 deletions module/alias/cargo_will/tests/smoke_test.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@

// #[ cfg( feature = "default" ) ]

#[ test ]
fn local_smoke_test()
{
::test_tools::smoke_test_for_local_run();
}

// #[ cfg( feature = "default" ) ]

#[ test ]
fn published_smoke_test()
{
Expand Down
4 changes: 2 additions & 2 deletions module/alias/file_tools/tests/smoke_test.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@

// #[ cfg( feature = "default" ) ]

#[ test ]
fn local_smoke_test()
{
::test_tools::smoke_test_for_local_run();
}

// #[ cfg( feature = "default" ) ]

#[ test ]
fn published_smoke_test()
{
Expand Down
4 changes: 2 additions & 2 deletions module/alias/fundamental_data_type/tests/smoke_test.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@

// #[ cfg( feature = "default" ) ]

#[ test ]
fn local_smoke_test()
{
::test_tools::smoke_test_for_local_run();
}

// #[ cfg( feature = "default" ) ]

#[ test ]
fn published_smoke_test()
{
Expand Down
4 changes: 2 additions & 2 deletions module/alias/instance_of/tests/smoke_test.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@

// #[ cfg( feature = "default" ) ]

#[ test ]
fn local_smoke_test()
{
::test_tools::smoke_test_for_local_run();
}

// #[ cfg( feature = "default" ) ]

#[ test ]
fn published_smoke_test()
{
Expand Down
4 changes: 2 additions & 2 deletions module/alias/multilayer/tests/smoke_test.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@

// #[ cfg( feature = "default" ) ]

#[ test ]
fn local_smoke_test()
{
::test_tools::smoke_test_for_local_run();
}

// #[ cfg( feature = "default" ) ]

#[ test ]
fn published_smoke_test()
{
Expand Down
4 changes: 2 additions & 2 deletions module/alias/proc_macro_tools/tests/smoke_test.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@

// #[ cfg( feature = "default" ) ]

#[ test ]
fn local_smoke_test()
{
::test_tools::smoke_test_for_local_run();
}

// #[ cfg( feature = "default" ) ]

#[ test ]
fn published_smoke_test()
{
Expand Down
4 changes: 2 additions & 2 deletions module/alias/proper_tools/tests/smoke_test.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@

// #[ cfg( feature = "default" ) ]

#[ test ]
fn local_smoke_test()
{
::test_tools::smoke_test_for_local_run();
}

// #[ cfg( feature = "default" ) ]

#[ test ]
fn published_smoke_test()
{
Expand Down
4 changes: 2 additions & 2 deletions module/alias/werror/tests/smoke_test.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@

// #[ cfg( feature = "default" ) ]

#[ test ]
fn local_smoke_test()
{
::test_tools::smoke_test_for_local_run();
}

// #[ cfg( feature = "default" ) ]

#[ test ]
fn published_smoke_test()
{
Expand Down
4 changes: 2 additions & 2 deletions module/alias/willbe2/tests/smoke_test.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@

// #[ cfg( feature = "default" ) ]

#[ test ]
fn local_smoke_test()
{
::test_tools::smoke_test_for_local_run();
}

// #[ cfg( feature = "default" ) ]

#[ test ]
fn published_smoke_test()
{
Expand Down
4 changes: 2 additions & 2 deletions module/alias/wproc_macro/tests/smoke_test.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@

// #[ cfg( feature = "default" ) ]

#[ test ]
fn local_smoke_test()
{
::test_tools::smoke_test_for_local_run();
}

// #[ cfg( feature = "default" ) ]

#[ test ]
fn published_smoke_test()
{
Expand Down
4 changes: 2 additions & 2 deletions module/alias/wstring_tools/tests/smoke_test.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@

// #[ cfg( feature = "default" ) ]

#[ test ]
fn local_smoke_test()
{
::test_tools::smoke_test_for_local_run();
}

// #[ cfg( feature = "default" ) ]

#[ test ]
fn published_smoke_test()
{
Expand Down
4 changes: 2 additions & 2 deletions module/alias/wtest/tests/smoke_test.rs
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@

// #[ cfg( feature = "default" ) ]

#[ test ]
#[ ignore ]
fn local_smoke_test()
{
::test_tools::smoke_test_for_local_run();
}

// #[ cfg( feature = "default" ) ]

#[ test ]
fn published_smoke_test()
{
Expand Down
4 changes: 2 additions & 2 deletions module/alias/wtest_basic/tests/smoke_test.rs
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@

// #[ cfg( feature = "default" ) ]

#[ test ]
#[ ignore ]
fn local_smoke_test()
{
::test_tools::smoke_test_for_local_run();
}

// #[ cfg( feature = "default" ) ]

#[ test ]
fn published_smoke_test()
{
Expand Down
34 changes: 34 additions & 0 deletions module/blank/brain_tools/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[package]
name = "brain_tools"
version = "0.1.0"
edition = "2021"
authors = [
"Kostiantyn Wandalen <[email protected]>",
]
license = "MIT"
readme = "Readme.md"
documentation = "https://docs.rs/brain_tools"
repository = "https://github.com/Wandalen/wTools/tree/master/module/core/brain_tools"
homepage = "https://github.com/Wandalen/wTools/tree/master/module/core/brain_tools"
description = """
Tools for second brain.
"""
categories = [ "algorithms", "development-tools" ]
keywords = [ "fundamental", "general-purpose" ]

[lints]
workspace = true

[package.metadata.docs.rs]
features = [ "full" ]
all-features = false

[features]
default = [ "enabled" ]
full = [ "enabled" ]
enabled = []

[dependencies]

[dev-dependencies]
test_tools = { workspace = true }
22 changes: 22 additions & 0 deletions module/blank/brain_tools/License
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
Copyright Kostiantyn W and Out of the Box Systems (c) 2013-2024

Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
33 changes: 33 additions & 0 deletions module/blank/brain_tools/Readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<!-- {{# generate.module_header{} #}} -->

# Module :: brain_tools
[![experimental](https://raster.shields.io/static/v1?label=stability&message=experimental&color=orange&logoColor=eee)](https://github.com/emersion/stability-badges#experimental) [![rust-status](https://github.com/Wandalen/wTools/actions/workflows/Modulebrain_toolsPush.yml/badge.svg)](https://github.com/Wandalen/wTools/actions/workflows/Modulebrain_toolsPush.yml) [![docs.rs](https://img.shields.io/docsrs/brain_tools?color=e3e8f0&logo=docs.rs)](https://docs.rs/brain_tools) [![discord](https://img.shields.io/discord/872391416519737405?color=eee&logo=discord&logoColor=eee&label=ask)](https://discord.gg/m3YfbXpUUY)

Tools for second brain.

<!--
### Basic use-case

```rust
use brain_tools::*;

fn main()
{
}
```

### To add to your project

```bash
cargo add brain_tools
```

### Try out from the repository

``` shell test
git clone https://github.com/Wandalen/wTools
cd wTools
cargo run --example brain_tools_trivial
cargo run
```
-->
11 changes: 11 additions & 0 deletions module/blank/brain_tools/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +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/brain_tools/latest/brain_tools/" ) ]
#![ doc = include_str!( concat!( env!( "CARGO_MANIFEST_DIR" ), "/", "Readme.md" ) ) ]

/// Function description.
#[ cfg( feature = "enabled" ) ]
pub fn f1()
{
}
7 changes: 7 additions & 0 deletions module/blank/brain_tools/tests/inc/basic_test.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#[ allow( unused_imports ) ]
use super::*;

#[ test ]
fn basic()
{
}
4 changes: 4 additions & 0 deletions module/blank/brain_tools/tests/inc/mod.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#[ allow( unused_imports ) ]
use super::*;

mod basic_test;
12 changes: 12 additions & 0 deletions module/blank/brain_tools/tests/smoke_test.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@

#[ test ]
fn local_smoke_test()
{
::test_tools::smoke_test_for_local_run();
}

#[ test ]
fn published_smoke_test()
{
::test_tools::smoke_test_for_published_run();
}
10 changes: 10 additions & 0 deletions module/blank/brain_tools/tests/tests.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

include!( "../../../../module/step/meta/src/module/terminal.rs" );

#[ allow( unused_imports ) ]
use brain_tools as the_module;
#[ allow( unused_imports ) ]
use test_tools::exposed::*;

#[ cfg( feature = "enabled" ) ]
mod inc;
4 changes: 2 additions & 2 deletions module/blank/exe_tools/tests/smoke_test.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@

// #[ cfg( feature = "default" ) ]

#[ test ]
fn local_smoke_test()
{
::test_tools::smoke_test_for_local_run();
}

// #[ cfg( feature = "default" ) ]

#[ test ]
fn published_smoke_test()
{
Expand Down
4 changes: 2 additions & 2 deletions module/blank/image_tools/tests/smoke_test.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@

// #[ cfg( feature = "default" ) ]

#[ test ]
fn local_smoke_test()
{
::test_tools::smoke_test_for_local_run();
}

// #[ cfg( feature = "default" ) ]

#[ test ]
fn published_smoke_test()
{
Expand Down
Loading
Loading