Skip to content

Commit

Permalink
Alias the crate into the extern prelude.
Browse files Browse the repository at this point in the history
  • Loading branch information
artob committed Jul 28, 2024
1 parent 23d0424 commit db8b43c
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 10 deletions.
2 changes: 0 additions & 2 deletions lib/protoflow/src/blocks/const.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
// This is free and unencumbered software released into the public domain.

use crate as protoflow;

use protoflow::derive::Block;
use protoflow::{Block, BlockError, BlockRuntime, Message, OutputPort};

Expand Down
2 changes: 0 additions & 2 deletions lib/protoflow/src/blocks/count.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
// This is free and unencumbered software released into the public domain.

use crate as protoflow;

use protoflow::derive::Block;
use protoflow::{Block, BlockError, BlockRuntime, InputPort, Message, OutputPort, Port};

Expand Down
2 changes: 0 additions & 2 deletions lib/protoflow/src/blocks/delay.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
// This is free and unencumbered software released into the public domain.

use crate as protoflow;

use protoflow::derive::Block;
use protoflow::{
prelude::{Duration, Range},
Expand Down
2 changes: 0 additions & 2 deletions lib/protoflow/src/blocks/drop.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
// This is free and unencumbered software released into the public domain.

use crate as protoflow;

use protoflow::derive::Block;
use protoflow::{Block, BlockError, BlockRuntime, InputPort, Message};

Expand Down
2 changes: 0 additions & 2 deletions lib/protoflow/src/blocks/random.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
// This is free and unencumbered software released into the public domain.

use crate as protoflow;

use protoflow::derive::Block;
use protoflow::{Block, BlockError, BlockRuntime, Message, OutputPort};

Expand Down
2 changes: 2 additions & 0 deletions lib/protoflow/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

#![no_std]

extern crate self as protoflow;

#[doc(hidden)]
pub mod prelude;

Expand Down

0 comments on commit db8b43c

Please sign in to comment.