Skip to content

Commit 96841cf

Browse files
authored
Make b58 dependency optional (#3)
1 parent 9c37b5f commit 96841cf

File tree

3 files changed

+15
-5
lines changed

3 files changed

+15
-5
lines changed

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
## v1.1
2+
3+
Make `b58` dependency optional.
4+
5+
## v1.0
6+
7+
First public release.

README.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@ Add `borsh_serializer` to your list of dependencies in `mix.exs`:
1616
```elixir
1717
def deps do
1818
[
19-
{:borsh_serializer, "~> 1.0"}
19+
{:borsh_serializer, "~> 1.0"},
20+
21+
# Add :b58 if you need :base58 data type support
22+
{:b58, "~> 1.0.2"},
2023
]
2124
end
2225
```

mix.exs

+4-4
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ defmodule Borsh.MixProject do
1010
description: "Borsh is a binary serializer for security-critical projects.",
1111
source_url: @source_url,
1212
package: package(),
13-
version: "1.0.0",
13+
version: "1.0.1",
1414
elixir: "~> 1.11",
1515
start_permanent: Mix.env() == :prod,
1616
elixirc_paths: elixirc_paths(Mix.env()),
@@ -19,8 +19,8 @@ defmodule Borsh.MixProject do
1919
main: "readme",
2020
# logo: "logo.png",
2121
extras: [
22-
"README.md"
23-
# "CHANGELOG.md"
22+
"README.md",
23+
"CHANGELOG.md"
2424
]
2525
]
2626
]
@@ -46,7 +46,7 @@ defmodule Borsh.MixProject do
4646

4747
defp deps do
4848
[
49-
{:b58, "~> 1.0.2"},
49+
{:b58, "~> 1.0.2", only: [:dev, :test]},
5050
{:credo, "~> 1.6", only: [:dev, :test], runtime: false},
5151
{:ex_doc, "~> 0.27", only: :dev, runtime: false}
5252
]

0 commit comments

Comments
 (0)