# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "comport" version = "0.0.7" authors = ["Thomas Chiantia "] description = "Windows first async serial port" keywords = [ "Windows", "Async", "Serialport", ] license = "MIT" [lib] crate-type = [ "cdylib", "rlib", ] [dependencies.bitflags] version = "2.4" [dependencies.bytes] version = "1" [dependencies.crossbeam] version = "0.8" [dependencies.futures] version = "0.3" [dependencies.num-derive] version = "0.4" [dependencies.num-traits] version = "0.2" [dependencies.parking_lot] version = "0.12" [dependencies.pin-project-lite] version = "0.2" [dependencies.regex] version = "1" [dependencies.serde] version = "1" features = ["derive"] optional = true [dependencies.serde_json] version = "1" optional = true [dependencies.thiserror] version = "1" [dependencies.tracing] version = "0.1" [dev-dependencies.mockall] version = "0.12" [dev-dependencies.tokio] version = "1.32" features = ["full"] [dev-dependencies.tokio-util] version = "0.7" features = ["codec"] [dev-dependencies.tracing-subscriber] version = "0.3" [dev-dependencies.trybuild] version = "1" [features] default = [] node = ["dep:serde_json"] serde = ["dep:serde"] [target."cfg(windows)".dependencies.windows-sys] version = "0.52" features = [ "Win32_Foundation", "Win32_Graphics_Gdi", "Win32_Security", "Win32_Storage_FileSystem", "Win32_System_SystemInformation", "Win32_System_IO", "Win32_System_Kernel", "Win32_System_LibraryLoader", "Win32_System_Pipes", "Win32_System_Power", "Win32_System_Registry", "Win32_System_Rpc", "Win32_System_Services", "Win32_System_SystemServices", "Win32_System_Threading", "Win32_System_RemoteDesktop", "Win32_UI_WindowsAndMessaging", ]