-
Notifications
You must be signed in to change notification settings - Fork 11
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
Cargo.toml cleanups #26
Open
Be-ing
wants to merge
3
commits into
udoprog:main
Choose a base branch
from
Be-ing:cargo_workspace
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,6 +23,19 @@ default-members = [ | |
"ste", | ||
] | ||
|
||
[workspace.package] | ||
version = "0.2.0-alpha.4" | ||
authors = ["John-John Tedro <[email protected]>"] | ||
# Generic associated types were stabilized in 1.65. | ||
rust-version = "1.65" | ||
edition = "2021" | ||
documentation = "https://docs.rs/audio" | ||
homepage = "https://github.com/udoprog/audio" | ||
repository = "https://github.com/udoprog/audio" | ||
license = "MIT/Apache-2.0" | ||
keywords = ["audio", "buffer", "dsp"] | ||
categories = ["multimedia::audio"] | ||
|
||
[patch.'https://github.com/udoprog/audio'] | ||
audio = { path = "audio" } | ||
audio-core = { path = "audio-core" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
[package] | ||
name = "audio-core" | ||
version = "0.2.0-alpha.4" | ||
authors = ["John-John Tedro <[email protected]>"] | ||
edition = "2018" | ||
description = "The core audio traits" | ||
documentation = "https://docs.rs/audio" | ||
readme = "README.md" | ||
homepage = "https://github.com/udoprog/audio" | ||
repository = "https://github.com/udoprog/audio" | ||
license = "MIT/Apache-2.0" | ||
keywords = ["audio", "buffer", "dsp"] | ||
categories = ["multimedia::audio"] | ||
version.workspace = true | ||
authors.workspace = true | ||
rust-version.workspace = true | ||
edition.workspace = true | ||
documentation.workspace = true | ||
homepage.workspace = true | ||
repository.workspace = true | ||
license.workspace = true | ||
keywords.workspace = true | ||
categories.workspace = true | ||
|
||
[features] | ||
default = ["std"] | ||
std = [] | ||
|
||
[dev-dependencies] | ||
audio = { version = "0.2.0-alpha.4", path = "../audio" } | ||
audio = { path = "../audio" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
[package] | ||
name = "audio-device-alsa-sys" | ||
version = "0.1.0-alpha.1" | ||
authors = ["John-John Tedro <[email protected]>"] | ||
edition = "2018" | ||
description = "audio-device system bindings for ALSA" | ||
documentation = "https://docs.rs/audio" | ||
readme = "README.md" | ||
homepage = "https://github.com/udoprog/audio" | ||
repository = "https://github.com/udoprog/audio" | ||
license = "MIT/Apache-2.0" | ||
keywords = ["audio", "buffer", "dsp"] | ||
categories = ["multimedia::audio"] | ||
version.workspace = true | ||
authors.workspace = true | ||
rust-version.workspace = true | ||
edition.workspace = true | ||
documentation.workspace = true | ||
homepage.workspace = true | ||
repository.workspace = true | ||
license.workspace = true | ||
keywords.workspace = true | ||
categories.workspace = true | ||
|
||
[dependencies] | ||
libc = "0.2.125" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
[package] | ||
name = "audio-device-pipewire-sys" | ||
version = "0.1.0-alpha.1" | ||
authors = ["John-John Tedro <[email protected]>"] | ||
edition = "2018" | ||
description = "audio-device system bindings for PipeWire" | ||
documentation = "https://docs.rs/audio" | ||
readme = "README.md" | ||
homepage = "https://github.com/udoprog/audio" | ||
repository = "https://github.com/udoprog/audio" | ||
license = "MIT/Apache-2.0" | ||
keywords = ["audio", "buffer", "dsp"] | ||
categories = ["multimedia::audio"] | ||
version.workspace = true | ||
authors.workspace = true | ||
rust-version.workspace = true | ||
edition.workspace = true | ||
documentation.workspace = true | ||
homepage.workspace = true | ||
repository.workspace = true | ||
license.workspace = true | ||
keywords.workspace = true | ||
categories.workspace = true | ||
|
||
[dependencies] | ||
libc = "0.2.125" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
[package] | ||
name = "audio-device-pulse-sys" | ||
version = "0.1.0-alpha.1" | ||
authors = ["John-John Tedro <[email protected]>"] | ||
edition = "2018" | ||
description = "audio-device system bindings for PulseAudio" | ||
documentation = "https://docs.rs/audio" | ||
readme = "README.md" | ||
homepage = "https://github.com/udoprog/audio" | ||
repository = "https://github.com/udoprog/audio" | ||
license = "MIT/Apache-2.0" | ||
keywords = ["audio", "buffer", "dsp"] | ||
categories = ["multimedia::audio"] | ||
version.workspace = true | ||
authors.workspace = true | ||
rust-version.workspace = true | ||
edition.workspace = true | ||
documentation.workspace = true | ||
homepage.workspace = true | ||
repository.workspace = true | ||
license.workspace = true | ||
keywords.workspace = true | ||
categories.workspace = true | ||
|
||
[dependencies] | ||
libc = "0.2.125" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
[package] | ||
name = "audio-device" | ||
version = "0.1.0-alpha.6" | ||
authors = ["John-John Tedro <[email protected]>"] | ||
edition = "2018" | ||
description = "A library for interacting with audio devices" | ||
documentation = "https://docs.rs/audio" | ||
readme = "README.md" | ||
homepage = "https://github.com/udoprog/audio" | ||
repository = "https://github.com/udoprog/audio" | ||
license = "MIT/Apache-2.0" | ||
keywords = ["audio", "buffer", "dsp"] | ||
categories = ["multimedia::audio"] | ||
version.workspace = true | ||
authors.workspace = true | ||
rust-version.workspace = true | ||
edition.workspace = true | ||
documentation.workspace = true | ||
homepage.workspace = true | ||
repository.workspace = true | ||
license.workspace = true | ||
keywords.workspace = true | ||
categories.workspace = true | ||
|
||
autoexamples = false | ||
|
||
|
@@ -42,21 +42,21 @@ wasapi = [ | |
|
||
[dependencies] | ||
tracing = "0.1.36" | ||
audio-core = { version = "0.2.0-alpha.4", path = "../audio-core" } | ||
audio-core = { path = "../audio-core" } | ||
thiserror = "1.0.31" | ||
rand = "0.8.5" | ||
ste = { version = "0.1.0-alpha.9", path = "../ste" } | ||
ste = { path = "../ste" } | ||
|
||
pulse-sys = { package = "audio-device-pulse-sys", version = "0.1.0-alpha.1", path = "../audio-device-pulse-sys", optional = true } | ||
pipewire-sys = { package = "audio-device-pipewire-sys", version = "0.1.0-alpha.1", path = "../audio-device-pipewire-sys", optional = true } | ||
pulse-sys = { package = "audio-device-pulse-sys", path = "../audio-device-pulse-sys", optional = true } | ||
pipewire-sys = { package = "audio-device-pipewire-sys", path = "../audio-device-pipewire-sys", optional = true } | ||
|
||
# unix | ||
alsa-sys = { package = "audio-device-alsa-sys", version = "0.1.0-alpha.1", path = "../audio-device-alsa-sys", optional = true } | ||
alsa-sys = { package = "audio-device-alsa-sys", path = "../audio-device-alsa-sys", optional = true } | ||
libc = { version = "0.2.125", optional = true } | ||
|
||
[dev-dependencies] | ||
audio = { version = "0.2.0-alpha.4", path = "../audio" } | ||
audio-generator = { version = "0.1.0-alpha.2", path = "../audio-generator" } | ||
audio = { path = "../audio" } | ||
audio-generator = { path = "../audio-generator" } | ||
anyhow = "1.0.57" | ||
tokio = { version = "1.18.1", features = ["full"] } | ||
tracing-subscriber = { version = "0.3.3", features = ["env-filter"] } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
[package] | ||
name = "audio-generator" | ||
version = "0.1.0-alpha.2" | ||
authors = ["John-John Tedro <[email protected]>"] | ||
edition = "2018" | ||
description = "Audio generator APIs" | ||
documentation = "https://docs.rs/audio" | ||
readme = "README.md" | ||
homepage = "https://github.com/udoprog/audio" | ||
repository = "https://github.com/udoprog/audio" | ||
license = "MIT/Apache-2.0" | ||
keywords = ["audio", "buffer", "dsp"] | ||
categories = ["multimedia::audio"] | ||
version.workspace = true | ||
authors.workspace = true | ||
rust-version.workspace = true | ||
edition.workspace = true | ||
documentation.workspace = true | ||
homepage.workspace = true | ||
repository.workspace = true | ||
license.workspace = true | ||
keywords.workspace = true | ||
categories.workspace = true | ||
|
||
[dependencies] | ||
audio-core = { version = "0.2.0-alpha.4", path = "../audio-core" } | ||
audio-core = { path = "../audio-core" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
[package] | ||
name = "audio" | ||
version = "0.2.0-alpha.4" | ||
authors = ["John-John Tedro <[email protected]>"] | ||
edition = "2018" | ||
description = "A crate for working with audio in Rust" | ||
documentation = "https://docs.rs/audio" | ||
readme = "README.md" | ||
homepage = "https://github.com/udoprog/audio" | ||
repository = "https://github.com/udoprog/audio" | ||
license = "MIT/Apache-2.0" | ||
keywords = ["audio", "buffer", "dsp"] | ||
categories = ["multimedia::audio"] | ||
version.workspace = true | ||
authors.workspace = true | ||
rust-version.workspace = true | ||
edition.workspace = true | ||
documentation.workspace = true | ||
homepage.workspace = true | ||
repository.workspace = true | ||
license.workspace = true | ||
keywords.workspace = true | ||
categories.workspace = true | ||
|
||
[features] | ||
default = ["std"] | ||
std = ["audio-core/std"] | ||
|
||
[dependencies] | ||
audio-core = { version = "0.2.0-alpha.4", path = "../audio-core" } | ||
audio-core = { path = "../audio-core" } | ||
|
||
[dev-dependencies] | ||
rand = "0.8.5" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
name = "examples" | ||
version = "0.0.0" | ||
authors = ["John-John Tedro <[email protected]>"] | ||
edition = "2018" | ||
edition.workspace = true | ||
publish = false | ||
|
||
[dependencies] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
name = "generate" | ||
version = "0.0.0" | ||
authors = ["John-John Tedro <[email protected]>"] | ||
edition = "2018" | ||
edition.workspace = true | ||
publish = false | ||
|
||
[dependencies] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,15 @@ | ||
[package] | ||
name = "ste" | ||
version = "0.1.0-alpha.11" | ||
authors = ["John-John Tedro <[email protected]>"] | ||
edition = "2018" | ||
description = "A single-threaded executor with some tricks up its sleeve." | ||
documentation = "https://docs.rs/audio" | ||
readme = "README.md" | ||
homepage = "https://github.com/udoprog/audio" | ||
repository = "https://github.com/udoprog/audio" | ||
license = "MIT/Apache-2.0" | ||
version.workspace = true | ||
authors.workspace = true | ||
rust-version.workspace = true | ||
edition.workspace = true | ||
homepage.workspace = true | ||
repository.workspace = true | ||
license.workspace = true | ||
keywords = ["executor", "thread"] | ||
categories = ["concurrency"] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These changes were generated by
cargo fix --edition
: https://doc.rust-lang.org/edition-guide/rust-2021/disjoint-capture-in-closures.html