Skip to content

Commit db8b43c

Browse files
committed
Alias the crate into the extern prelude.
See: rust-lang/rust#54647 See: rust-lang/rust#55275
1 parent 23d0424 commit db8b43c

File tree

6 files changed

+2
-10
lines changed

6 files changed

+2
-10
lines changed

Diff for: lib/protoflow/src/blocks/const.rs

-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
// This is free and unencumbered software released into the public domain.
22

3-
use crate as protoflow;
4-
53
use protoflow::derive::Block;
64
use protoflow::{Block, BlockError, BlockRuntime, Message, OutputPort};
75

Diff for: lib/protoflow/src/blocks/count.rs

-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
// This is free and unencumbered software released into the public domain.
22

3-
use crate as protoflow;
4-
53
use protoflow::derive::Block;
64
use protoflow::{Block, BlockError, BlockRuntime, InputPort, Message, OutputPort, Port};
75

Diff for: lib/protoflow/src/blocks/delay.rs

-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
// This is free and unencumbered software released into the public domain.
22

3-
use crate as protoflow;
4-
53
use protoflow::derive::Block;
64
use protoflow::{
75
prelude::{Duration, Range},

Diff for: lib/protoflow/src/blocks/drop.rs

-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
// This is free and unencumbered software released into the public domain.
22

3-
use crate as protoflow;
4-
53
use protoflow::derive::Block;
64
use protoflow::{Block, BlockError, BlockRuntime, InputPort, Message};
75

Diff for: lib/protoflow/src/blocks/random.rs

-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
// This is free and unencumbered software released into the public domain.
22

3-
use crate as protoflow;
4-
53
use protoflow::derive::Block;
64
use protoflow::{Block, BlockError, BlockRuntime, Message, OutputPort};
75

Diff for: lib/protoflow/src/lib.rs

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
#![no_std]
44

5+
extern crate self as protoflow;
6+
57
#[doc(hidden)]
68
pub mod prelude;
79

0 commit comments

Comments
 (0)