Skip to content

Commit

Permalink
remove unused struct fields & bump version to 0.1.0-pre.14
Browse files Browse the repository at this point in the history
  • Loading branch information
ewilken committed Dec 25, 2021
1 parent 1337eed commit 9e7d256
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ jobs:
profile: minimal
toolchain: stable
override: true
- name: cargo rustdoc
- name: cargo rustdoc -- -D rustdoc::broken_intra_doc_links
uses: actions-rs/cargo@v1
with:
command: rustdoc
args: -- -D intra-doc-link-resolution-failure
args: -- -D rustdoc::broken_intra_doc_links
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "hap"
version = "0.1.0-pre.13"
version = "0.1.0-pre.14"
authors = ["Elias Wilken <[email protected]>"]
edition = "2021"
description = "Rust implementation of the Apple HomeKit Accessory Protocol (HAP)"
Expand Down
2 changes: 1 addition & 1 deletion codegen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "hap-codegen"
version = "0.1.0-pre.13"
version = "0.1.0-pre.14"
authors = ["Elias Wilken <[email protected]>"]
edition = "2021"
description = "Rust implementation of the Apple HomeKit Accessory Protocol (HAP)"
Expand Down
4 changes: 1 addition & 3 deletions src/server/ip.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ pub struct IpServer {
config: pointer::Config,
storage: pointer::Storage,
accessory_database: pointer::AccessoryDatabase,
event_emitter: pointer::EventEmitter,
http_server: HttpServer,
mdns_responder: pointer::MdnsResponder,
aid_cache: Arc<Mutex<Vec<u64>>>,
Expand Down Expand Up @@ -185,7 +184,7 @@ impl IpServer {
config.clone(),
storage.clone(),
accessory_database.clone(),
event_emitter.clone(),
event_emitter,
mdns_responder.clone(),
);

Expand All @@ -205,7 +204,6 @@ impl IpServer {
config,
storage,
accessory_database,
event_emitter,
http_server,
mdns_responder,
aid_cache,
Expand Down
2 changes: 0 additions & 2 deletions src/transport/tcp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,6 @@ pub struct EncryptedStream {
encrypted_buf: BytesMut,
decrypted_buf: BytesMut,
encrypted_readbuf_inner: [u8; 1042],
decrypted_readbuf_inner: [u8; 1024],
packet_len: usize,
decrypted_ready: bool,
missing_data_for_decrypted_buf: bool,
Expand Down Expand Up @@ -219,7 +218,6 @@ impl EncryptedStream {
encrypted_buf,
decrypted_buf,
encrypted_readbuf_inner: [0; 1042],
decrypted_readbuf_inner: [0; 1024],
packet_len: 0,
decrypted_ready: false,
missing_data_for_decrypted_buf: false,
Expand Down

0 comments on commit 9e7d256

Please sign in to comment.