Use Cargo metadata as plugin metadata
This commit is contained in:
Родитель
9e5d35e3d6
Коммит
624d0fabf4
|
@ -1,5 +1,6 @@
|
|||
[package]
|
||||
name = "janus-plugin-sfu"
|
||||
description = "Janus SFU for game networking."
|
||||
version = "0.1.0"
|
||||
authors = ["Marshall Quander <marshall@quander.me>"]
|
||||
license = "MPL-2.0"
|
||||
|
|
|
@ -97,11 +97,11 @@ static VIDEO_PAYLOAD_TYPE: i32 = 107;
|
|||
|
||||
const METADATA: PluginMetadata = PluginMetadata {
|
||||
version: 1,
|
||||
version_str: cstr!("0.0.1"),
|
||||
description: cstr!("Janus SFU for game networking."),
|
||||
name: cstr!("Janus SFU plugin"),
|
||||
author: cstr!("Marshall Quander"),
|
||||
package: cstr!("janus.plugin.sfu"),
|
||||
version_str: cstr!(env!("CARGO_PKG_VERSION")),
|
||||
description: cstr!(env!("CARGO_PKG_DESCRIPTION")),
|
||||
author: cstr!(env!("CARGO_PKG_AUTHORS")),
|
||||
};
|
||||
|
||||
static mut CALLBACKS: Option<&PluginCallbacks> = None;
|
||||
|
|
Загрузка…
Ссылка в новой задаче