Skip to content

Commit e6afaa6

Browse files
committed
Alias the crate into the extern prelude.
See: rust-lang/rust#54647 See: rust-lang/rust#55275
1 parent 6ab9d81 commit e6afaa6

File tree

6 files changed

+2
-10
lines changed

6 files changed

+2
-10
lines changed

lib/protoflow/src/blocks/const.rs

Lines changed: 0 additions & 2 deletions
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

lib/protoflow/src/blocks/count.rs

Lines changed: 0 additions & 2 deletions
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

lib/protoflow/src/blocks/delay.rs

Lines changed: 0 additions & 2 deletions
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},

lib/protoflow/src/blocks/drop.rs

Lines changed: 0 additions & 2 deletions
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

lib/protoflow/src/blocks/random.rs

Lines changed: 0 additions & 2 deletions
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

lib/protoflow/src/lib.rs

Lines changed: 2 additions & 0 deletions
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)