<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/arti-rpc-client-core/src/util.rs, branch arti-v1.2.8</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.2.8</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.2.8'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2024-08-07T12:21:28Z</updated>
<entry>
<title>rpclib: Use JsonValue to re-encode requests.</title>
<updated>2024-08-07T12:21:28Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-08-06T14:02:55Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=46c06e389ff71f819751001b916f509689acab4a'/>
<id>urn:sha1:46c06e389ff71f819751001b916f509689acab4a</id>
<content type='text'>
As with responses, we previously used a strategy that could have
failed in the future, if we forgot to add an "unexpected_fields"
member to one of our structs.

Closes #1512.
</content>
</entry>
<entry>
<title>rpc: Make ObjectId hold a Utf8CString internally.</title>
<updated>2024-08-06T18:42:36Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-08-06T18:42:36Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9213bdd7ba132810da88f1eecd1ea15d1a23c8e6'/>
<id>urn:sha1:9213bdd7ba132810da88f1eecd1ea15d1a23c8e6</id>
<content type='text'>
This will enable us to return it to FFI callers as a nul-terminated string.
</content>
</entry>
<entry>
<title>Apply safety-related suggestions from Diziet</title>
<updated>2024-07-31T17:54:16Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-07-29T16:16:43Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=cb1b7b69583a67dcde48fb014d63db3376575412'/>
<id>urn:sha1:cb1b7b69583a67dcde48fb014d63db3376575412</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rpc: Explain _why_ utf-8 in Utf8CString is a safety requirement.</title>
<updated>2024-07-31T17:54:16Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-07-25T18:00:52Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8c28906ed4ce5fa055fa71426fad84c41a2845a2'/>
<id>urn:sha1:8c28906ed4ce5fa055fa71426fad84c41a2845a2</id>
<content type='text'>
(and to what extent)
</content>
</entry>
<entry>
<title>Rename Utf8CStr=&gt;Utf8CString</title>
<updated>2024-07-31T17:54:16Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-07-25T17:58:01Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=31d3c76529abd72dbb224b0bb41a9e8ff425fcb9'/>
<id>urn:sha1:31d3c76529abd72dbb224b0bb41a9e8ff425fcb9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rpclib: _Sketch_ of string API.</title>
<updated>2024-07-31T17:54:16Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-07-24T19:13:40Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5265d6c1aa3c14ef09d908c9695eb1f003253d33'/>
<id>urn:sha1:5265d6c1aa3c14ef09d908c9695eb1f003253d33</id>
<content type='text'>
In this API, borrowed strings are `const char *`, and owned strings
are `ArtiRpcStr *`.  You can get the former from the latter with
`arti_rpc_str_get()`, which returns a `const char *` in hopes that
you will neither modify nor free() that `const char *`

(Note that there are no places where string ownership needs to be
passed into this library; and at present, there is only one case
where it is passed out.  I do not anticipate that we will need to do
intake of owned strings.  We will probably need to return these in a
few more cases as we add more API surface.)
</content>
</entry>
<entry>
<title>rpc: Initial core of an FFI interface.</title>
<updated>2024-07-31T17:54:16Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-07-17T12:16:53Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f6c1ffe05a4eaa61c30070a74716eb2f74710784'/>
<id>urn:sha1:f6c1ffe05a4eaa61c30070a74716eb2f74710784</id>
<content type='text'>
This only covers the absolute minimal API in order to launch a
connection and run simple requests, and it doesn't document anything
nearly well enough.  Nonetheless I think it's good enough for an
initial review, to make sure that we've got the basics right (as
well as a general consensus on the error handling API, naming, and
so forth).
</content>
</entry>
<entry>
<title>RPC: Make message types able to be CStr or str.</title>
<updated>2024-07-31T17:54:16Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-07-16T15:09:26Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0a9d7ae205d4a84c5c47879f04dd6c31cc4e54c9'/>
<id>urn:sha1:0a9d7ae205d4a84c5c47879f04dd6c31cc4e54c9</id>
<content type='text'>
(Internally, it is a boxed CStr that is always UTF-8.)
</content>
</entry>
<entry>
<title>WIP: Lower and middle levels of Arti rpc core.</title>
<updated>2024-07-16T13:51:27Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-06-24T12:40:53Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9f2c90f4045b85b58337e0801732fbc3d5a544c5'/>
<id>urn:sha1:9f2c90f4045b85b58337e0801732fbc3d5a544c5</id>
<content type='text'>
</content>
</entry>
</feed>
