mirror of
https://github.com/hexedtech/codemp.git
synced 2024-12-22 21:04:53 +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.
|
||||
pub id: Uuid,
|
||||
/// 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,
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue