~kennylevinsen/dlm

e76b5255f6e49aa8d704360c28b59334037c04be — Kenny Levinsen 4 years ago c71a497
Update greet_proto
2 files changed, 3 insertions(+), 2 deletions(-)

M Cargo.lock
M src/main.rs
M Cargo.lock => Cargo.lock +1 -1
@@ 86,7 86,7 @@ dependencies = [
[[package]]
name = "greet_proto"
version = "0.2.0"
source = "git+https://git.sr.ht/~kennylevinsen/greetd#06940484a7cb845e56830576d4267ad3a8075ec5"
source = "git+https://git.sr.ht/~kennylevinsen/greetd#008be662d1d00cbcd8787f7f3bf207bca6eb46ab"
dependencies = [
 "byteorder 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
 "serde 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)",

M src/main.rs => src/main.rs +2 -1
@@ 8,7 8,7 @@ use std::collections::HashMap;
use framebuffer::{Framebuffer, KdMode};
use termion::raw::IntoRawMode;

use greet_proto::{Request, Response, Header};
use greet_proto::{Request, Response, Header, VtSelection};

const USERNAME_CAP: usize = 64;
const PASSWORD_CAP: usize = 64;


@@ 177,6 177,7 @@ fn login(username: String, password: String, command: Vec<String>, env: HashMap<
        password,
        command,
        env,
        vt: VtSelection::Current,
    };

    let mut stream = UnixStream::connect(env::var("GREETD_SOCK")?)?;