Skip to content

Commit

Permalink
cleanup amf0 crate
Browse files Browse the repository at this point in the history
Cleans up the AMF0 decoder / encoder crate and adds some documentation
around its usage.
  • Loading branch information
TroyKomodo committed Jan 10, 2025
1 parent 905efab commit 1296703
Show file tree
Hide file tree
Showing 37 changed files with 959 additions and 747 deletions.
31 changes: 16 additions & 15 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ scuffle-metrics-derive = { path = "crates/metrics/derive", version = "0.0.2" }
scuffle-ffmpeg-sys = { path = "crates/ffmpeg-sys", version = "7.1.0" }
scuffle-future-ext = { path = "crates/future-ext", version = "0.0.1" }
scuffle-bytes-util = { path = "crates/bytes-util", version = "0.0.1" }
scuffle-amf0 = { path = "crates/amf0", version = "0.0.1" }

[profile.release-debug]
inherits = "release"
Expand Down
9 changes: 8 additions & 1 deletion crates/amf0/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,20 @@
[package]
name = "amf0"
name = "scuffle-amf0"
version = "0.0.1"
edition = "2021"
license = "MIT OR Apache-2.0"
description = "A pure-rust implementation of AMF0 encoder and decoder."
repository = "https://github.com/scufflecloud/scuffle"
keywords = ["amf0", "rtmp", "flash", "video", "flv"]

[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(coverage_nightly)'] }

[dependencies]
bytes = "1.5"
byteorder = "1.5"
num-traits = "0.2"
num-derive = "0.4"
scuffle-bytes-util.workspace = true
thiserror = "2"
scuffle-workspace-hack.workspace = true
1 change: 1 addition & 0 deletions crates/amf0/LICENSE.Apache-2.0
1 change: 1 addition & 0 deletions crates/amf0/LICENSE.MIT
17 changes: 17 additions & 0 deletions crates/amf0/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# scuffle-amf0

> [!WARNING]
> This crate is under active development and may not be stable.
[![crates.io](https://img.shields.io/crates/v/scuffle-amf0.svg)](https://crates.io/crates/scuffle-amf0) [![docs.rs](https://img.shields.io/docsrs/scuffle-amf0)](https://docs.rs/scuffle-amf0)

---

A pure-rust implementation of AMF0 encoder and decoder.

## License

This project is licensed under the [MIT](./LICENSE.MIT) or [Apache-2.0](./LICENSE.Apache-2.0) license.
You can choose between one of them if you use this work.

`SPDX-License-Identifier: MIT OR Apache-2.0`
Loading

0 comments on commit 1296703

Please sign in to comment.