Skip to content
This repository has been archived by the owner on Oct 23, 2022. It is now read-only.

Commit

Permalink
Merge #399
Browse files Browse the repository at this point in the history
399: Prepare ipfs release r=koivunej a=koivunej

This PR updates Cargo.toml, so that I can release it.

I hope adding the `version` for the `path` deps does the trick, at least `cargo publish --dry-run` seems to produce an ok crate, with:

```
[dependencies.ipfs-bitswap]
version = "0.1"

[dependencies.ipfs-unixfs]
version = "0.2"
```

The crate ends up containing the Cargo.lock file which I am not so sure if it should be excluded?

Co-authored-by: Joonas Koivunen <[email protected]>
  • Loading branch information
bors[bot] and Joonas Koivunen committed Sep 23, 2020
2 parents 598ee39 + 1e452e8 commit 722d41a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 6 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ authors = ["Rust-IPFS contributors"]
edition = "2018"
license = "MIT OR Apache-2.0"
name = "ipfs"
version = "0.1.0"
readme = "README.md"
repository = "https://github.com/rs-ipfs/rust-ipfs"
description = "IPFS node implementation"
version = "0.2.0"

[features]
default = []
Expand All @@ -15,7 +18,7 @@ anyhow = { default-features = false, version = "1.0" }
async-stream = { default-features = false, version = "0.3" }
async-trait = { default-features = false, version = "0.1" }
base64 = { default-features = false, features = ["alloc"], version = "0.12" }
ipfs-bitswap = { path = "bitswap" }
ipfs-bitswap = { version = "0.1", path = "bitswap" }
byteorder = { default-features = false, version = "1.3" }
bytes = { default-features = false, version = "0.5" }
cid = { default-features = false, version = "0.5" }
Expand All @@ -24,7 +27,7 @@ domain = { default-features = false, version = "0.5" }
domain-resolv = { default-features = false, version = "0.5" }
either = { default-features = false, version = "1.5" }
futures = { default-features = false, version = "0.3.5", features = ["alloc", "std"] }
ipfs-unixfs = { path = "unixfs" }
ipfs-unixfs = { version = "0.2", path = "unixfs" }
libp2p = { default-features = false, features = ["floodsub", "identify", "kad", "tcp-tokio", "mdns-tokio", "mplex", "noise", "ping", "yamux", "dns"], version = "0.28" }
multibase = { default-features = false, version = "0.8" }
multihash = { default-features = false, version = "0.11" }
Expand Down

0 comments on commit 722d41a

Please sign in to comment.