[package] name = "rusmpp" version = "0.1.3" edition = "2021" description = "A Rust SMPP library." authors = ["Jad K. Haddad "] license = "MIT OR Apache-2.0" repository = "https://github.com/JadKHaddad/Rusmpp" readme = "README.md" keywords = ["smpp", "sms", "messaging", "networking", "protocol"] [dev-dependencies] tokio = { version = "1.37.0", features = ["full"] } tracing-subscriber = { version = "0.3.18", features = ["env-filter"] } futures = "0.3.30" [dependencies] tokio-util = { version = "0.7.10", features = ["codec"], optional = true } tracing = { version = "0.1.40", optional = true } [features] default = [] full = ["tokio-codec", "tracing"] pretty-hex-fmt = [ ] # Prints byte slices like: [0x00, 0x00, 0x00, 0x6F] instead of [00, 00, 00, 6F] tokio-codec = [ "dep:tokio-util", ] # Enables the use of tokio's codec for SMPP PDUs. tracing = ["dep:tracing"] # Enables tracing support. [[example]] name = "readme_example" path = "examples/readme_example.rs" required-features = ["tokio-codec"] [[example]] name = "submit_sm" path = "examples/submit_sm.rs" required-features = ["tokio-codec", "tracing"] [package.metadata.docs.rs] all-features = true