1. 31 Dec, 2022 1 commit
    • Zeeshan Ali Khan's avatar
      zb,zm,zn,zp,zx,zv: Inline format args · 3cd65d94
      Zeeshan Ali Khan authored
      Latest clippy gained a warning lint about this:
      
      ```
      error: variables can be used directly in the `format!` string
         --> zbus_macros/src/proxy.rs:199:30
          |
      199 |             .or_else(|| Some(format!("/org/freedesktop/{}", ident)));
          |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
          |
          = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
      help: change this to
          |
      199 -             .or_else(|| Some(format!("/org/freedesktop/{}", ident)));
      199 +             .or_else(|| Some(format!("/org/freedesktop/{ident}")));
          |
      ```
      
      Luckily, clippy can fix it automatically for us as well.
      3cd65d94
  2. 08 Jun, 2022 1 commit
  3. 18 Dec, 2021 2 commits
  4. 27 Sep, 2021 1 commit
  5. 10 Sep, 2021 1 commit
  6. 27 Jul, 2021 1 commit
    • Zeeshan Ali Khan's avatar
      zb,zm,zp,zx: Make use of new bus name types · 03c9e521
      Zeeshan Ali Khan authored
      This is to ensure that these string types are checked for conformance.
      We should do that anyway but the D-Bus specification also mandates
      implementations to verify everything to and from the bus.
      
      While generic implementations and `TryFrom` implementations ensure that
      impact to users is minimum with this change, unfortunately they do now
      have to specify type when passing a `None` value. This howeover is a
      well-known pain-point in the Rust world and nothing specific to zbus.
      
      Our currently solution is close to what will come in the future with `!`
      types: https://github.com/rust-lang/rust/issues/35121 .
      03c9e521
  7. 07 Jun, 2021 1 commit
  8. 13 May, 2021 1 commit
  9. 20 Apr, 2021 1 commit
  10. 28 Feb, 2021 1 commit
  11. 30 Dec, 2020 1 commit
  12. 29 Dec, 2020 1 commit
  13. 07 Dec, 2020 1 commit
  14. 14 Sep, 2020 1 commit
  15. 21 Aug, 2020 1 commit
    • Rasmus Thomsen's avatar
      zp: add Subject::new_for_message · e84a4e7f
      Rasmus Thomsen authored
      This is a convenience function for construction a Subject from a
      MessageHeader for querying if the sender of a Message is permitted to
      execute an action.
      e84a4e7f
  16. 20 Jul, 2020 1 commit
  17. 19 Jul, 2020 1 commit
  18. 02 Jul, 2020 1 commit
  19. 16 Jun, 2020 1 commit
  20. 02 Jun, 2020 1 commit