<commit_before>#![doc(html_logo_url = "https://raw.githubusercontent.com/Kliemann-Service-GmbH/xMZ-Mod-Touch-Server/master/share/xmz-logo.png",
       html_favicon_url = "https://raw.githubusercontent.com/Kliemann-Service-GmbH/xMZ-Mod-Touch-Server/master/share/favicon.ico",
       html_root_url = "https://gaswarnanlagen.com/")]
extern crate libc;
extern crate libmodbus_sys as raw;
use libc::{c_int};

/// Modbus context
pub mod modbus;
/// Error handling
mod error;

// Public reexport, http://rust-lang.github.io/book/chYY-YY-public-api.html
pub use self::modbus::{Error, Modbus};

// These republished constants are for the doc tests. Because there is no simple way to access raw:: values
pub const MODBUS_RTU_RS485: c_int = raw::MODBUS_RTU_RS485;
pub const MODBUS_RTU_RTS_DOWN: c_int = raw::MODBUS_RTU_RTS_DOWN;<commit_msg>Reexport some const values<commit_after>#![doc(html_logo_url = "https://raw.githubusercontent.com/Kliemann-Service-GmbH/xMZ-Mod-Touch-Server/master/share/xmz-logo.png",
       html_favicon_url = "https://raw.githubusercontent.com/Kliemann-Service-GmbH/xMZ-Mod-Touch-Server/master/share/favicon.ico",
       html_root_url = "https://gaswarnanlagen.com/")]
extern crate libc;
extern crate libmodbus_sys as raw;
use libc::{c_int};

/// Modbus context
pub mod modbus;
/// Error handling
mod error;

// Public reexport, http://rust-lang.github.io/book/chYY-YY-public-api.html
pub use self::modbus::{Error, Modbus};
pub use self::modbus::MODBUS_RTU_RTS_DOWN;

// These republished constants are for the doc tests. Because there is no simple way to access raw:: values
pub const MODBUS_RTU_RS485: c_int = raw::MODBUS_RTU_RS485;
pub const MODBUS_RTU_RTS_DOWN: c_int = raw::MODBUS_RTU_RTS_DOWN;
{'fraction_non_alphanumeric': 0.13243873978996498, 'fraction_numerical': 0.007001166861143524, 'mean_word_length': 4.893470790378007, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '282776', 'n_tokens_mistral': 644, 'n_tokens_neox': 622, 'n_words': 125}