[package]
name = "aptos-api"
version = "0.2.7"
authors = ["Aptos Labs <opensource@aptoslabs.com>"]
description = "Aptos REST API"
repository = "https://github.com/aptos-labs/aptos-core"
homepage = "https://aptoslabs.com"
license = "Apache-2.0"
edition = "2018"
[dependencies]
anyhow = "1.0.57"
async-trait = "0.1.53"
bcs = "0.1.3"
bytes = "1.1.0"
fail = "0.5.0"
futures = "0.3.21"
hex = "0.4.3"
hyper = "0.14.18"
mime = "0.3.16"
once_cell = "1.10.0"
paste = "1.0.7"
percent-encoding = "2.1.0"
poem = { version = "1.3.38", features = ["anyhow", "rustls"] }
poem-openapi = { version = "2.0.8", features = ["url"] }
serde = { version = "1.0.137", features = ["derive"], default-features = false }
serde_json = { version = "1.0.81", features = ["preserve_order"] }
thiserror = "1.0.31"
tokio = { version = "1.18.2", features = ["full"] }
url = "2.2.2"
warp = { version = "0.3.2", features = ["default", "tls"] }
warp-reverse-proxy = "0.5.0"
aptos-api-types = { version = "0.2.1", path = "./types", package = "aptos-api-types" }
aptos-config = { version = "0.2.1", path = "../config" }
aptos-crypto = { version = "0.2.1", path = "../crates/aptos-crypto" }
aptos-logger = { version = "0.2.1", path = "../crates/aptos-logger" }
aptos-mempool = { version = "0.2.1", path = "../mempool" }
aptos-metrics-core = { version = "0.2.1", path = "../crates/aptos-metrics-core" }
aptos-state-view = { version = "0.2.1", path = "../storage/state-view" }
aptos-types = { version = "0.2.1", path = "../types" }
aptos-vm = { version = "0.2.1", path = "../aptos-move/aptos-vm" }
move-deps = { version = "0.2.1", path = "../aptos-move/move-deps", features = [
"address32"
] }
storage-interface = { version = "0.2.1", path = "../storage/storage-interface" }
[dev-dependencies]
goldenfile = "1.1.0"
proptest = { version = "1.0.0", default-features = true }
rand = "0.7.3"
regex = "1.5.5"
reqwest = { version = "0.11.10", features = [
"blocking",
"json"
], default_features = false }
aptos-crypto = { version = "0.2.1", path = "../crates/aptos-crypto" }
aptos-genesis = { version = "0.2.1", path = "../crates/aptos-genesis", features = [
"testing"
] }
aptos-global-constants = { version = "0.2.1", path = "../config/global-constants" }
aptos-mempool = { version = "0.2.1", path = "../mempool", features = [
"fuzzing"
] }
aptos-proptest-helpers = { version = "0.2.1", path = "../crates/aptos-proptest-helpers" }
aptos-sdk = { version = "0.2.1", path = "../sdk" }
aptos-secure-storage = { version = "0.2.1", path = "../secure/storage" }
aptos-temppath = { version = "0.2.1", path = "../crates/aptos-temppath" }
aptos-vm = { version = "0.2.1", path = "../aptos-move/aptos-vm" }
aptosdb = { version = "0.2.1", path = "../storage/aptosdb", features = [
"fuzzing"
] }
cached-framework-packages = { version = "0.2.1", path = "../aptos-move/framework/cached-packages" }
aptos-executor = { version = "0.2.1", path = "../execution/executor" }
executor-types = { version = "0.2.1", path = "../execution/executor-types" }
mempool-notifications = { version = "0.2.1", path = "../state-sync/inter-component/mempool-notifications" }
move-deps = { version = "0.2.1", path = "../aptos-move/move-deps" }
serde_path_to_error = "0.1"
vm-validator = { version = "0.2.1", path = "../vm-validator" }
[features]
failpoints = ["fail/failpoints"]