Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion echoscu/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use dicom_core::{dicom_value, DataElement, VR};
use dicom_dictionary_std::{tags, uids};
use dicom_object::{mem::InMemDicomObject, StandardDataDictionary};
use dicom_ul::{
association::{Association, SyncAssociation, client::ClientAssociationOptions},
association::{client::ClientAssociationOptions},
pdu::{self, PDataValueType, Pdu},
};
use pdu::PDataValue;
Expand Down
1 change: 0 additions & 1 deletion findscu/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ use dicom_dump::DumpOptions;
use dicom_encoding::transfer_syntax;
use dicom_object::{mem::InMemDicomObject, open_file, StandardDataDictionary};
use dicom_transfer_syntax_registry::{entries, TransferSyntaxRegistry};
use dicom_ul::association::{Association, SyncAssociation};
use dicom_ul::pdu::Pdu;
use dicom_ul::{
association::ClientAssociationOptions,
Expand Down
3 changes: 2 additions & 1 deletion storescp/src/store_async.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ use dicom_dictionary_std::tags;
use dicom_encoding::transfer_syntax::TransferSyntaxIndex;
use dicom_object::{FileMetaTableBuilder, InMemDicomObject};
use dicom_transfer_syntax_registry::TransferSyntaxRegistry;
use dicom_ul::{Pdu, association::{Association, AsyncAssociation, AsyncServerAssociation}, pdu::{PDataValueType, PresentationContextResultReason}};
use dicom_ul::prelude::*;
use dicom_ul::{Pdu, association::AsyncServerAssociation, pdu::{PDataValueType, PresentationContextResultReason}};
use snafu::{OptionExt, Report, ResultExt, Whatever};
use tracing::{debug, info, warn};

Expand Down
2 changes: 1 addition & 1 deletion storescp/src/store_sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use dicom_dictionary_std::tags;
use dicom_encoding::transfer_syntax::TransferSyntaxIndex;
use dicom_object::{FileMetaTableBuilder, InMemDicomObject};
use dicom_transfer_syntax_registry::TransferSyntaxRegistry;
use dicom_ul::{Pdu, ServerAssociation, association::{Association, CloseSocket, SyncAssociation}, pdu::{PDataValueType, PresentationContextResultReason}};
use dicom_ul::{Pdu, ServerAssociation, association::{Association, CloseSocket}, pdu::{PDataValueType, PresentationContextResultReason}};
use snafu::{OptionExt, Report, ResultExt, Whatever};
use tracing::{debug, info, warn};

Expand Down
2 changes: 1 addition & 1 deletion storescu/src/store_async.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use dicom_encoding::TransferSyntaxIndex;
use dicom_object::{open_file, InMemDicomObject};
use dicom_transfer_syntax_registry::TransferSyntaxRegistry;
use dicom_ul::{
Pdu, association::{Association, AsyncAssociation, client::AsyncClientAssociation}, pdu::{PDataValue, PDataValueType}
Pdu, association::client::AsyncClientAssociation, pdu::{PDataValue, PDataValueType}
};
use indicatif::ProgressBar;
use snafu::{OptionExt, Report, ResultExt};
Expand Down
2 changes: 1 addition & 1 deletion storescu/src/store_sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use dicom_encoding::TransferSyntaxIndex;
use dicom_object::{open_file, InMemDicomObject};
use dicom_transfer_syntax_registry::TransferSyntaxRegistry;
use dicom_ul::{
ClientAssociation, Pdu, association::{Association, CloseSocket, SyncAssociation}, pdu::{PDataValue, PDataValueType}
ClientAssociation, Pdu, association::CloseSocket, pdu::{PDataValue, PDataValueType}
};
use indicatif::ProgressBar;
use snafu::{OptionExt, Report, ResultExt};
Expand Down
18 changes: 17 additions & 1 deletion ul/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,23 @@
[![CratesIO](https://img.shields.io/crates/v/dicom-ul.svg)](https://crates.io/crates/dicom-ul)
[![Documentation](https://docs.rs/dicom-ul/badge.svg)](https://docs.rs/dicom-ul)

This is an implementation of the DICOM upper layer protocol.
An implementation of the DICOM upper layer protocol.
This crate contains the types and methods needed
to interact with DICOM nodes through the upper layer protocol.
It can be used as a base for finite-state machines and higher-level helpers,
enabling the creation of concrete
service class users (SCUs) and service class providers (SCPs).
TLS support for secure transport connections
is also available via [Rustls](https://crates.io/crates/rustls).

Examples of DICOM network tools constructed using `dicom-ul` include
[dicom-storescp](https://crates.io/crates/dicom-storescp),
[dicom-storescu](https://crates.io/crates/dicom-storescu),
and [dicom-findscu](https://crates.io/crates/dicom-findscu).

This crate is part of the [DICOM-rs](https://github.com/Enet4/dicom-rs) project
and is contained by the parent crate [`dicom`](https://crates.io/crates/dicom)
for convenience.

## Testing

Expand Down
Loading
Loading