secretspec-derive 0.12.1

Derive macros for SecretSpec type-safe code generation
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Tests that verify the macro generates valid code
// These use inline strings instead of file paths to avoid path issues

#[test]
fn test_macro_generates_valid_code() {
    // This test verifies that the proc macro generates syntactically valid Rust code
    // The actual functionality is tested in the secretspec crate's integration tests

    // We can't easily test the macro directly here because it needs to read files
    // and generate code at compile time. The integration tests in the main crate
    // will provide better coverage.

    // For now, we just verify the crate compiles correctly
    assert!(true);
}