const-utf16 0.2.1

Utf8 to utf16 conversion functions for use in const contexts
Documentation
name: Build and Test

on: 
  pull_request:
  push:
    branches:
      - main

env:
  RUSTFLAGS: -Dwarnings

jobs:
  test:
    runs-on: ubuntu-latest
    strategy:
      matrix: 
        rust: [stable, 1.46]
    steps:
    - uses: actions/checkout@v2
    - uses: actions-rs/toolchain@v1
      with:
        toolchain: ${{ matrix.rust }}
        profile: minimal
        override: true
        components: rustfmt
    - name: tests
      run: cargo test 
    - name: fmt
      run: cargo fmt -- --check
      if: matrix.rust == 'stable'