Compare commits
2 Commits
e732623802
...
64ee8db0be
Author | SHA1 | Date |
---|---|---|
Bauke | 64ee8db0be | |
Bauke | 74b173f943 |
|
@ -5,7 +5,7 @@ name = "webextension-native-messaging"
|
||||||
description = "WebExtension native messaging library for Rust."
|
description = "WebExtension native messaging library for Rust."
|
||||||
repository = "https://git.bauke.xyz/Holllo/webextension-native-messaging"
|
repository = "https://git.bauke.xyz/Holllo/webextension-native-messaging"
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
version = "1.0.0"
|
version = "1.0.1"
|
||||||
authors = ["Holllo <helllo@holllo.org>"]
|
authors = ["Holllo <helllo@holllo.org>"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
//! Then in your native executable:
|
//! Then in your native executable:
|
||||||
//!
|
//!
|
||||||
//! ```rust,no_run
|
//! ```rust,no_run
|
||||||
//! use web_ext_native_messaging::read_message;
|
//! use webextension_native_messaging::read_message;
|
||||||
//!
|
//!
|
||||||
//! let message = read_message::<String>().unwrap();
|
//! let message = read_message::<String>().unwrap();
|
||||||
//! println!("{}", message);
|
//! println!("{}", message);
|
||||||
|
@ -39,7 +39,7 @@
|
||||||
//! Then in your native executable:
|
//! Then in your native executable:
|
||||||
//!
|
//!
|
||||||
//! ```rust,no_run
|
//! ```rust,no_run
|
||||||
//! use web_ext_native_messaging::write_message;
|
//! use webextension_native_messaging::write_message;
|
||||||
//!
|
//!
|
||||||
//! let message = "Hey, there!".to_string();
|
//! let message = "Hey, there!".to_string();
|
||||||
//! write_message(&message).unwrap();
|
//! write_message(&message).unwrap();
|
||||||
|
|
Loading…
Reference in New Issue