Crates.io | c_str_macro |
lib.rs | c_str_macro |
version | 1.0.3 |
source | src |
created_at | 2017-11-19 01:56:17.686362 |
updated_at | 2021-04-04 23:28:14.871704 |
description | c_str macro to create C-compatible string literals |
homepage | |
repository | https://github.com/mzabaluev/rust-c-str.git |
max_upload_size | |
id | 39865 |
size | 18,612 |
This macro-only crate provides the c_str!
macro to facilitate creation
of C-compatible string values from Rust string literals.
This repository also contains source code for crate c_string
,
which is no longer maintained. It provided some utility types to
facilitate working with C-compatible strings in Rust, but most of
them were poorly designed or do not fit well with the evolution
of the language. The topmost commit for that crate is available
under branch c-string
.
Licensed under either of
at your option.
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.