-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1364 from Wandalen/alpha
Alpha
- Loading branch information
Showing
132 changed files
with
2,773 additions
and
138 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name : former_types | ||
|
||
on : | ||
push : | ||
branches : | ||
- 'alpha' | ||
- 'beta' | ||
- 'master' | ||
|
||
|
||
env : | ||
CARGO_TERM_COLOR : always | ||
|
||
jobs : | ||
|
||
# former_types | ||
|
||
test : | ||
uses : Wandalen/wTools/.github/workflows/standard_rust_push.yml@alpha | ||
with : | ||
manifest_path : 'module/core/former_types/Cargo.toml' | ||
module_name : 'former_types' | ||
commit_message : ${{ github.event.head_commit.message }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "clone_dyn" | ||
version = "0.17.0" | ||
version = "0.18.0" | ||
edition = "2021" | ||
authors = [ | ||
"Kostiantyn Wandalen <[email protected]>", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "clone_dyn_meta" | ||
version = "0.17.0" | ||
version = "0.18.0" | ||
edition = "2021" | ||
authors = [ | ||
"Kostiantyn Wandalen <[email protected]>", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "derive_tools" | ||
version = "0.23.0" | ||
version = "0.24.0" | ||
edition = "2021" | ||
authors = [ | ||
"Kostiantyn Wandalen <[email protected]>", | ||
|
10 changes: 10 additions & 0 deletions
10
module/core/derive_tools/tests/inc/deref/bounds_inlined.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
use core::fmt::Debug; | ||
|
||
use core::ops::Deref; | ||
use derive_tools::Deref; | ||
|
||
#[ allow( dead_code ) ] | ||
#[ derive( Deref ) ] | ||
struct BoundsInlined< T : ToString, U : Debug >( T, U ); | ||
|
||
include!( "./only_tests/bounds_inlined.rs" ); |
17 changes: 17 additions & 0 deletions
17
module/core/derive_tools/tests/inc/deref/bounds_inlined_manual.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
use core::fmt::Debug; | ||
|
||
use core::ops::Deref; | ||
|
||
#[ allow( dead_code ) ] | ||
struct BoundsInlined< T : ToString, U : Debug >( T, U ); | ||
|
||
impl< T : ToString, U : Debug > Deref for BoundsInlined< T, U > | ||
{ | ||
type Target = T; | ||
fn deref( &self ) -> &Self::Target | ||
{ | ||
&self.0 | ||
} | ||
} | ||
|
||
include!( "./only_tests/bounds_inlined.rs" ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
use core::fmt::Debug; | ||
|
||
use core::ops::Deref; | ||
use derive_tools::Deref; | ||
|
||
#[ allow( dead_code ) ] | ||
#[ derive( Deref ) ] | ||
struct BoundsMixed< T : ToString, U >( T, U ) | ||
where | ||
U : Debug; | ||
|
||
include!( "./only_tests/bounds_mixed.rs" ); |
21 changes: 21 additions & 0 deletions
21
module/core/derive_tools/tests/inc/deref/bounds_mixed_manual.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
use core::fmt::Debug; | ||
|
||
use core::ops::Deref; | ||
|
||
#[ allow( dead_code ) ] | ||
struct BoundsMixed< T : ToString, U >( T, U ) | ||
where | ||
U : Debug; | ||
|
||
impl< T : ToString, U > Deref for BoundsMixed< T, U > | ||
where | ||
U : Debug, | ||
{ | ||
type Target = T; | ||
fn deref( &self ) -> &Self::Target | ||
{ | ||
&self.0 | ||
} | ||
} | ||
|
||
include!( "./only_tests/bounds_mixed.rs" ); |
Oops, something went wrong.