mirror of
https://github.com/hexedtech/codemp.git
synced 2024-11-21 23:04:49 +01:00
fix: feature gate pyo3 reference
This commit is contained in:
parent
4b5ed06bb7
commit
8b2a2f2e2e
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ pub struct User {
|
||||||
/// User unique identifier, should never change.
|
/// User unique identifier, should never change.
|
||||||
pub id: Uuid,
|
pub id: Uuid,
|
||||||
/// User name, can change but should be unique.
|
/// User name, can change but should be unique.
|
||||||
#[pyo3(get, set)]
|
#[cfg_attr(any(feature = "py", feature = "py-noabi"), pyo3(get, set))]
|
||||||
pub name: String,
|
pub name: String,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue