From 09d3ca64e3a86cc8c4785370f834bbc3cd117eb8 Mon Sep 17 00:00:00 2001 From: Raul Victor Trombin Date: Wed, 24 Apr 2024 14:17:21 -0300 Subject: [PATCH] Update crate to bluerobotics-ping --- Cargo.toml | 16 ++++++++++++---- README.md | 2 +- tests/async_codec.rs | 4 ++-- tests/builder.rs | 4 ++-- tests/deserialize.rs | 6 +++--- tests/packer.rs | 4 ++-- tests/serialize.rs | 4 ++-- 7 files changed, 24 insertions(+), 16 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index a4b4c077a..204ba6603 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,9 +1,17 @@ [package] -name = "ping-rs" -version = "0.1.0" -authors = ["Patrick José Pereira "] -edition = "2018" +name = "bluerobotics-ping" +version = "0.0.0" +authors = ["Patrick José Pereira , Raul Victor Trombin "] +edition = "2021" build = "build/main.rs" +license = "MIT" +description = "This crate serves as the entry point for embedding applications using Rust on Blue Robotics's Ping devices family" +homepage = "https://bluerobotics.com/store/sonars/echosounders/ping-sonar-r2-rp/" +documentation = "https://docs.bluerobotics.com/ping-rs/ping-rs/" +repository = "https://github.com/bluerobotics/ping-rs" +categories = ["BlueRobotics", "Embedded development", "Science"] +keywords = ["BlueRobotics", "embedded", "sonar", "robotics", "ROV"] +readme = "README.md" [dependencies] bytes = "1.3.0" diff --git a/README.md b/README.md index ad19b91b0..14d0b1924 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,2 @@ # ping-rs -https://docs.bluerobotics.com/ping-rs/ping_rs/ +https://docs.bluerobotics.com/ping-rs/ping-rs/ diff --git a/tests/async_codec.rs b/tests/async_codec.rs index 93c5348a5..be9fdd29f 100644 --- a/tests/async_codec.rs +++ b/tests/async_codec.rs @@ -1,6 +1,6 @@ +use bluerobotics_ping::codec::PingCodec; +use bluerobotics_ping::{common, message::ProtocolMessage, ping1d, Messages}; use futures::{SinkExt, StreamExt}; -use ping_rs::codec::PingCodec; -use ping_rs::{common, message::ProtocolMessage, ping1d, Messages}; use std::convert::TryFrom; use tokio::time::{sleep, Duration}; use tokio_serial::SerialPortBuilderExt; diff --git a/tests/builder.rs b/tests/builder.rs index 8d2949f2e..bc6b95f6d 100644 --- a/tests/builder.rs +++ b/tests/builder.rs @@ -1,7 +1,7 @@ use std::convert::TryFrom; -use ping_rs::common::Messages as common_messages; -use ping_rs::{common, Messages}; +use bluerobotics_ping::common::Messages as common_messages; +use bluerobotics_ping::{common, Messages}; #[test] fn test_inner() { diff --git a/tests/deserialize.rs b/tests/deserialize.rs index 434bd1c3d..fd1129aae 100644 --- a/tests/deserialize.rs +++ b/tests/deserialize.rs @@ -1,8 +1,8 @@ use std::convert::TryFrom; -use ping_rs::common::Messages as common_messages; -use ping_rs::decoder::*; -use ping_rs::{common, Messages}; +use bluerobotics_ping::common::Messages as common_messages; +use bluerobotics_ping::decoder::*; +use bluerobotics_ping::{common, Messages}; use tracing::info; use tracing_test::traced_test; diff --git a/tests/packer.rs b/tests/packer.rs index 875ff34d1..e268c1375 100644 --- a/tests/packer.rs +++ b/tests/packer.rs @@ -1,5 +1,5 @@ -use ping_rs::common::{self, Messages as common_messages}; -use ping_rs::message::{MessageInfo, PingMessage, ProtocolMessage}; +use bluerobotics_ping::common::{self, Messages as common_messages}; +use bluerobotics_ping::message::{MessageInfo, PingMessage, ProtocolMessage}; use tracing_test::traced_test; #[traced_test] diff --git a/tests/serialize.rs b/tests/serialize.rs index 9bf8aabe9..77d8bc140 100644 --- a/tests/serialize.rs +++ b/tests/serialize.rs @@ -1,5 +1,5 @@ -use ping_rs::common; -use ping_rs::message::SerializePayload; +use bluerobotics_ping::common; +use bluerobotics_ping::message::SerializePayload; use tracing_test::traced_test; #[traced_test]