1
Fork 0
framed-rs/Cargo.toml
2017-12-25 03:21:03 +00:00

36 lines
992 B
TOML

[package]
name = "framed"
version = "0.1.4"
description = "Send and receive data over lossy streams of bytes."
authors = ["Alex Helfet <alex.helfet@gmail.com>"]
categories = ["no-std", "embedded", "encoding", "network-programming"]
keywords = ["no_std", "networking", "datalink", "protocol", "embedded"]
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/fluffysquirrels/framed-rs"
[badges.travis-ci]
repository = "fluffysquirrels/framed-rs"
branch = "master"
[dependencies]
cobs = "^0.1.3"
ref_slice = "^1.1.1"
serde = { version = "^1.0", optional = true }
ssmarshal = { version = "^1.0", optional = true }
[dev-dependencies]
serde_derive = "^1.0"
[features]
default = ["use_std", "typed"]
# Enable to print all data to stdout for testing.
trace = []
# Use standard library. Enabled by default, disable for no_std.
use_std = []
# Enables the `typed` sub-module for sending and receiving
# structs serialized with serde.
typed = ["serde", "ssmarshal"]