Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: adjust libflux workspace to be idiomatic #3353

Merged
merged 1 commit into from
Nov 24, 2020

Conversation

rockstar
Copy link
Contributor

Obligatory: apologies for using the term "idiomatic" here; I couldn't
find a better word.

When working with a rust workspace, it is usually in the context of
multiple connected crates. Our use of multiple crates is needed and
makes sense. However, the crates aren't laid out the way a normal crate
would be laid out, and the src in the workspace is usually not there.
This patch simplifies the rust workspace layout, removes some overrides
in various Cargo.toml files, and fixes the build accordingly.

Fixes #2342

@rockstar rockstar force-pushed the chore/rust-workspace branch 4 times, most recently from 252c269 to b20bbba Compare November 24, 2020 21:22
Copy link
Contributor

@adrian-thurston adrian-thurston left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thanks for tidying this up!

_Obligatory: apologies for using the term "idiomatic" here; I couldn't
find a better word._

When working with a rust workspace, it is usually in the context of
multiple connected crates. Our use of multiple crates is needed and
makes sense. However, the crates aren't laid out the way a normal crate
would be laid out, and the `src` in the workspace is usually not there.
This patch simplifies the rust workspace layout, removes some overrides
in various `Cargo.toml` files, and fixes the build accordingly.

Fixes influxdata#2342
@rockstar rockstar force-pushed the chore/rust-workspace branch from b20bbba to 9208613 Compare November 24, 2020 21:35
@rockstar rockstar merged commit 92102aa into influxdata:master Nov 24, 2020
@rockstar rockstar deleted the chore/rust-workspace branch November 24, 2020 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Workspace configuration of flux crate confuses rustc
2 participants