factored out the packet parsing logic from libpcap will probably come back to linking against libpcap in a later version
31 lines
1007 B
TOML
31 lines
1007 B
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"
|
|
|
|
[dependencies]
|
|
errno = "0.2.8"
|
|
futures = "0.3.25"
|
|
libc = "0.2.142"
|
|
tokio = { version = "1.21.2", features = ["net", "rt", "macros", "rt-multi-thread" ] }
|
|
tokio-stream = "0.1.14"
|
|
packets = { path = "../packets" }
|
|
|
|
[build-dependencies]
|
|
cmake = "0.1"
|