rust to add uuid support
diff --git a/test/rs/src/bin/test_client.rs b/test/rs/src/bin/test_client.rs
index a44bac3..fd3a185 100644
--- a/test/rs/src/bin/test_client.rs
+++ b/test/rs/src/bin/test_client.rs
@@ -231,6 +231,12 @@
"thing".to_owned(),
)?;
+ info!("testUuid");
+ verify_expected_result(
+ thrift_test_client.test_uuid(uuid::uuid!("00010203-0405-0607-0809-0a0b0c0d0e0f")),
+ uuid::uuid!("00010203-0405-0607-0809-0a0b0c0d0e0f"),
+ )?;
+
info!("testBool");
verify_expected_result(thrift_test_client.test_bool(true), true)?;
diff --git a/test/rs/src/bin/test_server.rs b/test/rs/src/bin/test_server.rs
index 92a4bcc..3e622d5 100644
--- a/test/rs/src/bin/test_server.rs
+++ b/test/rs/src/bin/test_server.rs
@@ -174,6 +174,11 @@
Ok(thing)
}
+ fn handle_test_uuid(&self, thing: uuid::Uuid) -> thrift::Result<uuid::Uuid> {
+ info!("testUUID({})", &thing);
+ Ok(thing)
+ }
+
fn handle_test_bool(&self, thing: bool) -> thrift::Result<bool> {
info!("testBool({})", thing);
Ok(thing)