Skip to content

Latest commit

 

History

History
62 lines (41 loc) · 1.29 KB

build.md

File metadata and controls

62 lines (41 loc) · 1.29 KB

Build

Prerequisite

You must have Rust program language installed.

With Cargo

To install csvs directly from crates.io:

cargo install csvs

From source codes

Windows (MSVC)

  1. Set up a Rust build environment on Windows.
  2. Install the Rust toolchain stable-x86_64-pc-windows-msvc.
  3. Run the build script:
build-win.cmd
  1. The Executable will be generated in target-win/release.

macOS (Universal Binary)

  1. Install Xcode command-line tools:
xcode-select --install
  1. Install the Rust targets x86_64-apple-darwin and aarch64-apple-darwin.
  2. Run the build script:
./build-mac.sh
  1. The executable will be generated in dist-mac

Linux (musl libc)

  1. Install Docker. Refer to the Docker Docs.
  2. Run the build script:
./build-linux.sh
  1. The executable will be generated in target-docker/release.