Skip to main content

epics_base_rs/
lib.rs

1#![allow(
2    clippy::approx_constant,
3    clippy::collapsible_match,
4    clippy::collapsible_if,
5    clippy::derivable_impls,
6    clippy::field_reassign_with_default,
7    clippy::implicit_saturating_sub,
8    clippy::io_other_error,
9    clippy::items_after_test_module,
10    clippy::manual_is_multiple_of,
11    clippy::manual_range_contains,
12    clippy::manual_strip,
13    clippy::map_entry,
14    clippy::needless_range_loop,
15    clippy::new_without_default,
16    clippy::redundant_closure,
17    clippy::should_implement_trait,
18    clippy::single_match,
19    clippy::type_complexity,
20    clippy::unnecessary_cast,
21    clippy::unnecessary_map_or,
22    clippy::useless_conversion
23)]
24
25/// The upstream EPICS Base release this crate ports, as evaluated by
26/// `configure/CONFIG_BASE_VERSION`'s `EPICS_VERSION_NUMBER`
27/// (`EPICS_VERSION.EPICS_REVISION.EPICS_MODIFICATION.EPICS_PATCH_LEVEL`
28/// plus the `-DEV` development-snapshot suffix). This is the single
29/// source of truth for the EPICS Base version the CA/PVA diagnostic
30/// tools report — the Rust analogue of the C `EPICS_VERSION_STRING`
31/// macro that pvxs prints from `version_information`
32/// (`pvxs/src/describe.cpp`).
33///
34/// This is deliberately distinct from the `epics-base-rs` *crate*
35/// version (`CARGO_PKG_VERSION`): the crate version tracks the Rust
36/// port's own release cadence, while this names the EPICS Base release
37/// being ported.
38pub const EPICS_BASE_VERSION: &str = "7.0.10.1-DEV";
39
40pub mod calc;
41pub mod error;
42pub mod net;
43pub mod runtime;
44pub mod server;
45pub mod types;
46
47pub use epics_macros_rs::epics_main;
48pub use epics_macros_rs::epics_test;
49
50#[doc(hidden)]
51pub use tokio as __tokio;