Skip to content

Commit e67870e

Browse files
authored
Rename StarkNet to Starknet (#1932)
commit-id:386cef51 Replaces #1927
1 parent ed521eb commit e67870e

File tree

9 files changed

+15
-15
lines changed

9 files changed

+15
-15
lines changed

ARCHITECTURE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ Within Scarb, Cairo plugins are managed through `CairoPluginRepository`, residin
280280
The plugin repository stores references to all Cairo plugins that are available during the compilation process.
281281
Plugins appropriate to be used for building a specific package are applied to the compiler database before the compilation.
282282
When using Scarb as a library, Cairo plugins can be defined with configuration builder.
283-
If not specified otherwise, Scarb comes with predefined StarkNet Cairo plugin, that can be used for StarkNet contracts
283+
If not specified otherwise, Scarb comes with predefined Starknet Cairo plugin, that can be used for Starknet contracts
284284
compilation.
285285

286286
### Procedural Macros

MAINTAINING.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ You might need to swiftly pause the [Website Deploy] workflow to prevent publish
3535

3636
> [!IMPORTANT]
3737
> Make sure `scarb-metadata` crate is [released and published](#scarb-metadata-release-procedure) to [crates.io].
38-
> Only [StarkNet Crates.io Admins] can do this.
38+
> Only [Starknet Crates.io Admins] can do this.
3939
4040
> [!IMPORTANT]
4141
> If you add or remove a binary target compiled with the release (i.e. create or remove a crate in `extensions` directory),
@@ -197,4 +197,4 @@ Releasing `cairo-lang-macro` crate is also a semi-automated process.
197197

198198
[crates.io]: https://crates.io
199199

200-
[StarkNet Crates.io Admins]: https://github.com/orgs/software-mansion/teams/starknet-crates-io-admins
200+
[Starknet Crates.io Admins]: https://github.com/orgs/software-mansion/teams/starknet-crates-io-admins

scarb/src/compiler/plugin/builtin.rs

+5-5
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ use crate::compiler::plugin::{CairoPlugin, CairoPluginInstance};
1111
use crate::core::{PackageId, PackageName, SourceId};
1212
use crate::internal::to_version::ToVersion;
1313

14-
pub struct BuiltinStarkNetPlugin;
15-
impl CairoPlugin for BuiltinStarkNetPlugin {
14+
pub struct BuiltinStarknetPlugin;
15+
impl CairoPlugin for BuiltinStarknetPlugin {
1616
fn id(&self) -> PackageId {
1717
PackageId::new(
1818
PackageName::STARKNET,
@@ -22,12 +22,12 @@ impl CairoPlugin for BuiltinStarkNetPlugin {
2222
}
2323

2424
fn instantiate(&self) -> Result<Box<dyn CairoPluginInstance>> {
25-
Ok(Box::new(BuiltinStarkNetPluginInstance))
25+
Ok(Box::new(BuiltinStarknetPluginInstance))
2626
}
2727
}
2828

29-
struct BuiltinStarkNetPluginInstance;
30-
impl CairoPluginInstance for BuiltinStarkNetPluginInstance {
29+
struct BuiltinStarknetPluginInstance;
30+
impl CairoPluginInstance for BuiltinStarknetPluginInstance {
3131
fn plugin_suite(&self) -> PluginSuite {
3232
starknet_plugin_suite()
3333
}

scarb/src/compiler/plugin/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ use crate::compiler::plugin::builtin::BuiltinCairoRunPlugin;
1212
use crate::compiler::plugin::proc_macro::compilation::SharedLibraryProvider;
1313
use crate::core::{Package, PackageId, TargetKind, Workspace};
1414

15-
use self::builtin::{BuiltinStarkNetPlugin, BuiltinTestPlugin};
15+
use self::builtin::{BuiltinStarknetPlugin, BuiltinTestPlugin};
1616

1717
pub mod builtin;
1818
pub mod proc_macro;
@@ -65,7 +65,7 @@ impl CairoPluginRepository {
6565
// TODO(mkaput): Provide the plugin as `starknet_plugin` package and create regular
6666
// `starknet` package which makes it a dependency. This way we can deliver Starknet Cairo
6767
// library code to users etc.
68-
repo.add(Box::new(BuiltinStarkNetPlugin)).unwrap();
68+
repo.add(Box::new(BuiltinStarknetPlugin)).unwrap();
6969
repo.add(Box::new(BuiltinExecutablePlugin)).unwrap();
7070
repo.add(Box::new(BuiltinTestPlugin)).unwrap();
7171
repo.add(Box::new(BuiltinCairoRunPlugin)).unwrap();

website/.vitepress/components/home/Features.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
</svg>
2727
<h3>Compile</h3>
2828
<p>
29-
Comes with built-in Cairo and StarkNet compiler, no need for setting up
29+
Comes with built-in Cairo and Starknet compiler, no need for setting up
3030
extra tooling.
3131
</p>
3232
</div>

website/.vitepress/config.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ export default withMermaid(
135135
"meta",
136136
{
137137
property: "og:title",
138-
content: "Scarb, the Cairo and StarkNet development toolchain",
138+
content: "Scarb, the Cairo and Starknet development toolchain",
139139
},
140140
],
141141
[

website/docs.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Introduction
22

33
Scarb is the [Cairo](https://cairo-lang.org) package manager.
4-
Scarb downloads your Cairo package's dependencies, compiles your projects (either pure Cairo or StarkNet contracts),
4+
Scarb downloads your Cairo package's dependencies, compiles your projects (either pure Cairo or Starknet contracts),
55
and works as an entry point for other tooling to work with your code, such
66
as [Starknet Foundry](https://foundry-rs.github.io/starknet-foundry) or IDEs.
77

website/docs/cheatsheet.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Adding following line to `[lib]` section will stop building Sierra code:
4646
sierra = false
4747
```
4848

49-
### Building StarkNet contracts
49+
### Building Starknet contracts
5050

5151
Add following to `Scarb.toml`:
5252

website/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
layout: page
3-
title: Scarb, the Cairo and StarkNet development toolchain
3+
title: Scarb, the Cairo and Starknet development toolchain
44
titleTemplate: false
55
---
66

0 commit comments

Comments
 (0)