Skip to content

Commit

Permalink
Update crate to bluerobotics-ping
Browse files Browse the repository at this point in the history
  • Loading branch information
RaulTrombin authored and patrickelectric committed Apr 25, 2024
1 parent 36d2573 commit 1825fdc
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 16 deletions.
16 changes: 12 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
[package]
name = "ping-rs"
version = "0.1.0"
authors = ["Patrick José Pereira <[email protected]>"]
edition = "2018"
name = "bluerobotics-ping"
version = "0.0.0"
authors = ["Patrick José Pereira <[email protected]>, Raul Victor Trombin <[email protected]>"]
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/bluerobotics_ping/"
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"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# ping-rs
https://docs.bluerobotics.com/ping-rs/ping_rs/
https://docs.bluerobotics.com/ping-rs/bluerobotics_ping/
4 changes: 2 additions & 2 deletions tests/async_codec.rs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
4 changes: 2 additions & 2 deletions tests/builder.rs
Original file line number Diff line number Diff line change
@@ -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() {
Expand Down
6 changes: 3 additions & 3 deletions tests/deserialize.rs
Original file line number Diff line number Diff line change
@@ -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;

Expand Down
4 changes: 2 additions & 2 deletions tests/packer.rs
Original file line number Diff line number Diff line change
@@ -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]
Expand Down
4 changes: 2 additions & 2 deletions tests/serialize.rs
Original file line number Diff line number Diff line change
@@ -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]
Expand Down

0 comments on commit 1825fdc

Please sign in to comment.