Skip to content

Commit 82e479f

Browse files
committed
rename
1 parent 35f032e commit 82e479f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+209
-71
lines changed

Cargo.toml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -366,11 +366,16 @@ version = "~0.1.0"
366366
path = "module/alias/file_tools"
367367
default-features = false
368368

369-
[workspace.dependencies.proper_path_tools]
369+
[workspace.dependencies.pth]
370370
version = "~0.15.0"
371-
path = "module/core/proper_path_tools"
371+
path = "module/core/pth"
372372
default-features = false
373373

374+
# [workspace.dependencies.proper_path_tools]
375+
# version = "~0.15.0"
376+
# path = "module/core/proper_path_tools"
377+
# default-features = false
378+
374379

375380
## process tools
376381

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
[package]
2+
name = "proper_path_tools"
3+
version = "0.1.0"
4+
edition = "2021"
5+
authors = [
6+
"Kostiantyn Wandalen <[email protected]>",
7+
]
8+
license = "MIT"
9+
readme = "Readme.md"
10+
documentation = "https://docs.rs/proper_path_tools"
11+
repository = "https://github.com/Wandalen/wTools/tree/master/module/core/proper_path_tools"
12+
homepage = "https://github.com/Wandalen/wTools/tree/master/module/core/proper_path_tools"
13+
description = """
14+
Tools for second brain.
15+
"""
16+
categories = [ "algorithms", "development-tools" ]
17+
keywords = [ "fundamental", "general-purpose" ]
18+
19+
[lints]
20+
workspace = true
21+
22+
[package.metadata.docs.rs]
23+
features = [ "full" ]
24+
all-features = false
25+
26+
[features]
27+
default = [ "enabled" ]
28+
full = [ "enabled" ]
29+
enabled = []
30+
31+
[dependencies]
32+
33+
[dev-dependencies]
34+
test_tools = { workspace = true }
File renamed without changes.
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<!-- {{# generate.module_header{} #}} -->
2+
3+
# Module :: proper_path_tools
4+
[![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/Moduleproper_path_toolsPush.yml/badge.svg)](https://github.com/Wandalen/wTools/actions/workflows/Moduleproper_path_toolsPush.yml) [![docs.rs](https://img.shields.io/docsrs/proper_path_tools?color=e3e8f0&logo=docs.rs)](https://docs.rs/proper_path_tools) [![discord](https://img.shields.io/discord/872391416519737405?color=eee&logo=discord&logoColor=eee&label=ask)](https://discord.gg/m3YfbXpUUY)
5+
6+
Tools for second brain.
7+
8+
<!--
9+
### Basic use-case
10+
11+
```rust
12+
use proper_path_tools::*;
13+
14+
fn main()
15+
{
16+
}
17+
```
18+
19+
### To add to your project
20+
21+
```bash
22+
cargo add proper_path_tools
23+
```
24+
25+
### Try out from the repository
26+
27+
``` shell test
28+
git clone https://github.com/Wandalen/wTools
29+
cd wTools
30+
cargo run --example proper_path_tools_trivial
31+
cargo run
32+
```
33+
-->
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
2+
#![ doc( html_logo_url = "https://raw.githubusercontent.com/Wandalen/wTools/master/asset/img/logo_v3_trans_square.png" ) ]
3+
#![ doc( html_favicon_url = "https://raw.githubusercontent.com/Wandalen/wTools/alpha/asset/img/logo_v3_trans_square_icon_small_v2.ico" ) ]
4+
#![ doc( html_root_url = "https://docs.rs/proper_path_tools/latest/proper_path_tools/" ) ]
5+
#![ doc = include_str!( concat!( env!( "CARGO_MANIFEST_DIR" ), "/", "Readme.md" ) ) ]
6+
7+
/// Function description.
8+
#[ cfg( feature = "enabled" ) ]
9+
pub fn f1()
10+
{
11+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#[ allow( unused_imports ) ]
2+
use super::*;
3+
4+
#[ test ]
5+
fn basic()
6+
{
7+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#[ allow( unused_imports ) ]
2+
use super::*;
3+
4+
mod basic_test;
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
2+
#[ test ]
3+
fn local_smoke_test()
4+
{
5+
::test_tools::smoke_test_for_local_run();
6+
}
7+
8+
#[ test ]
9+
fn published_smoke_test()
10+
{
11+
::test_tools::smoke_test_for_published_run();
12+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
2+
include!( "../../../../module/step/meta/src/module/terminal.rs" );
3+
4+
#[ allow( unused_imports ) ]
5+
use proper_path_tools as the_module;
6+
#[ allow( unused_imports ) ]
7+
use test_tools::exposed::*;
8+
9+
#[ cfg( feature = "enabled" ) ]
10+
mod inc;

module/core/mod_interface_meta/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
// };
4444
// }
4545

46-
// xxx : make use proper_path_tools::own::path working
46+
// xxx : make use pth::own::path working
4747

4848
// xxx : put modular files into a namespace `file` maybe
4949
// #[ cfg( feature = "enabled" ) ]

0 commit comments

Comments
 (0)