rust: Turn readme links into absolute links
@@ -45,7 +45,7 @@ With this in place, the bindings should be built when you run `cargo build`.
### Local Build
-To build the bindings explicitly as part of the elektra build process, we add the option `rust` to `-DBINDINGS`. Now [build libelektra](../../../doc/COMPILE.md) and the bindings will be built as part of this process.
+To build the bindings explicitly as part of the elektra build process, we add the option `rust` to `-DBINDINGS`. Now [build libelektra](https://master.libelektra.org/doc/COMPILE.md) and the bindings will be built as part of this process.
Your Cargo.toml dependencies might then look like this
@@ -75,7 +75,7 @@ If you run `cargo run` and everything builds correctly and prints `Hello, world!
### Key
-An example for using a `StringKey`. Run it from the `example` directory using `cargo run --bin key`. See the [full example](example/src/bin/key.rs) for more.
+An example for using a `StringKey`. Run it from the `example` directory using `cargo run --bin key`. See the [full example](https://master.libelektra.org/src/bindings/rust/example/src/bin/key.rs) for more.
```rust
extern crate elektra;
@@ -125,7 +125,7 @@ A KeySet is a set of StringKeys.
- You can create an empty keyset with `new` or preallocate space for a number of keys with `with_capacity`.
- It has two implementations of the `Iterator` trait, so you can iterate immutably or mutably.
-See the [full example](example/src/bin/keyset.rs) for more. Run it from the `example` directory using `cargo run --bin keyset`.
+See the [full example](https://master.libelektra.org/src/bindings/rust/example/src/bin/keyset.rs) for more. Run it from the `example` directory using `cargo run --bin keyset`.
```rust
extern crate elektra;
@@ -166,7 +166,7 @@ let string_key = StringKey::from(binary_key);
### KDB
With the `KDB` struct you can access the key database.
-See the [full example](example/src/bin/kdb.rs) for more. Run it from the `example` directory using `cargo run --bin kdb`.
+See the [full example](https://master.libelektra.org/src/bindings/rust/example/src/bin/kdb.rs) for more. Run it from the `example` directory using `cargo run --bin kdb`.
The KDB error types are nested, so you can match on a high-level or a specific one. You might want to match all validation errors using `kdb_error.is_validation()` which would include both syntactic and semantic validation errors.
For an in-depth explanation of the error types, see the [error guideline](https://master.libelektra.org/doc/dev/error-categorization.md).
