z3950-rs
Minimal asynchronous (Tokio) Z39.50 client with MARC parsing via marc-rs. PDUs are encoded/decoded in ASN.1 BER using rasn.
Key features
- Init connection
- Search/Find with type-1 query (BIB-1, title attribute)
- Present to retrieve MARC records (USMARC) and convert them to
marc_rs::Record
Status
Basic demonstration-oriented implementation. The scan operation is not yet implemented.
Usage
use Client;
async
CLI Example
A simple example is available in examples/search.rs.
cargo run --example search -- --host z3950.loc.gov --port 7090 --db Voyager --query rust --user foo --password bar