-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
42 lines (36 loc) · 1.16 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
[package]
name = "rusmpp"
version = "0.1.3"
edition = "2021"
description = "A Rust SMPP library."
authors = ["Jad K. Haddad <jadkhaddad@gmail.com>"]
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