Registry / other / cxx
library1.0.194rscratesunverified

Safe interop between Rust and C++, enabling bidirectional function calls and type sharing.

# Cargo.toml [dependencies] cxx = "1.0.194"
INSTALL
IMPORT
SIG · CXX
C
cxx
otherrustv1.0.194
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

CxxString
use cxx::CxxString;

Import and use a C++ string type from Rust.

use cxx::CxxString; fn main() { let s = CxxString::new(); println!("C++ string created"); }
Debug
Known issues
gotchaRequires a C++ compiler and build system integration (e.g., CMake or build.rs).
fix
Ensure a C++ toolchain is installed and configure build.rs accordingly.
affects: >=0.1.0
Upgrade
Version history
1.0.194latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
12
Meta
1
Resources