摘要:1.SSL验证失败 fatal: unable to access 'https://github.com/rust-lang/crates.io-index/': OpenSSL SSL_read: Connection was reset, errno 10054 取消git的SSL验证 git
阅读全文
摘要:comportlist = "0.1.2" use comportlist::available_ports; for idx in available_ports(vec!["CNCPorts","Ports"]){ if let Some(ss) = idx.serial_number{ pri
阅读全文
摘要:依赖: rfd = "0.10.0" 选取单个文件: use rfd::FileDialog; let files = FileDialog::new() .add_filter("text", &["txt", "rs"]) .add_filter("rust", &["rs", "toml"])
阅读全文
摘要:1. toml [dependencies] serial = "0.4.0" encoding = "0.2.33" -- use std::io::{Read, Write}; use std::sync::{Arc, Mutex}; use std::thread; use std::time
阅读全文