stub youtrack module

master
Ondřej Hruška 3 months ago committed by ondra
parent 340b520e58
commit c7e9df60c9
  1. 1368
      Cargo.lock
  2. 5
      Cargo.toml
  3. 3
      src/main.rs
  4. 11
      src/youtrack.rs

1368
Cargo.lock generated

File diff suppressed because it is too large Load Diff

@ -18,3 +18,8 @@ faccess = "0.2"
chrono = "0.4" chrono = "0.4"
indexmap = { version = "2.11", features = ["serde"] } indexmap = { version = "2.11", features = ["serde"] }
inquire = { version = "0.8.0", features = ["editor"] } inquire = { version = "0.8.0", features = ["editor"] }
reqwest = { version = "0.12", features = ["rustls-tls", "blocking"], optional = true }
[features]
youtrack = ["reqwest"]

@ -24,6 +24,9 @@ mod store;
mod utils; mod utils;
#[cfg(feature = "youtrack")]
mod youtrack;
#[derive(Debug)] #[derive(Debug)]
pub struct AppContext { pub struct AppContext {
/// Name of the cl binary /// Name of the cl binary

@ -0,0 +1,11 @@
//! Youtrack integration (mark issues as Released when packing to changelog)
#[cfg(test)]
mod tests {
#[test]
fn test_youtrack_communication() {
let token = "";
}
}
Loading…
Cancel
Save