Skip to content

Commit

Permalink
Format our .tomls
Browse files Browse the repository at this point in the history
Summary: See the next diff. Splitting this out so that I can mark it as a codemod

Reviewed By: shonaganuma

Differential Revision: D50440122

fbshipit-source-id: ca19eaac6af77f249ec1bb24d5f522b4a94509d9
  • Loading branch information
JakobDegen authored and facebook-github-bot committed Oct 20, 2023
1 parent e2dce91 commit 43689e0
Show file tree
Hide file tree
Showing 16 changed files with 130 additions and 130 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
[workspace]
resolver = "2"
members = [
"allocative/allocative",
"allocative/allocative_derive",
Expand All @@ -12,13 +11,14 @@ members = [
"starlark_map",
"starlark_syntax",
]
resolver = "2"

[workspace.dependencies]
allocative = { version = "0.3.1", path = "allocative/allocative" }
allocative_derive = { version = "0.3.1", path = "allocative/allocative_derive" }
cmp_any = { version = "0.8.1", path = "gazebo/cmp_any" }
dupe = { version = "0.9.0", path = "gazebo/dupe" }
display_container = { version = "0.9.0", path = "gazebo/display_container" }
dupe = { version = "0.9.0", path = "gazebo/dupe" }

starlark_lsp = { version = "0.9", path = "starlark_lsp" }
starlark_map = { version = "0.9", path = "starlark_map" }
Expand Down
20 changes: 10 additions & 10 deletions allocative/allocative/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[package]
name = "allocative"
version = "0.3.1"
edition = "2021"
authors = ["Meta"]
description = "Inspect rust object tree and output it as flamegraph"
documentation = "https://docs.rs/allocative"
edition = "2021"
license = "MIT OR Apache-2.0"
authors = ["Meta"]
name = "allocative"
repository = "https://github.com/facebookexperimental/allocative"
documentation = "https://docs.rs/allocative"
version = "0.3.1"

[dependencies]
allocative_derive = { path = "../allocative_derive", version = "=0.3.1" }
Expand All @@ -15,25 +15,25 @@ ctor = { workspace = true }

anyhow = { version = "1.0.65", optional = true }
bumpalo = { version = "3.11.1", optional = true }
compact_str = { version = "0.6.1", optional = true }
dashmap = { version = "4.0.2", optional = true }
either = { version = "1.8", optional = true }
futures = { version = "0.3.24", optional = true }
hashbrown = { version = "0.12.3", optional = true }
indexmap = { version = "1.9.1", optional = true }
num-bigint = { version = "0.4.3", optional = true }
parking_lot = { version = "0.11.2", optional = true }
compact_str = { version = "0.6.1", optional = true }
once_cell = { version = "1.15.0", optional = true }
parking_lot = { version = "0.11.2", optional = true }
prost-types = { version = "0.11.2", optional = true }
relative-path = { version = "1.7.0", optional = true }
serde_json = { version = "1.0.48", optional = true }
slab = { version = "0.4.7", optional = true }
smallvec = { version = "1.10.0", optional = true }
tokio = { version = "1.5", optional = true, features = ["sync"] }
triomphe = { version = "0.1.8", optional = true }
sorted_vector_map.optional = true
sorted_vector_map.version = "0.1"
# @oss-disable: sorted_vector_map.path = "../../../common/rust/shed/sorted_vector_map"
sorted_vector_map.version = "0.1"
tokio = { version = "1.5", optional = true, features = ["sync"] }
triomphe = { version = "0.1.8", optional = true }

[dev-dependencies]
inferno = { version = "0.11.11", default-features = false }
12 changes: 6 additions & 6 deletions allocative/allocative_derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
[package]
name = "allocative_derive"
version = "0.3.1"
edition = "2021"
authors = ["Meta"]
description = "Implementation of derive(Allocative) for allocative crate"
documentation = "https://docs.rs/allocative"
edition = "2021"
license = "MIT OR Apache-2.0"
authors = ["Meta"]
name = "allocative_derive"
repository = "https://github.com/facebookexperimental/allocative"
documentation = "https://docs.rs/allocative"
version = "0.3.1"

[lib]
proc-macro = true

[dependencies]
quote = { workspace = true }
proc-macro2 = { workspace = true }
quote = { workspace = true }
syn = { workspace = true }
12 changes: 6 additions & 6 deletions gazebo/cmp_any/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[package]
name = "cmp_any"
version = "0.8.1"
license = "MIT OR Apache-2.0"
authors = ["Facebook"]
edition = "2021"
repository = "https://github.com/facebookincubator/gazebo"
documentation = "https://docs.rs/cmp_any"
categories = ["rust-patterns"]
description = "Comparison for &dyn types"
documentation = "https://docs.rs/cmp_any"
edition = "2021"
license = "MIT OR Apache-2.0"
name = "cmp_any"
repository = "https://github.com/facebookincubator/gazebo"
version = "0.8.1"
12 changes: 6 additions & 6 deletions gazebo/display_container/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[package]
name = "display_container"
version = "0.9.0"
license = "MIT OR Apache-2.0"
authors = ["Facebook"]
edition = "2021"
categories = ["rust-patterns"]
description = "Utilities to implement Display"
repository = "https://github.com/facebookincubator/gazebo"
documentation = "https://docs.rs/display_container"
categories = ["rust-patterns"]
edition = "2021"
license = "MIT OR Apache-2.0"
name = "display_container"
repository = "https://github.com/facebookincubator/gazebo"
version = "0.9.0"

[dependencies]
either = { workspace = true }
Expand Down
12 changes: 6 additions & 6 deletions gazebo/dupe/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[package]
name = "dupe"
version = "0.9.0"
license = "MIT OR Apache-2.0"
authors = ["Facebook"]
edition = "2021"
categories = ["rust-patterns"]
description = "Marker for types which are cheap to clone"
repository = "https://github.com/facebookincubator/gazebo"
documentation = "https://docs.rs/dupe"
categories = ["rust-patterns"]
edition = "2021"
license = "MIT OR Apache-2.0"
name = "dupe"
repository = "https://github.com/facebookincubator/gazebo"
version = "0.9.0"

[dependencies]
dupe_derive = { version = "=0.9.0", path = "../dupe_derive" }
14 changes: 7 additions & 7 deletions gazebo/dupe_derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
[package]
name = "dupe_derive"
version = "0.9.0"
license = "MIT OR Apache-2.0"
authors = ["Facebook"]
edition = "2021"
categories = ["rust-patterns"]
description = "Derive Dupe"
repository = "https://github.com/facebookincubator/gazebo"
documentation = "https://docs.rs/dupe"
categories = ["rust-patterns"]
edition = "2021"
license = "MIT OR Apache-2.0"
name = "dupe_derive"
repository = "https://github.com/facebookincubator/gazebo"
version = "0.9.0"

[lib]
proc-macro = true

[dependencies]
proc-macro2 = "1.0"
syn = { version = "2", features = ["extra-traits"] }
quote = "1.0.3"
syn = { version = "2", features = ["extra-traits"] }
14 changes: 7 additions & 7 deletions gazebo/gazebo/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
[package]
name = "gazebo"
version = "0.8.1"
license = "MIT OR Apache-2.0"
authors = ["Facebook"]
edition = "2021"
categories = ["rust-patterns"]
description = "A collection of well-tested utilities"
repository = "https://github.com/facebookincubator/gazebo"
documentation = "https://docs.rs/gazebo"
categories = ["rust-patterns"]
edition = "2021"
license = "MIT OR Apache-2.0"
name = "gazebo"
repository = "https://github.com/facebookincubator/gazebo"
version = "0.8.1"

[features]
str_pattern_extensions = []

[dependencies]
gazebo_derive = { version = "0.8.0", path = "../gazebo_derive" }
dupe = { version = "0.9.0", path = "../dupe" }
gazebo_derive = { version = "0.8.0", path = "../gazebo_derive" }
14 changes: 7 additions & 7 deletions gazebo/gazebo_derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
[package]
name = "gazebo_derive"
version = "0.8.0"
license = "MIT OR Apache-2.0"
authors = ["Facebook"]
edition = "2021"
categories = ["rust-patterns"]
description = "Derive macros for the Gazebo library"
repository = "https://github.com/facebookincubator/gazebo"
documentation = "https://docs.rs/gazebo_derive"
categories = ["rust-patterns"]
edition = "2021"
license = "MIT OR Apache-2.0"
name = "gazebo_derive"
repository = "https://github.com/facebookincubator/gazebo"
version = "0.8.0"

[lib]
proc-macro = true

[dependencies]
proc-macro2 = "1.0"
syn = { version = "2", features = ["extra-traits"] }
quote = "1.0.3"
syn = { version = "2", features = ["extra-traits"] }
48 changes: 24 additions & 24 deletions starlark/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,50 +1,50 @@
[package]
name = "starlark"
edition = "2021"
version = "0.10.0"
license = "Apache-2.0"
description = "An implementation of the Starlark language in Rust."
documentation = "https://docs.rs/starlark"
repository = "https://github.com/facebookexperimental/starlark-rust"
authors = [
"Damien Martin-Guillerez <dmarting@google.com>",
"Stepan Koltsov <stepan.koltsov@gmail.com>",
"Facebook",
]
build = "build.rs"
keywords = ["starlark", "skylark", "bazel", "language", "interpreter"]
categories = ["parser-implementations", "development-tools"]
description = "An implementation of the Starlark language in Rust."
documentation = "https://docs.rs/starlark"
edition = "2021"
keywords = ["starlark", "skylark", "bazel", "language", "interpreter"]
license = "Apache-2.0"
name = "starlark"
repository = "https://github.com/facebookexperimental/starlark-rust"
version = "0.10.0"

[dependencies]
anyhow = "1.0.65"
bumpalo = "3.8"
debugserver-types = "0.5.0"
derivative = "2.2"
derive_more = "0.99"
display_container = { workspace = true }
dupe = { workspace = true }
either = "1.8"
erased-serde = "0.3.12"
fancy-regex = "0.10.0"
hashbrown = { version = "0.12.3", features = ["raw"] }
inventory = "0.3.8"
itertools = "0.10"
maplit = "1.0.2"
memoffset = "0.6.4"
num-bigint = "0.4.3"
num-traits = "0.2"
once_cell = "1.8"
bumpalo = "3.8"
paste = "1.0"
either = "1.8"
static_assertions = "1.1.0"
memoffset = "0.6.4"
thiserror = "1.0.36"
regex = "1.5.4"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
starlark_derive = { version = "0.10.0", path = "../starlark_derive" }
starlark_map = { version = "0.10.0", path = "../starlark_map" }
starlark_syntax = { version = "0.10.0", path = "../starlark_syntax" }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
maplit = "1.0.2"
debugserver-types = "0.5.0"
hashbrown = { version = "0.12.3", features = ["raw"] }
textwrap = "0.11"
fancy-regex = "0.10.0"
regex = "1.5.4"
static_assertions = "1.1.0"
strsim = "0.10.0"
num-bigint = "0.4.3"
num-traits = "0.2"
inventory = "0.3.8"
textwrap = "0.11"
thiserror = "1.0.36"

allocative = { workspace = true, features = ["bumpalo", "num-bigint"] }
cmp_any = { workspace = true }
Expand Down
6 changes: 3 additions & 3 deletions starlark/fuzz/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[package]
edition = "2021"
name = "starlark-fuzz"
version = "0.0.0"
publish = false
edition = "2021"
version = "0.0.0"

[package.metadata]
cargo-fuzz = true
Expand All @@ -20,7 +20,7 @@ members = ["."]
debug = 1

[[bin]]
doc = false
name = "starlark"
path = "fuzz_targets/starlark.rs"
test = false
doc = false
16 changes: 8 additions & 8 deletions starlark_bin/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
[package]
name = "starlark_bin"
edition = "2021"
version = "0.10.0"
license = "Apache-2.0"
description = "starlark binary"
documentation = "https://docs.rs/starlark"
repository = "https://github.com/facebookexperimental/starlark-rust"
authors = [
"Damien Martin-Guillerez <dmarting@google.com>",
"Facebook",
]
keywords = ["starlark", "skylark", "language", "interpreter"]
categories = ["parser-implementations", "development-tools"]
description = "starlark binary"
documentation = "https://docs.rs/starlark"
edition = "2021"
keywords = ["starlark", "skylark", "language", "interpreter"]
license = "Apache-2.0"
name = "starlark_bin"
repository = "https://github.com/facebookexperimental/starlark-rust"
version = "0.10.0"

[dependencies]
dupe = { workspace = true }
Expand Down
14 changes: 7 additions & 7 deletions starlark_derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
[package]
name = "starlark_derive"
version = "0.10.0"
edition = "2021"
license = "Apache-2.0"
authors = ["Facebook"]
description = "Derive helpers for the starlark package."
documentation = "https://docs.rs/starlark_derive"
edition = "2021"
license = "Apache-2.0"
name = "starlark_derive"
repository = "https://github.com/facebookexperimental/starlark-rust"
authors = ["Facebook"]
version = "0.10.0"

[lib]
proc-macro = true

[dependencies]
proc-macro2 = "1.0"
syn = { version = "2", features = ["full", "extra-traits", "visit", "visit-mut"] }
dupe = { workspace = true }
proc-macro2 = "1.0"
quote = "1.0"
syn = { version = "2", features = ["extra-traits", "full", "visit", "visit-mut"] }
Loading

0 comments on commit 43689e0

Please sign in to comment.