xref: /aosp_15_r20/tools/netsim/rust/http-proxy/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 = "http-proxy"
17version = "0.1.0"
18edition = "2021"
19
20[lib]
21crate-type = ["staticlib", "lib"]
22path = "src/lib.rs"
23doctest = false
24
25[dependencies]
26base64 = "0.22.0"
27regex = "1.6.0"
28httparse = "1.8.0"
29libslirp-rs = { path = "../libslirp-rs" }
30log = "0.4.17"
31tokio = { version = "1.32.0", features = ["fs", "io-util", "macros", "net", "rt-multi-thread", "sync"] }
32etherparse = {version = "0.16" }
33
34[dev-dependencies]
35capture = { path = "../capture" }
36