git ignore

This commit is contained in:
asxalex 2024-07-06 11:09:18 +08:00
parent f059b78204
commit 762ff30c18
4 changed files with 6 additions and 3 deletions

3
.gitignore vendored
View File

@ -1,2 +1,5 @@
/target
*.so
.id
.client
.output

2
Cargo.lock generated
View File

@ -1422,7 +1422,7 @@ dependencies = [
[[package]]
name = "sdlan-sn-rs"
version = "0.1.0"
source = "git+http://git.asxalex.pw/sdlan-v2/sdlan-rs.git#f320526f2dc1f6c3154b9ade81c556af0d068378"
source = "git+https://git.asxalex.pw/sdlan-v2/sdlan-rs.git#f320526f2dc1f6c3154b9ade81c556af0d068378"
dependencies = [
"aes",
"byteorder",

View File

@ -14,7 +14,7 @@ prost = "0.12.6"
prost-build = "0.12.6"
rsa = "0.9.6"
# sdlan-sn-rs = { git = "ssh://git@git.asxalex.pw/sdlan-v2/sdlan-rs.git" }
sdlan-sn-rs = { git = "http://git.asxalex.pw/sdlan-v2/sdlan-rs.git" }
sdlan-sn-rs = { git = "https://git.asxalex.pw/sdlan-v2/sdlan-rs.git" }
structopt = "0.3.26"
tokio = { version = "1.38.0", futures = ["full"] }
tokio-util = "0.7.11"

View File

@ -89,7 +89,7 @@ fn create_wintun(path: &str,name: &str) -> Iface {
Iface { adapter, session, name: name.to_owned()}
}
pub fn new_iface(name: &str, mode: Mode) -> Iface {
pub fn new_iface(name: &str, _mode: Mode) -> Iface {
create_wintun("./wintun.dll", name)
// Ok(Box::new(create_wintun("/path/to/file")))
}