epics-ca-sys 0.1.1

Raw bindings for EPICS Channel Access library
Documentation
  • Coverage
  • 0%
    0 out of 708 items documented0 out of 11 items with examples
  • Size
  • Source code size: 39.64 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 22.89 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 14s Average build duration of successful builds.
  • all releases: 14s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • agerasev/epics-ca
    5 2 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • nthend agerasev

epics-ca

Rust bindings for EPICS Channel Access protocol.

Requrements

This crate requires built epics-base or at least ca library.

During build you need to provide a path to a static library (libca.a or ca.lib). This could be done either by:

  • setting EPICS_BASE env variable that contains path to epics-base root, or
  • adding to RUSTFLAGS a path where static library file is stored (e.g. -L /opt/epics-base/lib/linux-x86_64).

At run time the crate also needs a dynamic library (libca.so or ca.dll). You need to provide path to its location (e.g. via LD_LIBRARY_PATH) or put it where it could be found automatically (e.g. along with executable).

Testing

To run tests you need to have dummy IOC running (located in ioc dir):

  • Set appropriate EPICS_BASE path in configure/RELEASE.
  • Build with make.
  • Go to iocBoot/iocTest/ and run script st.cmd and don't stop it.

In separate shell run cargo test.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.