-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
36 lines (31 loc) · 1.09 KB
/
Cargo.toml
File metadata and controls
36 lines (31 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
[package]
name = "http-handler"
version = "1.0.0"
description = "A request handling library for use with the http crate"
authors = ["Platformatic Inc. <oss@platformatic.dev> (https://platformatic.dev)"]
license = "Apache-2.0"
repository = "https://github.com/platformatic/http-rewriter"
keywords = ["http", "handling", "library"]
categories = ["network-programming", "web-development"]
edition = "2024"
[lib]
name = "http_handler"
crate-type = ["rlib", "cdylib"]
path = "src/lib.rs"
[features]
default = []
napi-support = ["dep:napi", "dep:napi-derive", "dep:napi-build"]
[build-dependencies]
napi-build = { version = "2", optional = true }
[dependencies]
bytes = "1.10.1"
http = "1.0"
tokio = { version = "1.45.1", features = ["sync", "macros", "rt", "io-util"] }
tokio-util = { version = "0.7", features = ["codec"] }
http-body = "1.0"
http-body-util = "0.1"
futures-core = "0.3"
napi = { version = "3", features = ["napi4", "tokio_rt", "async"], optional = true }
napi-derive = { version = "3", optional = true }
[dev-dependencies]
tokio = { version = "1.45.1", features = ["rt-multi-thread", "macros"] }