arti/crates
Ian Jackson ed970310e2 CfgPath: Overhaul API
Document that this can contain either a string for expansion, or a
literal PathBuf not for expansion.

Rename the `from_path` method to `new_literal`: a very important
difference is whether it gets expanded - less important than the Rust
type.  Also, now it takes `Into<PathBuf>`, which avoids a needless
clone.

(We don't change the API in `arti-client` because
`&tempfile::Tempdir()` doesn't implement `Into<PathBuf>`, so
`arti-client` has to have some new `as_ref` calls.)

Provide accessors `as_unexpanded_str` and `as_literal_path`.  The
deserialisation already makes this part of the stable API,l so not
pvoding accessors seems just obstructive.  They are useful for tests,
too.

Add tests for the new entrypoints, and for deserialisation of both
variants from TOML (via config, or directly) and JSON.
2022-05-03 17:42:14 +01:00
..
arti config: Enable "toml" feature 2022-05-03 17:42:14 +01:00
arti-bench squash! Bump every crate's edition to 2021. 2022-04-25 13:06:26 -04:00
arti-client CfgPath: Overhaul API 2022-05-03 17:42:14 +01:00
arti-config Merge branch 'derive-builder-git-fixup' into 'main' 2022-04-27 14:31:08 +00:00
arti-hyper update tls-api to 0.8.0 2022-04-28 17:43:32 +02:00
arti-testing Fix grammar and typos 2022-04-27 13:52:13 +01:00
caret Bump every crate's edition to 2021. 2022-04-25 13:05:31 -04:00
retry-error Fix sentences 2022-04-27 13:53:23 +01:00
tor-basic-utils Merge branch 'main' into 'msrv_1_56' 2022-04-26 12:45:16 +00:00
tor-bytes Fix grammar and typos 2022-04-27 13:52:13 +01:00
tor-cell squash! Bump every crate's edition to 2021. 2022-04-25 13:06:26 -04:00
tor-cert Bump every crate's edition to 2021. 2022-04-25 13:05:31 -04:00
tor-chanmgr Upgrade to Postage 0.5.0 2022-04-26 12:16:22 -04:00
tor-checkable Bump every crate's edition to 2021. 2022-04-25 13:05:31 -04:00
tor-circmgr Merge branch 'derive-builder-git-fixup' into 'main' 2022-04-27 14:31:08 +00:00
tor-config CfgPath: Overhaul API 2022-05-03 17:42:14 +01:00
tor-consdiff squash! Bump every crate's edition to 2021. 2022-04-25 13:06:26 -04:00
tor-dirclient Bump every crate's edition to 2021. 2022-04-25 13:05:31 -04:00
tor-dirmgr Merge branch 'derive-builder-git-fixup' into 'main' 2022-04-27 14:31:08 +00:00
tor-error Fix grammar and typos 2022-04-27 13:52:13 +01:00
tor-events Bump every crate's edition to 2021. 2022-04-25 13:05:31 -04:00
tor-guardmgr Merge branch 'derive-builder-git-fixup' into 'main' 2022-04-27 14:31:08 +00:00
tor-linkspec Fix spacing 2022-04-27 13:52:43 +01:00
tor-llcrypto Upgrade to AES 0.8 2022-04-26 12:16:22 -04:00
tor-netdir Merge branch 'derive-builder-git-fixup' into 'main' 2022-04-27 14:31:08 +00:00
tor-netdoc Fix grammar and typos 2022-04-27 13:52:13 +01:00
tor-persist Bump every crate's edition to 2021. 2022-04-25 13:05:31 -04:00
tor-proto Upgrade to AES 0.8 2022-04-26 12:16:22 -04:00
tor-protover Fix grammar and typos 2022-04-27 13:52:13 +01:00
tor-rtcompat Fix grammar and typos 2022-04-27 13:52:13 +01:00
tor-rtmock Fix grammar and typos 2022-04-27 13:52:13 +01:00
tor-socksproto Fix spacing 2022-04-27 13:52:43 +01:00
tor-units squash! Bump every crate's edition to 2021. 2022-04-25 13:06:26 -04:00