mirror of
git://git.proxmox.com/git/perlmod.git
synced 2025-03-12 00:58:16 +03:00
perlmod: drop derive requirement on serde
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
55f3db4827
commit
d253472380
@ -17,7 +17,7 @@ maintenance = { status = "experimental" }
|
||||
[dependencies]
|
||||
bitflags = "1.2.1"
|
||||
libc = "0.2"
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
serde = "1.0"
|
||||
|
||||
perlmod-macro = { path = "../perlmod-macro", optional = true, version = "0.4.0" }
|
||||
|
||||
|
@ -213,8 +213,12 @@ pub fn stack_push(value: crate::Mortal) {
|
||||
/// ```no_run
|
||||
/// # use serde::Serialize;
|
||||
///
|
||||
/// # #[derive(Serialize)]
|
||||
/// # struct Output;
|
||||
/// # impl Serialize for Output {
|
||||
/// # fn serialize<S: serde::Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error> {
|
||||
/// # serializer.serialize_unit()
|
||||
/// # }
|
||||
/// # }
|
||||
///
|
||||
/// # fn code_to_extract_parameters() {}
|
||||
/// # fn actual_rust_function(_arg: ()) -> Result<Output, String> { Ok(Output) }
|
||||
|
Loading…
x
Reference in New Issue
Block a user