EmbarkStudios / EmbarkStudios/cargo-about

Handle expression/detected mismatch

Open
#313 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Rust
Stars
782
Forks
46
Avg merge
13m
Merged PRs (30d)
1

Description

While looking at #309 I noticed that the declared license on libssh2-sys is completely incorrect, the Rust code may be licensed as `Apache-2.0 OR MIT`, but the C code that it is building and wrapping is definitely not. Right now we assume that the declared license is correct, but that's obviously not true, particularly in the -sys wrapper case.

Contributor guide

Open the contributing guide

Research direction

Start by tracing how cargo-about determines the declared license for libssh2-sys and review the context in #309. Determine how a mismatch between the Rust declaration and the wrapped C code should be reported or handled, then add coverage for that case once the expected behavior is decided.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.