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
//! Permissively-licensed Rust image decoder library with in-process
//! sandboxing.
//!
//! `glycin-ng` decodes images in-process via pure-Rust decoder crates
//! (`png`, `jpeg-decoder`, `gif`, `image-webp`, ...) and applies a
//! layered Linux sandbox (landlock, seccomp, setrlimit) to the
//! decoding thread. The actually-applied sandbox posture is reported
//! back so callers can audit or refuse a degraded posture.
//!
//! # Public API style
//!
//! The public API is strictly synchronous. Decoding is short-lived
//! and CPU-bound; callers that need async should wrap calls in
//! `spawn_blocking` or equivalent.
//!
//! # Feature flags
//!
//! Capability groups (independent, all default on except `encode`):
//! `decode`, `encode`, `metadata`.
//!
//! Sandbox layers (default on, Linux only): `landlock`, `seccomp`.
//!
//! Per-format gates (default on): `png`, `jpeg`, `gif`, `webp`,
//! `tiff`, `bmp`, `ico`, `tga`, `qoi`, `exr`, `pnm`, `dds`, `jxl`,
//! `svg`.
//!
//! C ABI surface (off by default): `c-api`. Enables the `cdylib`
//! and the C bindings.
pub use crate;
pub use crate;
pub use crateLimits;
pub use crateLoader;
pub use crateMemoryFormat;
pub use crate;
pub use crateKnownFormat;