auv-core 0.0.22

Domain-facing local and remote operation interface for AUV
1
2
3
4
5
6
7
8
9
10
11
12
#[cfg(unix)]
#[tokio::test]
async fn explicit_daemon_context_does_not_fall_back_to_local() {
  let directory = tempfile::tempdir().expect("temporary socket directory");
  let missing_socket = directory.path().join("missing.sock");
  let context = auv::AuvContext {
    daemon_endpoint: Some(format!("unix://{}", missing_socket.display())),
    ..Default::default()
  };

  assert!(auv::Client::from_context(context).await.is_err());
}