forked from infinyon/fluvio
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update third party and remove circular dep (infinyon#3241)
- update sysinfo - remove circular dep within fluvio protocol derive
- Loading branch information
1 parent
c5a5c6c
commit b511ca4
Showing
53 changed files
with
557 additions
and
540 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#[test] | ||
fn ui() { | ||
let t = trybuild::TestCases::new(); | ||
t.compile_fail("ui-test/ui/wrong_direction.rs"); | ||
t.compile_fail("ui-test/ui/wrong_input_len.rs"); | ||
t.compile_fail("ui-test/ui/wrong_rust_type.rs"); | ||
t.compile_fail("ui-test/ui/not_async.rs"); | ||
t.compile_fail("ui-test/ui/invalid_config_type.rs"); | ||
t.compile_fail("ui-test/ui/config_input_self.rs"); | ||
t.compile_fail("ui-test/ui/config_use_reserved_name_fluvio.rs"); | ||
t.compile_fail("ui-test/ui/config_use_reserved_name_transforms.rs"); | ||
t.compile_fail("ui-test/ui/struct_without_config.rs"); | ||
} |
File renamed without changes.
6 changes: 3 additions & 3 deletions
6
...-derive/tests/ui/config_input_self.stderr → ...ommon/ui-test/ui/config_input_self.stderr
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,11 +1,11 @@ | ||
error: config input argument must not be self | ||
--> tests/ui/config_input_self.rs:4:19 | ||
--> ui-test/ui/config_input_self.rs:4:19 | ||
| | ||
4 | async fn start_fn(self, producer: ()) {} | ||
| ^^^^ | ||
|
||
error[E0601]: `main` function not found in crate `$CRATE` | ||
--> tests/ui/config_input_self.rs:4:41 | ||
--> ui-test/ui/config_input_self.rs:4:41 | ||
| | ||
4 | async fn start_fn(self, producer: ()) {} | ||
| ^ consider adding a `main` function to `$DIR/tests/ui/config_input_self.rs` | ||
| ^ consider adding a `main` function to `$DIR/ui-test/ui/config_input_self.rs` |
File renamed without changes.
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
File renamed without changes.
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
File renamed without changes.
6 changes: 3 additions & 3 deletions
6
...erive/tests/ui/invalid_config_type.stderr → ...mon/ui-test/ui/invalid_config_type.stderr
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,11 +1,11 @@ | ||
error: config type must valid path of owned type | ||
--> tests/ui/invalid_config_type.rs:4:19 | ||
--> ui-test/ui/invalid_config_type.rs:4:19 | ||
| | ||
4 | async fn start_fn(config: &[i32], producer: ()) {} | ||
| ^^^^^^ | ||
|
||
error[E0601]: `main` function not found in crate `$CRATE` | ||
--> tests/ui/invalid_config_type.rs:4:51 | ||
--> ui-test/ui/invalid_config_type.rs:4:51 | ||
| | ||
4 | async fn start_fn(config: &[i32], producer: ()) {} | ||
| ^ consider adding a `main` function to `$DIR/tests/ui/invalid_config_type.rs` | ||
| ^ consider adding a `main` function to `$DIR/ui-test/ui/invalid_config_type.rs` |
File renamed without changes.
6 changes: 3 additions & 3 deletions
6
...onnector-derive/tests/ui/not_async.stderr → ...nector-common/ui-test/ui/not_async.stderr
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,11 +1,11 @@ | ||
error: Connector function must be async | ||
--> tests/ui/not_async.rs:4:1 | ||
--> ui-test/ui/not_async.rs:4:1 | ||
| | ||
4 | fn start_fn() {} | ||
| ^^ | ||
|
||
error[E0601]: `main` function not found in crate `$CRATE` | ||
--> tests/ui/not_async.rs:4:17 | ||
--> ui-test/ui/not_async.rs:4:17 | ||
| | ||
4 | fn start_fn() {} | ||
| ^ consider adding a `main` function to `$DIR/tests/ui/not_async.rs` | ||
| ^ consider adding a `main` function to `$DIR/ui-test/ui/not_async.rs` |
File renamed without changes.
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
File renamed without changes.
6 changes: 3 additions & 3 deletions
6
...or-derive/tests/ui/wrong_direction.stderr → ...-common/ui-test/ui/wrong_direction.stderr
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,11 +1,11 @@ | ||
error: Missing Connector type. Supported: '#[connector(source)]' and '#[connector(sink)]' | ||
--> tests/ui/wrong_direction.rs:3:13 | ||
--> ui-test/ui/wrong_direction.rs:3:13 | ||
| | ||
3 | #[connector(wrong)] | ||
| ^^^^^ | ||
|
||
error[E0601]: `main` function not found in crate `$CRATE` | ||
--> tests/ui/wrong_direction.rs:4:17 | ||
--> ui-test/ui/wrong_direction.rs:4:17 | ||
| | ||
4 | fn start_fn() {} | ||
| ^ consider adding a `main` function to `$DIR/tests/ui/wrong_direction.rs` | ||
| ^ consider adding a `main` function to `$DIR/ui-test/ui/wrong_direction.rs` |
File renamed without changes.
6 changes: 3 additions & 3 deletions
6
...or-derive/tests/ui/wrong_input_len.stderr → ...-common/ui-test/ui/wrong_input_len.stderr
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,11 +1,11 @@ | ||
error: Connector function must have two input arguments | ||
--> tests/ui/wrong_input_len.rs:4:1 | ||
--> ui-test/ui/wrong_input_len.rs:4:1 | ||
| | ||
4 | async fn start_fn() {} | ||
| ^^^^^ | ||
|
||
error[E0601]: `main` function not found in crate `$CRATE` | ||
--> tests/ui/wrong_input_len.rs:4:23 | ||
--> ui-test/ui/wrong_input_len.rs:4:23 | ||
| | ||
4 | async fn start_fn() {} | ||
| ^ consider adding a `main` function to `$DIR/tests/ui/wrong_input_len.rs` | ||
| ^ consider adding a `main` function to `$DIR/ui-test/ui/wrong_input_len.rs` |
File renamed without changes.
11 changes: 11 additions & 0 deletions
11
crates/fluvio-connector-common/ui-test/ui/wrong_rust_type.stderr
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,11 @@ | ||
error: macro supports only functions and structs | ||
--> ui-test/ui/wrong_rust_type.rs:4:1 | ||
| | ||
4 | mod start {} | ||
| ^^^ | ||
|
||
error[E0601]: `main` function not found in crate `$CRATE` | ||
--> ui-test/ui/wrong_rust_type.rs:4:13 | ||
| | ||
4 | mod start {} | ||
| ^ consider adding a `main` function to `$DIR/ui-test/ui/wrong_rust_type.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
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
crates/fluvio-connector-derive/tests/ui/wrong_rust_type.stderr
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.