feat(imaging): default to pure-Rust codecs
This commit is contained in:
@@ -8,7 +8,7 @@ repository.workspace = true
|
||||
description = "Texture codec abstractions for the MetaCrate LibreMetaverse rewrite"
|
||||
|
||||
[features]
|
||||
default = []
|
||||
default = ["rust-j2k"]
|
||||
jpeg2000 = ["dep:libremetaverse-openjpeg"]
|
||||
rust-j2k = ["dep:j2k"]
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
//! Image and texture abstractions corresponding to `LibreMetaverse.Imaging`.
|
||||
//!
|
||||
//! The default surface provides managed images plus native `TGA`/`DDS` handling.
|
||||
//! Enable `jpeg2000` for the audited system `OpenJPEG` adapter or `rust-j2k`
|
||||
//! for the independently selectable pure-Rust JPEG 2000 backend. Ordinary
|
||||
//! users can consume the traits without either codec dependency.
|
||||
//! The default surface provides managed images, native `TGA`/`DDS` handling,
|
||||
//! and the pure-Rust `rust-j2k` JPEG 2000 backend. Enable `jpeg2000` for the
|
||||
//! optional audited system `OpenJPEG` adapter. Consumers that only need the
|
||||
//! format-neutral image types can disable default features.
|
||||
|
||||
extern crate self as libremetaverse_imaging;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user