Compare commits

..

No commits in common. "50c9d45cb765dbe19c88cd8c2bdb9eee221242fd" and "afd8169e67ad38e1cd86d91b3c5ba8b6d57a337d" have entirely different histories.

4 changed files with 10 additions and 9 deletions

2
Cargo.lock generated
View File

@ -291,7 +291,7 @@ dependencies = [
[[package]] [[package]]
name = "trixy" name = "trixy"
version = "0.2.1" version = "0.2.0"
dependencies = [ dependencies = [
"clap", "clap",
"convert_case", "convert_case",

View File

@ -20,7 +20,7 @@
[package] [package]
name = "trixy" name = "trixy"
version = "0.2.1" version = "0.2.0"
edition = "2021" edition = "2021"
description = "A rust crate used to generate multi-language apis for your application" description = "A rust crate used to generate multi-language apis for your application"
license = "LGPL-3.0-or-later" license = "LGPL-3.0-or-later"

View File

@ -25,12 +25,6 @@ If not, see <https://www.gnu.org/licenses/>.
All notable changes to this project will be documented in this file. See [conventional commits](https://www.conventionalcommits.org/) for commit guidelines. All notable changes to this project will be documented in this file. See [conventional commits](https://www.conventionalcommits.org/) for commit guidelines.
- - - - - -
## v0.2.1 - 2024-05-20
#### Bug Fixes
- **(src/types/traits/convert_trait)** Remove unneeded imports - (5253e59) - Benedikt Peetz
- - -
## v0.2.0 - 2024-05-20 ## v0.2.0 - 2024-05-20
#### Bug Fixes #### Bug Fixes
- **(example/main)** Update to use the new result type - (1f0b9c6) - Benedikt Peetz - **(example/main)** Update to use the new result type - (1f0b9c6) - Benedikt Peetz

View File

@ -22,7 +22,14 @@
use crate::types::error::{self, TypeConversionError}; use crate::types::error::{self, TypeConversionError};
use log::warn; use log::warn;
use std::ffi::{c_char, CString}; use std::{
error::Error,
ffi::{c_char, CString},
mem::ManuallyDrop,
ptr,
};
use super::errno;
/// Convert a value into a data structure that we can send directly to c. /// Convert a value into a data structure that we can send directly to c.
pub trait Convertible pub trait Convertible