readpassphrase-3 0.3.5

Simple wrapper around readpassphrase(3)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright 2025 Steven Dee.
//
// This project is dual licensed under the MIT and Apache 2.0 licenses. See
// the LICENSE file in the project root for details.
//
// The readpassphrase source and header are copyright 2000-2002, 2007, 2010
// Todd C. Miller.

fn main() {
    cc::Build::new()
        .file("csrc/readpassphrase.c")
        .include("csrc")
        .compile("readpassphrase");
    println!("cargo:rerun-if-changed=csrc/readpassphrase.c");
    println!("cargo:rerun-if-changed=csrc/readpassphrase.h");
}