-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: rename crates in line with autonomi branding #2470
Conversation
@@ -134,12 +134,12 @@ | |||
fn build_client_and_run_swarm(local: bool) -> (Network, mpsc::Receiver<NetworkEvent>) { | |||
let network_builder = NetworkBuilder::new(Keypair::generate_ed25519(), local); | |||
|
|||
// TODO: Re-export `Receiver<T>` from `sn_networking`. Else users need to keep their `tokio` dependency in sync. | |||
// TODO: Re-export `Receiver<T>` from `ant-networking`. Else users need to keep their `tokio` dependency in sync. |
Check notice
Code scanning / devskim
A "TODO" or similar was left in source code, possibly indicating incomplete functionality Note
@@ -523,7 +523,7 @@ | |||
retry_count = 0; // Reset retry count on success | |||
} | |||
Err(err) => { | |||
//TODO: We should use concrete error types here instead of string matching (sn_node_manager) | |||
//TODO: We should use concrete error types here instead of string matching (ant_node_manager) |
Check notice
Code scanning / devskim
A "TODO" or similar was left in source code, possibly indicating incomplete functionality Note
@@ -72,7 +72,7 @@ | |||
Ok(log_path) | |||
} | |||
|
|||
// TODO: use sn_logging | |||
// TODO: use ant_logging |
Check notice
Code scanning / devskim
A "TODO" or similar was left in source code, possibly indicating incomplete functionality Note
7ae96ae
to
edd8351
Compare
If necessary, the crates have been renamed with respect to two rules: * Hyphens are preferred over underscores for word separation * Any crates prefixed with `sn_` will be changed to be prefixed with `ant-` Renamed: * `evm_testnet` -> `evm-testnet` (also renamed the binary) * `sn_build_info` -> `ant-build-info` * `sn_evm` -> `ant-evm` * `sn_logging` -> `ant-logging` * `sn_metrics` -> `ant-metrics` * `sn_networking` -> `ant-networking` * `sn_peers_acquisition` -> `ant-peers-acquisition` * `sn_protocol` -> `ant-protocol` * `sn_node` -> `ant-node` * `sn_node_manager` -> `ant-node-manager` * `sn_registers` -> `ant-registers` * `sn_service_management` -> `ant-service-management` * `test_utils` -> `test-utils` * `token_supplies` -> `ant-token-supplies` The CI workflows were updated where appropriate. Other miscellaneous changes: * Crate descriptions were elaborated or tidied up. * Crate documentation references that were invalid were removed. * Crate feature lists were sorted in alphabetical order. * Crate reference sections were sorted in alphabetical order. * Crate repository URLs were updated to point to new `autonomi` repository (renamed from `safe_network`). * The per-crate, automated changelogs were removed. Since we've switched to a manual changelog we don't use them any more, but they were almost useless anyway.
edd8351
to
de85dc7
Compare
If necessary, the crates have been renamed with respect to two rules:
sn_
will be changed to be prefixed withant-
Renamed:
evm_testnet
->evm-testnet
sn_build_info
->ant-build-info
sn_evm
->ant-evm
sn_logging
->ant-logging
sn_metrics
->ant-metrics
sn_networking
->ant-networking
sn_peers_acquisition
->ant-peers-acquisition
sn_protocol
->ant-protocol
sn_node
->ant-node
sn_node_manager
->ant-node-manager
sn_registers
->ant-registers
sn_service_management
->ant-service-management
test_utils
->test-utils
token_supplies
->ant-token-supplies
Other miscellaneous changes:
autonomi
repository (renamed fromsafe_network
).