1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
//! Deprecation helpers for the TenfloweRS meta-crate.
//!
//! This module provides the `deprecated_use` macro, which wraps a `pub use`
//! with a `#[deprecated]` attribute and a structured notice.
//!
//! # Policy
//! - Items are soft-deprecated in minor versions (`#[deprecated(since, note)]`).
//! - Items are removed in the next major version.
//! - Experimental items have no deprecation notice requirement.
//! - For 0.x releases: stability guarantees are best-effort; breaking changes
//! may occur in minor bumps with documented notice in CHANGELOG.
/// Emit a deprecated re-export with structured notice.
///
/// # Example
/// ```rust
/// # use tenflowers::deprecated_use;
/// // deprecated_use!(
/// // #[deprecated(since = "0.2.0", note = "Use `NewType` instead")]
/// // pub use OldType;
/// // );
/// ```
;
=> ;
}