[package] name = "plabble-codec" version = "0.1.0" authors = ["maurictg", "Job79", "misthios"] edition = "2021" description = "Plabble Transport Protocol codec" license = "BSD-3-Clause" categories = ["cryptography", "encoding", "chat", "plabble"] homepage = "https://plabble.github.io" repository = "https://github.com/plabble/ptp-rust" [lib] name = "plabble_codec" crate-type = ["rlib"] [dependencies] itertools = ">=0.10" rand = ">=0.8" chacha20 = ">=0.9" chacha20poly1305 = ">=0.10" poly1305 = ">=0.8" sha2 = ">=0.10" hkdf = ">=0.12" wasm-bindgen = ">=0.2" time = ">=0.3" [dev-dependencies] time-macros = ">=0.2" [target.'cfg(target_arch = "wasm32")'.dependencies] getrandom = { version = ">=0.2", features = ["js"] } [profile.dev] opt-level = 0 [profile.release] opt-level = 3