Source code

Revision control

Copy as Markdown

Other Tools

# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.
[package]
edition = "2021"
name = "viaduct"
version = "0.1.0"
authors = ["Thom Chiovoloni <tchiovoloni@mozilla.com>"]
build = false
exclude = [
"/android",
"/ios",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
readme = "README.md"
license = "MPL-2.0"
[features]
backend-dev = [
"dep:tokio",
"dep:hyper",
]
default = []
ohttp = [
"dep:bhttp",
"dep:ohttp",
]
[lib]
name = "viaduct"
crate-type = ["lib"]
path = "src/lib.rs"
[dependencies]
async-trait = "0.1"
ffi-support = "0.4"
once_cell = "1.5"
pollster = "0.3.0"
prost = "0.13"
serde = "1"
serde_json = "1"
thiserror = "2"
url = "2"
[dependencies.bhttp]
rev = "bf6a983845cc0b540effb3a615e92d914dfcfd0b"
optional = true
[dependencies.error-support]
path = "../support/error"
[dependencies.hyper]
version = "0.14"
features = [
"client",
"http1",
"http2",
"tcp",
]
optional = true
[dependencies.ohttp]
rev = "bf6a983845cc0b540effb3a615e92d914dfcfd0b"
features = [
"client",
"server",
"app-svc",
"external-sqlite",
]
optional = true
default-features = false
[dependencies.parking_lot]
version = ">=0.11,<=0.12"
[dependencies.tokio]
version = "1"
features = ["rt-multi-thread"]
optional = true
[dependencies.uniffi]
version = "0.29.0"