# 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 = "extcap" version = "0.4.0" authors = ["Tomas Kukosa "] exclude = [".github"] description = "Crate for writing extcap Wireshark plugins." readme = "README.md" keywords = ["extcap", "Wireshark", "pcap"] categories = ["command-line-interface"] license = "Apache-2.0 OR MIT" repository = "https://github.com/tkeksa/extcap-rs" resolver = "2" [package.metadata.docs.rs] all-features = true [[example]] name = "test_serial_dump" required-features = ["async-api"] [[example]] name = "test_control_dump" required-features = ["ctrl-pipe"] [dependencies.bytes] version = "1.1.0" [dependencies.clap] version = "3.1.0" [dependencies.futures] version = "0.3.21" optional = true [dependencies.log] version = "0.4.14" [dependencies.pcap-file] version = "1.1.1" [dependencies.tokio] version = "1.17.0" optional = true [dependencies.tokio-util] version = "0.7.0" optional = true [dev-dependencies.ctrlc] version = "3.2.1" [dev-dependencies.futures] version = "0.3.21" [dev-dependencies.rand] version = "0.8.5" [dev-dependencies.serialport] version = "4.0.1" [dev-dependencies.simplelog] version = "0.11.2" [dev-dependencies.tokio] version = "1.17.0" features = ["macros", "rt-multi-thread"] [dev-dependencies.tokio-serial] version = "5.4.1" [dev-dependencies.tokio-util] version = "0.7.0" features = ["codec"] [features] async-api = ["futures"] ctrl-pipe = ["async-api", "tokio/fs", "tokio-util/codec"] default = []