upnp-serve compiles on its own
This commit is contained in:
parent
6d364a96ee
commit
9a6039f5ee
2 changed files with 6 additions and 3 deletions
|
|
@ -10,8 +10,11 @@ readme = "README.md"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["sha1-crypto-hash"]
|
default = ["sha1-crypto-hash"]
|
||||||
sha1-crypto-hash = ["librqbit-sha1-wrapper/sha1-crypto-hash"]
|
sha1-crypto-hash = [
|
||||||
sha1-ring = ["librqbit-sha1-wrapper/sha1-ring"]
|
"librqbit-sha1-wrapper/sha1-crypto-hash",
|
||||||
|
"librqbit-core/sha1-crypto-hash",
|
||||||
|
]
|
||||||
|
sha1-ring = ["librqbit-sha1-wrapper/sha1-ring", "librqbit-core/sha1-ring"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "1.0.86"
|
anyhow = "1.0.86"
|
||||||
|
|
|
||||||
|
|
@ -322,7 +322,7 @@ impl UpnpServerStateInner {
|
||||||
let (sid, refresh_notify) = self
|
let (sid, refresh_notify) = self
|
||||||
.connection_manager_subscriptions
|
.connection_manager_subscriptions
|
||||||
.add(url.clone(), timeout);
|
.add(url.clone(), timeout);
|
||||||
let token = self.cancel_token.child_token();
|
let token = self.cancel_token.clone();
|
||||||
|
|
||||||
// Spawn a task that will notify it of system id changes.
|
// Spawn a task that will notify it of system id changes.
|
||||||
// Spawn a task that will wait for timeout or subscription refreshes.
|
// Spawn a task that will wait for timeout or subscription refreshes.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue