Skip to content

Conversation

jcaden
Copy link
Contributor

@jcaden jcaden commented Jun 25, 2025

There are some dependencies that the users of the library don't need as they are only used in examples, moving them to dev-dependencies makes the examples work while they are not included as part of the library.

This PR is also removing some unused dependencies from Cargo.toml


@jcaden jcaden changed the title move dependencies to dev Move dependencies for examples to dev-dependencies Jun 25, 2025
@jcdyer
Copy link
Contributor

jcdyer commented Jun 25, 2025

Feel free to ignore or suppress the clippy errors, as they are non-critical and new with the latest rust release. We will resolve them soon, but do note that we have some transitive dependencies specified to satisfy minimal-versions checks, and those should not be removed.

@jcaden
Copy link
Contributor Author

jcaden commented Jun 25, 2025

I fixed clippy errors on this PR #115

jcaden added 2 commits June 26, 2025 12:26
They are only used in the examples, there is no need
for the library users to include them.

pkg-config is only required while building audio, it is moved
to.dev-dependencies as well
@jcaden jcaden force-pushed the move_dependencies_to_dev branch from 06410e8 to da242b7 Compare June 26, 2025 10:27
@jcaden
Copy link
Contributor Author

jcaden commented Jun 26, 2025

I modified the patches. I tested locally all the test that failed and seems to work now.

@jpvajda jpvajda requested review from jpvajda and jcdyer June 26, 2025 20:03
Copy link
Contributor

@jcdyer jcdyer left a comment

Choose a reason for hiding this comment

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

Thank you for cleaning this up.

@jcdyer jcdyer merged commit b5cdc94 into deepgram:main Jun 27, 2025
8 of 9 checks passed
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.

2 participants