Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Installation

Rust

Add to your Cargo.toml:

[dependencies]
idsmith = { version = "0.4.0", default-features = false }

Or install the CLI:

cargo install idsmith

Note: Use default-features = false when using as a library to exclude CLI dependencies (clap, etc.).

Cargo Features

FeatureDescriptionDefault
cliFull CLI binary (clap, csv, json)Yes
jsonserde::Serialize on all result typesNo
csvCSV output formattingNo
# Library only — minimal dependencies
idsmith = { version = "0.4.0", default-features = false }

# Library with JSON serialization
idsmith = { version = "0.4.0", default-features = false, features = ["json"] }

Python

Requires Python 3.8+.

pip install idsmith

Pre-built wheels are available for Linux, macOS, and Windows.

Node.js

Requires Node.js 18+.

npm install idsmith

Pre-built native binaries are available for:

  • Linux (x86_64, aarch64)
  • macOS (x86_64, aarch64)
  • Windows (x86_64)

From Source

git clone https://github.com/Sunyata-OU/idsmith
cd idsmith

# Rust
cargo build --release

# Python
cd bindings/python
pip install maturin
maturin develop

# Node.js
cd bindings/node
npm install
npm run build