sparse-v2/pcap-sys/Cargo.toml
Andrew Rioux f9ff9f266a
feat: added tcp
sorry Judah
2025-02-12 17:49:31 -05:00

39 lines
1.1 KiB
TOML

# Copyright (C) 2023 Andrew Rioux
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
[package]
name = "pcap-sys"
version = "0.1.0"
edition = "2021"
license = "AGPL-3.0-only"
publish = false
[dependencies]
errno = "0.3.10"
futures = "0.3.25"
libc = "0.2.169"
tokio = { version = "1.21.2", features = [
"net",
"rt",
"macros",
"rt-multi-thread",
] }
tokio-stream = "0.1.14"
packets = { path = "../packets" }
[target.'cfg(windows)'.dependencies]
windows = { version = "0.59.0", features = ["Win32_System_Threading"] }