Tracks: Add TypeMap to Handles.
Adds a shared TypeMap per TrackHandle. This should greatly simplify the user experience for attaching additional per-track state which the driver does not care for.
This commit is contained in:
@@ -91,6 +91,10 @@ optional = true
|
||||
version = "0.2"
|
||||
default-features = false
|
||||
|
||||
[dependencies.typemap_rev]
|
||||
optional = true
|
||||
version = "0.1"
|
||||
|
||||
[dependencies.url]
|
||||
optional = true
|
||||
version = "2"
|
||||
@@ -140,6 +144,7 @@ driver = [
|
||||
"tokio/rt-core",
|
||||
"tokio/sync",
|
||||
"tokio/time",
|
||||
"typemap_rev",
|
||||
"url",
|
||||
"uuid",
|
||||
"xsalsa20poly1305",
|
||||
|
||||
Reference in New Issue
Block a user