xref: /aosp_15_r20/tools/netsim/rust/libslirp-rs/Cargo.toml (revision cf78ab8cffb8fc9207af348f23af247fb04370a6)
1# Copyright 2024 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7#      http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15[package]
16name = "libslirp-rs"
17version = "0.1.0"
18edition = "2021"
19##build = "build_cargo.rs"
20
21[lib]
22path = "src/lib.rs"
23crate-type = ["staticlib","lib"]
24doctest = false
25
26[dependencies]
27etherparse = {version = "0.16" }
28bytes = { version = "1.4.0" }
29libc = "0.2"
30log = "0.4.17"
31winapi = { version = "0.3", features = ["winsock2"] }
32tokio = { version = "1.32.0", features = [ "net", "rt-multi-thread"] }
33
34[build-dependencies]
35##bindgen = "0.69.4"
36