ci: Add the __ci feature
This commit is contained in:
@@ -19,7 +19,7 @@ compat = []
|
||||
unstable-exhaustive-types = []
|
||||
|
||||
# Private, only used in test / benchmarking code
|
||||
__unstable-pre-spec = ["ruma-events/unstable-pre-spec"]
|
||||
__ci = ["ruma-events/unstable-pre-spec"]
|
||||
|
||||
[dependencies]
|
||||
itertools = "0.10.0"
|
||||
|
||||
@@ -394,7 +394,7 @@ where
|
||||
content,
|
||||
redacts: None,
|
||||
unsigned: btreemap! {},
|
||||
#[cfg(not(feature = "__unstable-pre-spec"))]
|
||||
#[cfg(not(feature = "__ci"))]
|
||||
origin: "foo".into(),
|
||||
auth_events,
|
||||
prev_events,
|
||||
|
||||
@@ -401,7 +401,7 @@ pub fn to_init_pdu_event(
|
||||
content,
|
||||
redacts: None,
|
||||
unsigned: BTreeMap::new(),
|
||||
#[cfg(not(feature = "__unstable-pre-spec"))]
|
||||
#[cfg(not(feature = "__ci"))]
|
||||
origin: "foo".into(),
|
||||
auth_events: vec![],
|
||||
prev_events: vec![],
|
||||
@@ -441,7 +441,7 @@ where
|
||||
content,
|
||||
redacts: None,
|
||||
unsigned: BTreeMap::new(),
|
||||
#[cfg(not(feature = "__unstable-pre-spec"))]
|
||||
#[cfg(not(feature = "__ci"))]
|
||||
origin: "foo".into(),
|
||||
auth_events,
|
||||
prev_events,
|
||||
|
||||
Reference in New Issue
Block a user