av 0.1.0

A Rust procedural macro for tracking API version history and deprecation warnings.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Example 2: Full usage - all fields on one line

use av::ver;

#[ver(deprecated, since = "0.2.0", note = "Use new_function instead", date = "2024-01-15", author = "John Doe")]
pub fn old_function() {
    println!("This function is deprecated");
}

pub fn new_function() {
    println!("Use this instead");
}

fn main() {
    new_function();
}