Skip to content

Commit

Permalink
Merge pull request #1 from ebds-rs/version/bump-0.1.1
Browse files Browse the repository at this point in the history
version: bump version to 0.1.1
  • Loading branch information
ebds-rs authored May 30, 2023
2 parents 2c8c747 + 469075c commit a186d63
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
3 changes: 1 addition & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ebds"
version = "0.1.0"
version = "0.1.1"
edition = "2021"
authors = ["EBDS Rust Developers"]
description = "Messages and related types for implementing the EBDS serial communication protocol"
Expand All @@ -16,7 +16,6 @@ serde = { version = "1.0", default-features = false, features = ["derive"] }
serde_json = { version = "1.0", default-features = false, features = ["alloc"] }
serialport = { version = "4.2", default-features = false }
arbitrary = { version = "1", optional = true }
parking_lot = "0.12"

[features]
default = ["sc", "usd"]
Expand Down
8 changes: 6 additions & 2 deletions src/cash.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use crate::{
banknote::NoteTableItem,
denomination::{Denomination, StandardDenomination, StandardDenominationFlag},
method::Method,
OPEN_BRACE, CLOSE_BRACE,
CLOSE_BRACE, OPEN_BRACE,
};

/// Container for cash inserted into the bill acceptor
Expand Down Expand Up @@ -322,7 +322,11 @@ impl Default for BillAcceptorConfig {

impl fmt::Display for BillAcceptorConfig {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
write!(f, "{OPEN_BRACE}\"currency\":\"{}\"{CLOSE_BRACE}", self.currency)
write!(
f,
"{OPEN_BRACE}\"currency\":\"{}\"{CLOSE_BRACE}",
self.currency
)
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/status.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use crate::std::fmt;

use crate::{bool_enum, StandardDenomination, OPEN_BRACE, CLOSE_BRACE};
use crate::{bool_enum, StandardDenomination, CLOSE_BRACE, OPEN_BRACE};

mod document_status;

Expand Down

0 comments on commit a186d63

Please sign in to comment.