rust-ipfs/Cargo.toml
Joonas Koivunen e032d3d4aa
Http v0 for testing (#71)
* add first draft of the http api

* chore note on the difficulties with with_graceful_shutdown

* add the second required output line by js-ipfsd-ctl

* run cargo fmt for different formatting from rls?

* chore note on (stalled) progress

* add remaining cli args boilerplate

what is missing now is using ephemeral addresses with the warp, as
js-ipfsd-ctl doesn't always to shutdown the older one, or then it just
doesn't shut down correctly.

* fix bind to ephemeral localhost port

* add env_logger initialization

* fix faked multiaddr typo

never remember its "ip4" instead of "ipv4"

* fix do GET on every method in /id

for some reason js-ipfsd-ctl will do a POST against /api/v0/id.

* chore run cargo fmt

* Adding placeholder NOT_IMPLEMENTED endpiints

* rustfmt

* Feedback from PR

* Update http/Cargo.toml

Co-Authored-By: Joonas Koivunen <joonas@equilibrium.co>

Co-authored-by: Mark Robert Henderson <henderson.mark@gmail.com>
2020-03-05 21:38:44 +02:00

44 lines
1.2 KiB
TOML

[package]
name = "ipfs"
version = "0.1.0"
authors = ["David Craven <david@craven.ch>"]
edition = "2018"
license = "MIT OR Apache-2.0"
[features]
default = []
all = ["rocksdb"]
[dependencies]
async-std = { version = "1.5.0", features = [ "unstable", "std" ] }
async-trait = "0.1.24"
byteorder = "1.3.4"
cbor = { git = "https://github.com/dvc94ch/rust-cbor", branch = "read-data-item" }
cid = { git = "https://github.com/multiformats/rust-cid", branch = "master" }
dirs = "2.0.2"
domain = { git = "https://github.com/nlnetlabs/domain", features = ["resolv"] }
env_logger = "0.7.1"
failure = "0.1.6"
fnv = "1.0.6"
futures = { version = "0.3.4", features = [ "compat", "io-compat", "async-await" ] }
libp2p = { git = "https://github.com/libp2p/rust-libp2p", rev = "1eff4b98237f50f8697af71fdd8362fe9e51d071" }
log = "0.4.8"
multibase = "0.7.0"
multihash = "0.8.0"
prost = "0.6.1"
rand = "0.7.3"
rocksdb = { version = "0.13.0", optional = true }
rustc-serialize = "0.3.24"
serde = "1.0.104"
serde_derive = "1.0.104"
serde_json = "1.0.48"
[patch.crates-io]
ctr = { git = "https://github.com/koivunej/stream-ciphers.git", branch = "ctr128-64to128" }
[build-dependencies]
prost-build = "0.6.1"
[workspace]
members = [ "http" ]