sapling/configerator/structs/scm/hg/hgclientconf
David Tolnay b09140b832 Soft deprecate client, mock, and server modules
Summary:
This is the start of the codemod for https://fb.workplace.com/groups/rust.language/posts/25780668961555042.

It follows the same approach as {D53374511} by adding a comment above the re-exports to identify the correct Buck target to use instead. This way I can codemod all uses by locally changing the comment into a real `#[deprecated = "..."]` attribute, compiling all Rust targets with `-Awarnings -Wdeprecated` in rustflags, parsing the deprecation warnings, and programmatically applying the correct fix.

Note that the deprecation needs to be on a `pub mod` rather than a `pub use` because deprecation on re-exports is not supported by Rust.

Reviewed By: zertosh

Differential Revision: D54332814

fbshipit-source-id: 16358f211032a7b1a701c08d909078b86b53d65f
2024-02-28 20:20:39 -08:00
..
clients Soft deprecate client, mock, and server modules 2024-02-28 20:20:39 -08:00
services Soft deprecate client, mock, and server modules 2024-02-28 20:20:39 -08:00
types Soft deprecate client, mock, and server modules 2024-02-28 20:20:39 -08:00
Cargo.toml Disable Cargo documentation generation for Thrift targets 2024-02-02 07:45:58 -08:00
hgclient.thrift sync across hgclient.thrift from configerator 2022-01-31 02:09:06 -08:00
TARGETS add oncall annotation for TARGETS files in fbcode based on configerator acl information - /tmp/configerator_sorted_missing_oncalls_4_oncall_finder_fixed.csv 2024-01-19 10:15:14 -08:00
thrift_build.rs Soft deprecate client, mock, and server modules 2024-02-28 20:20:39 -08:00
thrift_lib.rs add autocargo for hgclientconf 2022-01-31 10:34:31 -08:00