mirror of
https://github.com/aramperes/nut-rs.git
synced 2025-09-09 05:28:31 -04:00
fix: readme, missing dotenv, lint
This commit is contained in:
parent
7988d6adcb
commit
ddb003dc0c
3 changed files with 7 additions and 3 deletions
|
@ -1,8 +1,8 @@
|
|||
use std::env;
|
||||
use std::net::ToSocketAddrs;
|
||||
|
||||
use nut_client::{Auth, ConfigBuilder, Host};
|
||||
use nut_client::blocking::Connection;
|
||||
use nut_client::{Auth, ConfigBuilder, Host};
|
||||
|
||||
fn main() -> nut_client::Result<()> {
|
||||
let addr = env::var("NUT_ADDR")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue