rtb-app 0.9.0

Application context, tool metadata, runtime features, and the Command plugin trait. Part of the phpboyscout Rust toolkit.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! `VersionInfo::from_env` must stay deprecated.
//!
//! It reports rtb-app's own version rather than the calling tool's,
//! because its `env!("CARGO_PKG_VERSION")` expands where the function is
//! compiled. Denying the lint turns the deprecation into a hard error,
//! so this fixture stops compiling the moment the attribute is dropped —
//! which is the regression that would silently re-break `rtb update`.
#![deny(deprecated)]

fn main() {
    let _ = rtb_app::version::VersionInfo::from_env();
}