| Crates.io | epics-ca-sys |
| lib.rs | epics-ca-sys |
| version | 0.1.1 |
| created_at | 2022-12-16 17:13:45.700816+00 |
| updated_at | 2023-05-17 09:46:53.768612+00 |
| description | Raw bindings for EPICS Channel Access library |
| homepage | https://github.com/agerasev/epics-ca |
| repository | https://github.com/agerasev/epics-ca.git |
| max_upload_size | |
| id | 739005 |
| size | 39,120 |
Rust bindings for EPICS Channel Access protocol.
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:
EPICS_BASE env variable that contains path to epics-base root, orRUSTFLAGS 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).
To run tests you need to have dummy IOC running (located in ioc dir):
EPICS_BASE path in configure/RELEASE.make.iocBoot/iocTest/ and run script st.cmd and don't stop it.In separate shell run cargo test.
Licensed under either of
at your option.
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.