Metadata-Version: 2.4
Name: tja
Version: 0.3.1
Classifier: Programming Language :: Rust
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
License-File: LICENSE
Summary: TJA file parser written in Rust, working in Rust, Python, and WebAssembly.
Home-Page: https://github.com/JacobLinCool/tja-rs
Author: JacobLinCool <jacob@csie.cool>
Author-email: JacobLinCool <jacob@csie.cool>
License: MIT
Requires-Python: >=3.8
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
Project-URL: Source Code, https://github.com/JacobLinCool/tja-rs

# tja-rs

TJA file parser written in Rust, working in Rust, Python, and WebAssembly.

## Building

### Rust

Rust target requires no additional feature flags.

To build the library, run:

```sh
cargo build
```

To build the CLI tool, run:

```sh
cargo build --bin tja
```

### Python

We use maturin to build the Python package.

The Python package requires the `python` feature flag to be enabled.

To build the Python package, run:

```sh
maturin develop -F python
```

### WebAssembly

We use wasm-pack to build the WebAssembly package.

The WebAssembly package requires the `wasm` feature flag to be enabled.

To build the WebAssembly package, run:

```sh
wasm-pack build --features wasm
```

