Skip to content

Commit

Permalink
Rename stuff #2
Browse files Browse the repository at this point in the history
  • Loading branch information
jpikl committed Aug 5, 2023
1 parent c8a398d commit 9d88439
Show file tree
Hide file tree
Showing 14 changed files with 41 additions and 45 deletions.
16 changes: 7 additions & 9 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crates/command/ascii/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition.workspace = true
anyhow.workspace = true
bstr.workspace = true
clap.workspace = true
rew_adapters = { path = "../../lib/adapter" }
rew_adapter = { path = "../../lib/adapter" }
rew_core = { path = "../../lib/core" }
rew_command = { path = "../../lib/command" }
rew_exec = { path = "../../lib/exec" }
Expand Down
2 changes: 1 addition & 1 deletion crates/command/ascii/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use bstr::BString;
use bstr::ByteSlice;
use bstr::ByteVec;
use clap::Args;
use rew_adapters::AdaptMapTo;
use rew_adapter::AdaptMapTo;
use rew_command::declare_command;
use rew_core::MapTo;
use rew_exec::Init;
Expand Down
2 changes: 1 addition & 1 deletion crates/command/x/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ anyhow.workspace = true
bstr.workspace = true
clap.workspace = true
owo-colors.workspace = true
rew_adapters = { path = "../../lib/adapter" }
rew_adapter = { path = "../../lib/adapter" }
rew_core = { path = "../../lib/core" }
rew_command = { path = "../../lib/command" }
rew_exec = { path = "../../lib/exec" }
Expand Down
8 changes: 4 additions & 4 deletions crates/command/x/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ use bstr::BString;
use clap::builder::ValueParser;
use clap::command;
use clap::Args;
use rew_adapters::AdaptChannel;
use rew_adapters::ConsumeToWrite;
use rew_adapters::ProduceFromRead;
use rew_adapters::ToBuffer;
use rew_adapter::AdaptChannel;
use rew_adapter::ConsumeToWrite;
use rew_adapter::ProduceFromRead;
use rew_adapter::ToBuffer;
use rew_command::declare_command;
use rew_command::CommandMeta;
use rew_core::Channel;
Expand Down
6 changes: 3 additions & 3 deletions crates/lib/adapter/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[package]
name = "rew_adapters"
name = "rew_adapter"
version.workspace = true
edition.workspace = true

[dependencies]
anyhow.workspace = true
bstr.workspace = true
rew_core = { path = "../core" }
rew_fixture = { path = "../fixture" }

[dev-dependencies]
claims.workspace = true
rew_components = { path = "../component" }
rew_component = { path = "../component" }
rew_fixture = { path = "../fixture" }
2 changes: 1 addition & 1 deletion crates/lib/adapter/src/transform.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ impl<F> AdaptFilter<F> {
mod tests {
use super::*;
use claims::assert_ok_eq;
use rew_components::IterProduce;
use rew_component::IterProduce;
use rew_core::bstr;
use rew_fixture::FirstByte;
use rew_fixture::IsLowerCase;
Expand Down
3 changes: 1 addition & 2 deletions crates/lib/component/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "rew_components"
name = "rew_component"
version.workspace = true
edition.workspace = true

Expand All @@ -9,7 +9,6 @@ bstr.workspace = true
num-traits.workspace = true
owo-colors.workspace = true
rew_core = { path = "../core" }
rew_fixture = { path = "../fixture" }
thiserror.workspace = true

[dev-dependencies]
Expand Down
4 changes: 2 additions & 2 deletions crates/lib/exec/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ anyhow.workspace = true
bstr.workspace = true
byte-unit.workspace = true
clap.workspace = true
rew_adapters = { path = "../adapter" }
rew_adapter = { path = "../adapter" }
rew_core = { path = "../core" }
rew_io = { path = "../io" }

[dev-dependencies]
claims.workspace = true
rstest.workspace = true
rew_components = { path = "../component" }
rew_component = { path = "../component" }
rew_fixture = { path = "../fixture" }
10 changes: 5 additions & 5 deletions crates/lib/exec/src/context.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
use crate::GlobalArgs;
use rew_adapters::AdaptConsumeTo;
use rew_adapters::AdaptProduceFromTo;
use rew_adapters::ConsumeToWrite;
use rew_adapters::ProduceFromRead;
use rew_adapters::ToBuffer;
use rew_adapter::AdaptConsumeTo;
use rew_adapter::AdaptProduceFromTo;
use rew_adapter::ConsumeToWrite;
use rew_adapter::ProduceFromRead;
use rew_adapter::ToBuffer;
use rew_core::Consume;
use rew_core::LastProduced;
use rew_core::Produce;
Expand Down
2 changes: 1 addition & 1 deletion crates/lib/exec/src/fixture.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use crate::Context;
use bstr::BStr;
use bstr::BString;
use rew_components::IterProduce;
use rew_component::IterProduce;
use rew_core::Consume;
use std::io::Cursor;
use std::io::Write;
Expand Down
22 changes: 11 additions & 11 deletions crates/lib/exec/src/run.rs
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
use crate::Context;
use anyhow::Result;
use rew_adapters::AdaptChannel;
use rew_adapters::AdaptConsume;
use rew_adapters::AdaptConsumeTo;
use rew_adapters::AdaptFilter;
use rew_adapters::AdaptMap;
use rew_adapters::AdaptMapTo;
use rew_adapters::AdaptProduce;
use rew_adapters::AdaptProduceFrom;
use rew_adapters::AdaptProduceFromTo;
use rew_adapters::AdaptProduceTo;
use rew_adapters::AdaptTransform;
use rew_adapter::AdaptChannel;
use rew_adapter::AdaptConsume;
use rew_adapter::AdaptConsumeTo;
use rew_adapter::AdaptFilter;
use rew_adapter::AdaptMap;
use rew_adapter::AdaptMapTo;
use rew_adapter::AdaptProduce;
use rew_adapter::AdaptProduceFrom;
use rew_adapter::AdaptProduceFromTo;
use rew_adapter::AdaptProduceTo;
use rew_adapter::AdaptTransform;
use rew_core::Channel;
use rew_core::Consume;
use rew_core::ConsumeTo;
Expand Down
1 change: 0 additions & 1 deletion crates/lib/io/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ bstr.workspace = true
byte-unit.workspace = true
owo-colors.workspace = true
rew_core = { path = "../core" }
rew_fixture = { path = "../fixture" }
thiserror.workspace = true

[dev-dependencies]
Expand Down
6 changes: 3 additions & 3 deletions fuzz/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9d88439

Please sign in to comment.