Skip to content

Commit

Permalink
Bump to v0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
akash-akya committed Mar 3, 2022
1 parent 2fb8e48 commit ea25cf9
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

ExCmd is an Elixir library to run and communicate with external programs with back-pressure mechanism. It makes use os provided stdio buffer for this.

Communication with external program with [Port](https://hexdocs.pm/elixir/Port.html) is not demand driven. So it is easy to run into memory issues when the size of the data we are writing or reading from the external program is large. ExCmd tries to solve this problem by making better use of os provided stdio buffers and providing demand-driven interface to write and read from external program. It can be used to stream data through an external program. For example, streaming a video through `ffmpeg` to serve a web request.
Communication with external program using [Port](https://hexdocs.pm/elixir/Port.html) is not demand driven. So it is easy to run into memory issues when the size of the data we are writing or reading from the external program is large. ExCmd tries to solve this problem by making better use of os provided stdio buffers and providing demand-driven interface to write and read from external program. It can be used to stream data through an external program. For example, streaming a video through `ffmpeg` to serve a web request.

Getting audio out of a video stream is as simple as

Expand Down
20 changes: 13 additions & 7 deletions mix.exs
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
defmodule ExCmd.MixProject do
use Mix.Project

@version "0.6.0"
@scm_url "https://github.com/akash-akya/ex_cmd"

def project do
[
app: :ex_cmd,
version: "0.5.1",
version: @version,
elixir: "~> 1.7",
start_permanent: Mix.env() == :prod,
deps: deps(),
Expand All @@ -15,11 +18,15 @@ defmodule ExCmd.MixProject do
description: description(),

# Docs
source_url: "https://github.com/akash-akya/ex_cmd",
homepage_url: "https://github.com/akash-akya/ex_cmd",
source_url: @scm_url,
homepage_url: @scm_url,
docs: [
main: "readme",
extras: ["README.md"]
source_ref: "v#{@version}",
extras: [
"README.md",
"LICENSE"
]
]
]
end
Expand All @@ -31,19 +38,18 @@ defmodule ExCmd.MixProject do
end

defp description do
"Interact with external programs with back-pressure"
"Interact with external programs with back-pressure mechanism"
end

defp package do
[
maintainers: ["Akash Hiremath"],
licenses: ["MIT"],
files: ~w(lib priv .formatter.exs mix.exs README* LICENSE* go_src),
links: %{GitHub: "https://github.com/akash-akya/ex_cmd"}
links: %{GitHub: @scm_url}
]
end

# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:gen_state_machine, "~> 2.0"},
Expand Down
Binary file modified priv/odu_darwin_amd64
Binary file not shown.
Binary file modified priv/odu_linux_amd64
Binary file not shown.
Binary file modified priv/odu_windows_amd64.exe
Binary file not shown.

0 comments on commit ea25cf9

Please sign in to comment.