🚧 wip: starting new project, "Insecure Chat"

main
_ 2022-10-16 19:42:44 +00:00
parent be03300f55
commit 1139ba4657
3 changed files with 46 additions and 2 deletions

21
Cargo.lock generated
View File

@ -726,6 +726,13 @@ dependencies = [
"hashbrown",
]
[[package]]
name = "insecure_chat"
version = "0.1.0"
dependencies = [
"mac_address",
]
[[package]]
name = "ipnet"
version = "2.3.1"
@ -792,6 +799,16 @@ dependencies = [
"cfg-if",
]
[[package]]
name = "mac_address"
version = "1.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b238e3235c8382b7653c6408ed1b08dd379bdb9fdf990fb0bbae3db2cc0ae963"
dependencies = [
"nix",
"winapi",
]
[[package]]
name = "maplit"
version = "1.0.2"
@ -898,9 +915,9 @@ dependencies = [
[[package]]
name = "nix"
version = "0.23.0"
version = "0.23.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f305c2c2e4c39a82f7bf0bf65fb557f9070ce06781d4f2454295cc34b1c43188"
checksum = "9f866317acbd3a240710c63f065ffb1e4fd466259045ccb504130b7f668f35c6"
dependencies = [
"bitflags",
"cc",

View File

@ -0,0 +1,9 @@
[package]
name = "insecure_chat"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
mac_address = "1.1.4"

View File

@ -0,0 +1,18 @@
use std::{
net::{
IpAddr,
SocketAddr,
},
};
fn main () {
let mut args = std::env::args ();
let mut bail_unknown = true;
// let mut name =
for arg in args.next () {
}
unimplemented!();
}