scte35/Cargo.toml
Rafael Caricio 6b13875150
Use Deku crate for serialization
Using the Deku library we can implement a `no_std` compatible read and
write structs/enums. We don't need to write manually encoding code and
rely completely on the Deku derive macros to do the right job.

I've implemented the SpliceTime part of the spec as a proof of concept
of the use of Deku. It worked great for this small structure.
2022-05-10 23:05:48 +02:00

24 lines
634 B
TOML

[package]
name = "scte35"
authors = ["Rafael Caricio <rafael@caricio.com>"]
description = "SCTE-35 2022 parser and library"
version = "0.1.0"
edition = "2021"
license = "MIT"
[dependencies]
base64 = { version = "0.13", default-features = false, features = ["alloc"] }
bitstream-io = "1.3"
deku = { version = "0.13", default-features = false, features = ["alloc"] }
crc = "3.0"
thiserror = "1"
serde = { version = "1", features = ["derive"], optional = true }
hex = { version = "0.4", default-features = false, features = ["alloc"] }
anyhow = "1"
ascii = "1"
[dev-dependencies]
serde_json = "1"
assert-json-diff = "2"
hexlit = "0.5"