thai-number-text 1.0.0

Convert numbers to Thai text with Baht currency, accounting style, and scientific notation support
Documentation
.PHONY: all build test bench clean check fmt lint doc size release dry-release

all: check test

# Build with default features (no_std)
build:
	cargo build

# Build with all features
build-all:
	cargo build --all-features

# Run tests
test:
	cargo test

# Run tests with all features
test-all:
	cargo test --all-features

# Run benchmarks (requires std feature)
bench:
	cargo bench --features std

# Check code without building
check:
	cargo check
	cargo check --all-features
	cargo check --no-default-features

# Format code
fmt:
	cargo fmt

# Lint code
lint:
	cargo fmt -- --check
	cargo clippy -- -D warnings
	cargo clippy --all-features -- -D warnings

# Generate documentation
doc:
	cargo doc --no-deps --all-features

# Open documentation
doc-open:
	cargo doc --no-deps --all-features --open

# Build release binary and show size
size:
	cargo build --release
	@echo "Release library size:"
	@powershell -Command "Get-ChildItem target/release -Filter '*.rlib' | Where-Object { $$_.Name -like '*thai*' } | Select-Object Name, @{N='Size(KB)';E={[math]::Round($$_.Length/1KB,2)}}"

# Build with maximum size optimization
release:
	cargo build --profile release-size

# Dry-run release (check what would be published)
dry-release:
	cargo publish --dry-run

# Clean build artifacts
clean:
	cargo clean

# Verify no_std compatibility
verify-no-std:
	cargo build --no-default-features

# Run example
example:
	cargo run --example demo --features std

# Run all CI checks
ci: fmt lint check test-all doc
	@echo "All CI checks passed!"