Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CodecMedia Cargo

Rust package scaffold for the CodecMedia engine.

This crate is prepared for porting behavior from codecmedia-java and codecmedia-npm. The current implementation is intentionally small: it exposes the public shape needed to start work, validates paths, and returns extension-based probe results until format parsers are ported.

Status

  • Package version: 0.1.0
  • Rust edition: 2021
  • License: Apache-2.0
  • Runtime dependencies: none

Quick Start

use codecmedia::CodecMedia;

let engine = CodecMedia::create_default();
let result = engine.probe("sample.mp3")?;
println!("{} {}", result.mime_type, result.extension);
# Ok::<(), codecmedia::CodecMediaError>(())

Development

cargo test
cargo package --allow-dirty --no-verify

Next Work

  • Port parser-backed probing from Java/npm.
  • Add strict validation.
  • Add metadata sidecar and embedded metadata behavior.
  • Add conversion routing.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages