1 unstable release

0.1.0 Jan 31, 2024

#1523 in Algorithms

MIT license

49KB
1K SLoC

Rust D-Bus address parsing

This project provides a Rust library for handling D-Bus addresses following the D-Bus specification.

Miscellaneous and caveats on D-Bus addresses

  • Assumes values are UTF-8 encoded: this should be clarified in the spec otherwise, fail to read them or use a lossy representation for display.

  • Assumes that empty key=val is accepted, so transport:,,guid=... is valid.

  • Allows key only, so transport:foo,bar is ok.

  • Accept unknown keys and transports.

Acknowledgments

  • This project is originated from the zbus project.

  • Special thanks to all the contributors who have been involved in this project.

License

MIT license


lib.rs:

D-Bus address handling.

Server addresses consist of a transport name followed by a colon, and then an optional, comma-separated list of keys and values in the form key=value.

See also:

Dependencies

~2.5MB
~53K SLoC