Skip to content
Snippets Groups Projects
  1. Mar 11, 2022
  2. Mar 07, 2022
    • Ian Jackson's avatar
    • Ian Jackson's avatar
      Have ArtiConfig contain a TorClientConfig, and drop builder retcon · 56cb1cef
      Ian Jackson authored
      Replace the recapitulation of TorClientConfig fields in ArtiConfig and
      instead just have it contain one.  This is part of #374.
      
      The conversions from ArtiConfig back to ArtiConfigBuilder and
      TorClientConfigBuilder would need to change, but, since we don't want
      them anyway,
      
      No longer impl Deserialize for ArtiConfig.  (As per #371 this will
      want to become a private type.)
      
      No longer impl From<ArtiConfig> for ArtiConfigBuilder and
      TorClientConfigBuilder.  And abolish tests of that code.
      
      (This all has to be in one commit, because previously
      ArtiConfig::tor_client_config used the validated-to-builder config
      retcon.)
      56cb1cef
  3. Mar 04, 2022
    • Nick Mathewson's avatar
      Add a from_hex method for RsaIdentity. · b6452b48
      Nick Mathewson authored
      We perform this operation in a bunch of places, and most of them
      use hex::decode().  That's not great, since hex::decode() has to do
      heap allocation.  This implementation uses hex::decode_to_slice(),
      which should be faster.
      
      (In the future we might choose to use one of the faster hex
      implementations, but I'm hoping that this change will be sufficient
      to get hex decoding out of our profiles.)
      
      Part of #377.
      b6452b48
  4. Mar 03, 2022
    • Nick Mathewson's avatar
      arti-client: Make dirmgr() and circmgr() return &Arc<..> · a4914b99
      Nick Mathewson authored
      Previously they returned an Arc, which wasn't necessary unless the
      client actually _wanted_ a new Arc.
      
      This would be an API break, except that these functions are marked
      'experimental-api', so semver does not apply; nonetheless I've noted
      the break in semver_status.md, just in case we care.
      
      Closes #369
      a4914b99
  5. Jan 11, 2022
  6. Dec 08, 2021
  7. Dec 04, 2021
  8. Dec 02, 2021
  9. Nov 30, 2021
  10. Nov 18, 2021
  11. Nov 12, 2021
  12. Nov 11, 2021
Loading