escl

Crates.ioescl
lib.rsescl
version0.2.0
sourcesrc
created_at2023-12-31 04:39:42.6964
updated_at2024-01-03 03:58:15.984475
descriptionA Rust library for discovering and using scanners via the eSCL protocol (scanning over network)
homepage
repositoryhttps://github.com/xJonathanLEI/escl-rs
max_upload_size
id1084569
size97,652
Jonathan LEI (xJonathanLEI)

documentation

README

escl-rs

A Rust library for discovering and using scanners via the eSCL protocol (scanning over network)

crates-badge

Features

  • LAN service discovery
  • Scanner capabilities
  • Scanner status
  • Scan via the Pull Scan model

Example

The example uses multicast DNS to look for scanners in LAN for 5 seconds, and scans using the first discovered scanner. There's no need to pre-configure scanner IP address.

The output image is saved as scan.jpg in the current directory. To run the example:

cargo run --example scan

[!NOTE]

escl-rs supports any scanner URLs, including HTTPS. The use of LAN here is just for simplicity of the example, and to demonstrate LAN discovery capabilities.

License

Licensed under either of

at your option.

Commit count: 0

cargo fmt