keymaps 1.2.0

A rust crate which provides a standardized encoding for key codes
Documentation
<!--
keymaps - A rust crate which provides a standardized encoding for key codes

Copyright (C) 2025 Benedikt Peetz <benedikt.peetz@b-peetz.de>
SPDX-License-Identifier: LGPL-3.0-or-later

This file is part of the keymaps crate.

You should have received a copy of the License along with this program.
If not, see <https://www.gnu.org/licenses/lgpl-3.0.txt>.
-->

# Keymaps

> A rust crate which provides a standardized encoding for key codes

## Quickstart

```rust
use keymaps::{
    key_repr::{Key, Keys},
    map_tree::Trie,
};

fn main() {
    let mut tree = MapTrie::<&str>::new();

    let keys: Vec<Key> = Key::parse_multiple("<C-c>ab").unwrap();
    tree.insert(&keys, "first").unwrap();

    let keys: Vec<Key> = Key::parse_multiple("<CA-B>ac").unwrap();
    tree.insert(&keys, "second").unwrap();

    let keys: Keys = ("<AMC-0>d").parse().unwrap();
    tree.insert(&keys, "third").unwrap();

    println!("Got value: '{}'", tree.get(&keys).unwrap().value().unwrap());

    println!("Tree is: \n{tree}");
}
```

## Licence

This program is free software: you can redistribute it and/or modify
it under the terms of the Lesser GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.