Skip to content

Commit

Permalink
Rename feature to reflect its unstablenes
Browse files Browse the repository at this point in the history
  • Loading branch information
tdittr committed Oct 27, 2023
1 parent 3e52a15 commit 02304a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ntpd/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ ntp-proto = { workspace = true, features = ["__internal-test",] }
[features]
hardware-timestamping = []
__internal-fuzz = []
ntpv5 = ["ntp-proto/ntpv5"]
unstable_ntpv5 = ["ntp-proto/ntpv5"]

[lib]
name = "ntpd"
Expand Down
2 changes: 1 addition & 1 deletion ntpd/src/daemon/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1145,7 +1145,7 @@ mod tests {
assert_eq!(response, None);
}

#[cfg(feature = "ntpv5")]
#[cfg(feature = "unstable_ntpv5")]
#[test]
fn test_handle_v5_packet() {
let mut server = default_server_task();
Expand Down

0 comments on commit 02304a5

Please sign in to comment.