mozilla / mozilla/cbindgen

[feat] `cbindgen.toml` schema

Open
#1,089 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
3k
Forks
386
Avg merge
1h 43m
Merged PRs (30d)
1

Description

Problem

vscode have zero tab-completion and validation on file cbindgen.toml

Feat

Generate cbindgen.toml jsonschema.

https://crates.io/crates/schemars

And publish to https://github.com/SchemaStore/schemastore

So editor can use schemastore to support tab-completion and validation.

Related

https://github.com/microsoft/vcpkg/issues/34706

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the cbindgen.toml configuration and the schemars crate referenced in the issue. Check SchemaStore's contribution requirements, then define what is needed for the generated cbindgen.toml JSON schema to be accepted there. Done means the schema is generated and published so editors can provide completion and validation.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.