Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/boydjohnson/chrome-extensions-rs
really early chrome extensions bindings in Rust
https://github.com/boydjohnson/chrome-extensions-rs
chrome chrome-extensions wasm-bindgen
Last synced: 25 days ago
JSON representation
really early chrome extensions bindings in Rust
- Host: GitHub
- URL: https://github.com/boydjohnson/chrome-extensions-rs
- Owner: boydjohnson
- Created: 2024-02-24T22:57:57.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-03-06T01:12:46.000Z (9 months ago)
- Last Synced: 2024-10-06T03:06:52.881Z (about 2 months ago)
- Topics: chrome, chrome-extensions, wasm-bindgen
- Language: Rust
- Homepage:
- Size: 154 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Partial chrome web extensions Rust bindings
Using the idl and json interface files at [chromium git repo chrome specific](https://github.com/chromium/chromium/tree/main/chrome/common/extensions/api) and [chromium git repo not chrome specific](https://github.com/chromium/chromium/tree/main/extensions/common/api) to write Rust bindings to the [chrome web extensions](https://developer.chrome.com/docs/extensions).
## Other crates that provide bindings to web extensions
[web-extensions](https://crates.io/crates/web-extensions)
This repo contains chrome-idl-parser and chrome-extensions crates.
```
❯ ./target/release/chrome-idl-parser --help
Usage: chrome-idl-parser --to [FROM]...Arguments:
[FROM]... The path to the input directory with chrome json and idl filesOptions:
-t, --to The file path to the src directory
-h, --help Print help
-V, --version Print version
```## Bindings
- As of February 2024 only the types and the types' properties are being generated.
- As of March 2024 async, callback, and regular functions are being generated. Some of the functions are tested against `@types/chrome` with `jest-chrome`.