Comments (6)
Hi, @jadamcrain. Thanks for following up. I think that it would be worthwhile for you to try using cyclonedx-bom
at this point and let us know if you run into any further issues. we've been working on writing documentation for the library and using that to ensure that every type can be constructed via a user of the library, but we're not quite done yet and so there might be parts of the library that are unused by the CLI that still might have rougher edges.
from cyclonedx-rust-cargo.
Awesome. I will give it a try in the next few weeks and provide feedback here. If I run into easily fixed issues I will start a running PR.
from cyclonedx-rust-cargo.
Sorry for the delayed response; I have been on vacation this week. Currently, we're in the middle of replacing the partial specification implementation in cargo-cyclonedx
with a new, complete one (cyclonedx-bom
). You can read about the current progress in #68. Currently, the library supports serialization and deserialization, but is lacking UX polish and documentation. I've been working on documentation and @allisonsierra has been working on the integration between cargo-cyclonedx
and cyclonedx-bom
. If you have specific feedback or would like to contribute, I'd appreciate it.
As for the newtypes, the intent is to avoid having third party crates as a part of our public API where possible to allow us to swap out dependencies as needed over time.
from cyclonedx-rust-cargo.
Thanks @amy-keibler. Using newtypes to hide implementation details makes sense, I just couldn't figure out how to construct them at all.
When the cargo executable starts using this crate for the implementation, I'm sure this will work itself out.
from cyclonedx-rust-cargo.
Hi @amy-keibler. Checking in on this issue. It looks like the cargo command now depends on cyclonedx-bom
. Do you think it would be worthwhile for me to try using cyclonedx-bom
to create my own BOMs now?
from cyclonedx-rust-cargo.
Hi @amy-keibler. I've been successful in using cyclonedx-bom
0.4.0 to generate a BOM from my own custom filtering of the build manifest.
The only thing keeping me from using the cargo plugin is #230.
Closing this issue as resolved, ty.
from cyclonedx-rust-cargo.
Related Issues (20)
- Download crates in parallel HOT 1
- Ship 0.4.0 HOT 1
- SBOM configuration via `Cargo.toml` appears harmful HOT 2
- Allow emitting SBOM for a specific platform
- Include information on dependency origin (crates.io, git, custom registry) HOT 1
- `bom-ref` field is not actually unique
- Allow selecting Cargo features: `--no-default-features`, `--all-features`, `--features=...`
- Reproducible SBOMs
- Include hashes for components HOT 2
- `cargo cyclonedx` v0.4.0 release checklist HOT 1
- Record the target platform in the SBOM
- Don't log non-fatal issues as errors
- Capture data only available during the build process HOT 3
- Add support for `cargo binstall` HOT 8
- Add a "-V" / "--version" flag to print the current version
- Make bom-ref use relative paths for workspace items as well HOT 6
- Provide an easy way to map an artifact to a SBOM
- Present `cargo metadata` output to the user even when there are no errors
- Use a license id or name instead of an expression if there is only one license
- Support `license-file`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cyclonedx-rust-cargo.