#scanner #service-discovery #scanning #lan #protocols #networking #scan

escl

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

3 unstable releases

0.2.0 Jan 3, 2024
0.1.1 Dec 31, 2023
0.1.0 Dec 31, 2023

#1044 in Network programming

Download history 32/week @ 2023-12-28 16/week @ 2024-01-04 6/week @ 2024-02-15 21/week @ 2024-02-22 5/week @ 2024-02-29 27/week @ 2024-03-28 25/week @ 2024-04-04

52 downloads per month

MIT/Apache

35KB
891 lines

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.

Dependencies

~9–25MB
~390K SLoC