Skip to content

Commit

Permalink
docs: Document the new native-certs feature flag
Browse files Browse the repository at this point in the history
  • Loading branch information
ravenexp committed Apr 30, 2024
1 parent 142e30a commit a4f3128
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,13 @@ Environment:
CRATES_IO_PROXY_CACHE_TTL same as --cache-ttl option
```

Advanced configuration
----------------------

By default, `crates-io-proxy` uses embedded TLS trusted root certificates.
It is possible to configure it to use the system certificate store
at the build time by setting the `native-certs` feature flag.

Configuring this behavior at the run time is not supported yet.

[crates.io index]: https://github.com/rust-lang/crates.io-index

0 comments on commit a4f3128

Please sign in to comment.