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 = falsewhen using as a library to exclude CLI dependencies (clap, etc.).
Cargo Features
| Feature | Description | Default |
|---|---|---|
cli | Full CLI binary (clap, csv, json) | Yes |
json | serde::Serialize on all result types | No |
csv | CSV output formatting | No |
# 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