1
Fork 0

Compare commits

...

2 Commits

Author SHA1 Message Date
Bauke 64ee8db0be
Version 1.0.1! 2022-10-03 00:29:38 +02:00
Bauke 74b173f943
Update doc examples. 2022-10-03 00:29:27 +02:00
2 changed files with 3 additions and 3 deletions

View File

@ -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"

View File

@ -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();