mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-19 00:34:23 +00:00
16 lines
262 B
Rust
16 lines
262 B
Rust
mod util;
|
|
use schemars::JsonSchema;
|
|
use semver::Version;
|
|
use util::*;
|
|
|
|
#[allow(dead_code)]
|
|
#[derive(JsonSchema)]
|
|
struct SemverTypes {
|
|
version: Version,
|
|
}
|
|
|
|
#[test]
|
|
fn semver_types() -> TestResult {
|
|
test_default_generated_schema::<SemverTypes>("semver")
|
|
}
|