[package] name = "serialport-fix-stop-bits" version = "4.3.0" authors = [ "Bryant Mairs ", "Jesse Braham ", ] edition = "2021" rust-version = "1.59.0" description = "A cross-platform low-level serial port library." documentation = "https://docs.rs/serialport" repository = "https://github.com/serialport/serialport-rs" license = "MPL-2.0" keywords = ["serial", "hardware", "system", "RS232"] categories = ["hardware-support"] [target."cfg(unix)".dependencies] bitflags = "2.4.0" cfg-if = "1.0.0" nix = { version = "0.26", default-features = false, features = ["fs", "ioctl", "poll", "signal", "term"] } [target.'cfg(all(target_os = "linux", not(target_env = "musl")))'.dependencies] libudev = { version = "0.3.0", optional = true } unescaper = "0.1.3" [target.'cfg(any(target_os = "ios", target_os = "macos"))'.dependencies] core-foundation-sys = "0.8.4" io-kit-sys = "0.4.0" mach2 = "0.4.1" [target."cfg(windows)".dependencies] regex = "1.5.5" [target."cfg(windows)".dependencies.winapi] version = "0.3.9" features = [ "cguid", "commapi", "errhandlingapi", "fileapi", "guiddef", "handleapi", "minwinbase", "minwindef", "ntdef", "setupapi", "winbase", "winerror", "winnt", ] [dependencies] scopeguard = "1.1" serde = { version = "1.0", features = ["derive"], optional = true } [dev-dependencies] assert_hex = "0.4.1" clap = { version = "3.1.6", features = ["derive"] } envconfig = "0.10.0" # TODO: Remove pinning this subdependency of clap when we are bumping our MSRV. # (There has been an incompatible change with the MSRV of os_str_bytes with # 6.6.0) Until then we are tricking the dependency resolver into using a # compatible version by adding it as a direct dependency here. os_str_bytes = ">=6.0, <6.6.0" rstest = { version = "0.12.0", default-features = false } rustversion = "1.0.16" [features] default = ["libudev"] ignore-hardware-tests = [] # TODO: Make the feature unconditionally available with the next major release # (5.0) and remove this feature gate. usbportinfo-interface = []