-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
91 lines (74 loc) · 1.67 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
[package]
name = "sdp-nom"
version = "0.2.0"
authors = ["Hendrik Sollich <[email protected]>"]
edition = "2021"
description = "an sdp-parser"
license = "MIT/Apache-2.0"
repository = "https://github.com/hoodie/sdp-nom"
documentation = "https://docs.rs/sdp-nom"
keywords = ["webrtc", "sdp"]
include = [
"README.md",
"CHANGELOG.md",
"LICENSE-*",
"src/**/*.rs",
"examples/**/*.rs",
"tests/**/*.rs",
]
[features]
default = ["udisplay", "debug"]
udisplay = ["ufmt"]
debug = []
wee = ["wee_alloc"]
msg_pack = ["rmp-serde", "serde"]
[dependencies]
nom = "7"
wee_alloc = { version = "0.4", optional = true }
enum-as-inner = "0.5"
derive-into-owned = "0.2"
[dependencies.ufmt]
version = "0.2"
features = ["std"]
optional = true
[dependencies.serde]
version = "1"
features = ["derive"]
optional = true
[dependencies.rmp-serde]
version = "0.15"
optional = true
[dev-dependencies]
cfg-if = "1"
pretty_assertions = "1"
serde_json = "1"
[profile.release]
lto = true
opt-level = 's' # try 'z' (size) or 's' (speed)
panic = "abort"
[package.metadata]
wasm-opt = false # in release builds wasm-opt crashes for some reason
[[example]]
name = "session"
required-features = ["udisplay"]
[[example]]
name = "session_static"
required-features = ["udisplay"]
[[example]]
name = "remove_direct_tcp_candidates"
required-features = ["udisplay"]
[[example]]
name = "remove_direct_tcp_candidates_iter"
required-features = ["udisplay"]
[[example]]
name = "reparse"
required-features = ["udisplay"]
[[example]]
name = "pretty_print"
required-features = ["debug"]
[[example]]
name = "iter"
required-features = ["udisplay"]
[[example]]
name = "json_filtered"
required-features = ["serde", "udisplay"]