aboutsummaryrefslogtreecommitdiffstats
path: root/README.rst
blob: 80fff8cd8e0412f195124e5bd620ca97c627ca88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
================================
Rust bindings for hinoko library
================================

2024/02/22
Takashi Sakamoto

Introduction
============

* This repository includes FFI and API bindings for ``libhinoko1`` which provides ``Hinoko-1.0.gir``.

  * `<https://git.kernel.org/pub/scm/libs/ieee1394/libhinoko.git/>`_

* The crates are available in `crates.io <https://crates.io/>`_ as well.

The latest release is version 0.6.0.

Crates
======

API bindings for safe and high-level abstractions
-------------------------------------------------

* `hinoko crate <hinoko/README.md>`_

`FFI bindings <https://doc.rust-lang.org/cargo/reference/build-scripts.html#-sys-packages>`_
--------------------------------------------------------------------------------------------

* `hinoko-sys crate <hinoko-sys/README.md>`_

License
=======

MIT License

Dependencies
============

* `libhinoko <https://git.kernel.org/pub/scm/libs/ieee1394/libhinoko.git/>`_
* FFI crate (``hinoko-sys``)

  * ``libc`` >= 0.2
  * ``glib-sys`` >= 0.19
  * ``gobject-sys`` >= 0.19
  * ``hinawa-sys`` >= 0.11

* API crate (``hinoko``)

  * ``libc`` >= 0.2
  * ``bitflags`` >= 1.0
  * ``glib`` >= 0.l9
  * ``hinawa`` >= 0.11
  * FFI crate (``hinoko-sys``)

Examples
========

See ``hinoko/examples`` directory