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

feat(parse_cbor): add parse_cbor function #1152

Merged
merged 2 commits into from
Jan 2, 2025

Conversation

MiracleWisp
Copy link
Contributor

@MiracleWisp MiracleWisp commented Nov 28, 2024

Summary

In this PR I would like to add support for cbor. We use this format as an alternative to JSON for more efficient data transfer to Kafka. And we would really like to be able to use vector in our projects

Change Type

  • Bug fix
  • New feature
  • Non-functional (chore, refactoring, docs)
  • Performance

Is this a breaking change?

  • Yes
  • No

How did you test this PR?

Unit tests are provided in this PR

Does this PR include user facing changes?

  • Yes. Please add a changelog fragment based on
    our guidelines.
  • No. A maintainer will apply the "no-changelog" label to this PR.

Checklist

References

@MiracleWisp MiracleWisp force-pushed the cbor_support branch 6 times, most recently from 8d6a19d to 1ca2e81 Compare November 28, 2024 16:12
@MiracleWisp MiracleWisp changed the title Add cbor support feat(parse_cbor): add parse_cbor function Nov 29, 2024
Copy link
Member

@pront pront left a comment

Choose a reason for hiding this comment

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

Hi @MiracleWisp, thank you for your contribution!

src/stdlib/parse_cbor.rs Outdated Show resolved Hide resolved
@MiracleWisp MiracleWisp force-pushed the cbor_support branch 3 times, most recently from dd269f4 to 4193d5f Compare December 13, 2024 10:12
@@ -0,0 +1,2 @@
[overrides]
Copy link
Member

@pront pront Dec 13, 2024

Choose a reason for hiding this comment

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

I don't recall what's the function of this. Did you run dd-rust-license-tool?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

dd-rust-licence-tool fails without this config because "crunchy" package doesn't have repository config in cargo.toml
eira-fransham/crunchy#9

Copy link
Member

Choose a reason for hiding this comment

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

Ah I see, this makes sense. That repository seems abandoned but licenses are fine.

Copy link
Member

@pront pront left a comment

Choose a reason for hiding this comment

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

Thanks, this looks good now!

@pront pront added this pull request to the merge queue Jan 2, 2025
Merged via the queue into vectordotdev:main with commit 7f010fc Jan 2, 2025
14 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