Rusmpp
Rust implementation of the SMPP v5 protocol.
This is a low level library for implementing clients and servers. If you are looking for a client, check out rusmppc.
use Error;
use ;
use ;
use DuplexStream;
use Framed;
use info;
async
async
See the examples directory for more examples.
Features
tokio-codec: ImplementsEncoderandDecodertraits.verbose: Enables verbose error reports.extra: Enables encoding/decoding and concatenation support forSubmitSm.serde: ImplementsSerializetrait for all SMPP types.serde-deserialize-unchecked: ImplementsDeserializetrait for all SMPP types, but does not check the validity of the data. Use with caution.tracing: Enables logging usingtracing.pretty-hex-fmt: Logs byte slices like[0x00, 0x00, 0x00, 0x6F]instead of[00, 00, 00, 6F], iftracingfeature is enabled.char-fmt: Logs byte slices as characters, iftracingfeature is enabled.
License
Licensed under either of
- Apache License, Version 2.0. LICENSE-APACHE or Apache-2.0 license
- MIT license. LICENSE-MIT or MIT license
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.