chrome_native_messaging

Crates.iochrome_native_messaging
lib.rschrome_native_messaging
version0.3.0
sourcesrc
created_at2017-06-27 06:59:06.713082
updated_at2022-06-27 11:49:24.737382
descriptionImplementation of Chrome's Native Messaging protocol
homepage
repositoryhttps://github.com/neon64/chrome-native-messaging
max_upload_size
id20882
size10,555
Chris Chamberlain (neon64)

documentation

README

Chrome Native Messaging in Rust

Google Chrome allows native applications to interface with browser plugins as described in their documentation. This Rust crate provides simple functions for encoding/decoding JSON messages and handling errors during this process.

API Documentation

License

Licensed under either of

at your option.

Contribution

  • It would be great to integrate this with Tokio in order to make a fully asyncronous event loop. I haven't needed it personally so far, therefore it hasn't been worth my time to implement it.
  • Currently there are no integration tests with Chrome itself, to make sure that the protocol is implemented correctly. I wasn't sure how to achieve this easily, but if anybody has a suggestion then it would be welcomed.
  • All contributions/suggestions welcome!!

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Commit count: 26

cargo fmt