Skip to content

Commit

Permalink
Clean up cargo descriptions and formatting (tracel-ai#403)
Browse files Browse the repository at this point in the history
  • Loading branch information
antimora authored Jun 15, 2023
1 parent 71d7ebb commit 834c7ec
Show file tree
Hide file tree
Showing 20 changed files with 106 additions and 123 deletions.
8 changes: 4 additions & 4 deletions burn-autodiff/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[package]
authors = ["nathanielsimard <nathaniel.simard.42@gmail.com>"]
categories = ["science"]
description = "Autodiff backend for burn"
description = "Automatic differentiation backend for the Burn framework"
edition = "2021"
keywords = ["deep-learning", "machine-learning", "data"]
license = "MIT/Apache-2.0"
license = "MIT OR Apache-2.0"
name = "burn-autodiff"
readme = "README.md"
repository = "https://github.com/burn-rs/burn/tree/main/burn-autodiff"
Expand All @@ -15,8 +15,8 @@ default = ["export_tests"]
export_tests = ["burn-tensor-testgen"]

[dependencies]
burn-common = {path = "../burn-common", version = "0.8.0" }
burn-tensor = {path = "../burn-tensor", version = "0.8.0" }
burn-common = {path = "../burn-common", version = "0.8.0"}
burn-tensor = {path = "../burn-tensor", version = "0.8.0"}
burn-tensor-testgen = {path = "../burn-tensor-testgen", version = "0.8.0", optional = true}

derive-new = {workspace = true}
Expand Down
8 changes: 4 additions & 4 deletions burn-common/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[package]
authors = ["Dilshod Tadjibaev (@antimora)"]
categories = []
description = "Common crate for the Burn framework"
edition = "2021"
license = "MIT/Apache-2.0"
name = "burn-common"
description = "Burn common crate."
keywords = []
categories = []
license = "MIT OR Apache-2.0"
name = "burn-common"
readme = "README.md"
repository = "https://github.com/burn-rs/burn/tree/main/burn-common"
version = "0.8.0"
Expand Down
16 changes: 7 additions & 9 deletions burn-core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
[package]
authors = ["nathanielsimard <nathaniel.simard.42@gmail.com>"]
categories = ["science", "no-std", "embedded", "wasm"]
description = "BURN: Burn Unstoppable Rusty Neurons"
description = "Flexible and Comprehensive Deep Learning Framework in Rust"
edition = "2021"
keywords = ["deep-learning", "machine-learning", "tensor", "pytorch", "ndarray"]
license = "MIT/Apache-2.0"
license = "MIT OR Apache-2.0"
name = "burn-core"
readme = "README.md"
repository = "https://github.com/burn-rs/burn/tree/main/burn-core"

version = "0.8.0"

[features]
Expand All @@ -31,9 +30,8 @@ std = [
]

# Serialization formats
test-tch = [] # To use tch during testing, default uses ndarray.
experimental-named-tensor = ["burn-tensor/experimental-named-tensor"]

test-tch = [] # To use tch during testing, default uses ndarray.

[dependencies]

Expand All @@ -42,7 +40,7 @@ experimental-named-tensor = ["burn-tensor/experimental-named-tensor"]
burn-autodiff = {path = "../burn-autodiff", version = "0.8.0", optional = true, features = ["export_tests"]}
burn-common = {path = "../burn-common", version = "0.8.0", default-features = false}
burn-dataset = {path = "../burn-dataset", version = "0.8.0", default-features = false, optional = true}
burn-derive = {path = "../burn-derive", version = "0.8.0" }
burn-derive = {path = "../burn-derive", version = "0.8.0"}
burn-tensor = {path = "../burn-tensor", version = "0.8.0", default-features = false}

derive-new = {workspace = true}
Expand All @@ -59,15 +57,15 @@ hashbrown = {workspace = true, features = ["serde"]}# no_std compatible
flate2 = {workspace = true, optional = true}
serde = {workspace = true, features = ["derive"]}

serde_json = {workspace = true, features = ["alloc"]}#Default enables std
rmp-serde = {workspace = true, optional = true}
bincode = {workspace = true}
half = {workspace = true}
rmp-serde = {workspace = true, optional = true}
serde_json = {workspace = true, features = ["alloc"]}#Default enables std

[dev-dependencies]
burn-dataset = {path = "../burn-dataset", version = "0.8.0", features = [
"fake",
]}

burn-ndarray = {path = "../burn-ndarray", version = "0.8.0", default-features = false}
burn-tch = {path = "../burn-tch", version = "0.8.0" }
burn-tch = {path = "../burn-tch", version = "0.8.0"}
7 changes: 2 additions & 5 deletions burn-dataset/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
[package]
authors = ["nathanielsimard <nathaniel.simard.42@gmail.com>"]
categories = ["science"]
description = """
This library provides an easy to use dataset API with many manipulations
to easily create your ML data pipeline.
"""
description = "Library with simple dataset APIs for creating ML data pipelines"
edition = "2021"
keywords = ["deep-learning", "machine-learning", "data"]
license = "MIT"
license = "MIT OR Apache-2.0"
name = "burn-dataset"
readme = "README.md"
repository = "https://github.com/burn-rs/burn/tree/main/burn-dataset"
Expand Down
8 changes: 3 additions & 5 deletions burn-derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
[package]
authors = ["nathanielsimard <nathaniel.simard.42@gmail.com>"]
categories = ["science"]
description = """
Burn derive crate.
"""
description = "Derive crate for the Burn framework"
edition = "2021"
keywords = []
license = "MIT/Apache-2.0"
license = "MIT OR Apache-2.0"
name = "burn-derive"
readme = "README.md"
repository = "https://github.com/burn-rs/burn/tree/main/burn-derive"
Expand All @@ -16,7 +14,7 @@ version = "0.8.0"
proc-macro = true

[dependencies]
proc-macro2 = {workspace = true}
proc-macro2 = {workspace = true}
quote = {workspace = true}
# syn = {workspace = true}
syn = "1.0.109" # TODO upgrade to 2.0
18 changes: 8 additions & 10 deletions burn-import/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
[package]
authors = [
"Dilshod Tadjibaev (@antimora)",
"Nathaniel Simard (@nathanielsimard)"
"Nathaniel Simard (@nathanielsimard)",
]
description = "Library for importing datamodels into the Burn framework"
edition = "2021"
license = "MIT/Apache-2.0"
license = "MIT OR Apache-2.0"
name = "burn-import"
description = """
Burn import crate.
"""
readme = "README.md"
repository = "https://github.com/burn-rs/burn/tree/main/burn-import"

Expand All @@ -19,15 +17,15 @@ default = ["onnx"]
onnx = []

[dependencies]
burn = {path = "../burn", version = "0.8.0" }
burn-ndarray = {path = "../burn-ndarray", version = "0.8.0" }
burn-common = {path = "../burn-common", version = "0.8.0" }
burn = {path = "../burn", version = "0.8.0"}
burn-common = {path = "../burn-common", version = "0.8.0"}
burn-ndarray = {path = "../burn-ndarray", version = "0.8.0"}

log = {workspace = true}
log4rs = { workspace = true }
bytemuck = {workspace = true}
derive-new = {workspace = true}
half = {workspace = true}
log = {workspace = true}
log4rs = {workspace = true}
proc-macro2 = {workspace = true}
protobuf = {version = "3.2", features = ["with-bytes"]}
quote = {workspace = true}
Expand Down
11 changes: 5 additions & 6 deletions burn-ndarray/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[package]
authors = ["nathanielsimard <nathaniel.simard.42@gmail.com>"]
categories = ["science", "no-std", "embedded", "wasm"]
description = "NdArray backend for burn"
description = "Ndarray backend for the Burn framework"
edition = "2021"
keywords = ["deep-learning", "machine-learning", "data"]
license = "MIT/Apache-2.0"
license = "MIT OR Apache-2.0"
name = "burn-ndarray"
readme = "README.md"
repository = "https://github.com/burn-rs/burn/tree/main/burn-ndarray"
Expand All @@ -29,9 +29,9 @@ blas-accelerate = ["ndarray/blas", "blas-src/accelerate"] # Accelerate framework
blas-netlib = ["ndarray/blas", "blas-src/netlib"]
blas-openblas = ["ndarray/blas", "blas-src/openblas", "openblas-src"]
blas-openblas-system = [
"ndarray/blas",
"blas-src/openblas",
"openblas-src/system",
"ndarray/blas",
"blas-src/openblas",
"openblas-src/system",
]

[dependencies]
Expand All @@ -42,7 +42,6 @@ burn-autodiff = {path = "../burn-autodiff", version = "0.8.0", features = ["expo
burn-common = {path = "../burn-common", version = "0.8.0", default-features = false}
burn-tensor = {path = "../burn-tensor", version = "0.8.0", default-features = false, features = ["export_tests"]}


matrixmultiply = {version = "0.3.7", default-features = false}
rayon = {workspace = true, optional = true}

Expand Down
3 changes: 1 addition & 2 deletions burn-no-std-tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@ authors = [
"Dilshod Tadjibaev (@antimora)",
]
edition = "2021"
license = "MIT/Apache-2.0"
license = "MIT OR Apache-2.0"
name = "burn-no-std-tests"
readme = "README.md"
repository = "https://github.com/burn-rs/burn/tree/main/burn-no-std-tests"

version = "0.8.0"

[dependencies]
Expand Down
4 changes: 2 additions & 2 deletions burn-tch/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[package]
authors = ["nathanielsimard <nathaniel.simard.42@gmail.com>"]
categories = ["science"]
description = "Tch backend for burn"
description = "Tch backend for the Burn framework"
edition = "2021"
keywords = ["deep-learning", "machine-learning", "data"]
license = "MIT/Apache-2.0"
license = "MIT OR Apache-2.0"
name = "burn-tch"
readme = "README.md"
repository = "https://github.com/burn-rs/burn/tree/main/burn-tch"
Expand Down
16 changes: 8 additions & 8 deletions burn-tensor-testgen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
[package]
name = "burn-tensor-testgen"
version = "0.8.0"
authors = ["nathanielsimard <nathaniel.simard.42@gmail.com>"]
description = "Burn tensor test gen crate."
repository = "https://github.com/burn-rs/burn/tree/main/burn-tensor-testgen"
readme = "README.md"
license = "MIT/Apache-2.0"
description = "Test generation crate for burn-tensor"
edition = "2021"
license = "MIT OR Apache-2.0"
name = "burn-tensor-testgen"
readme = "README.md"
repository = "https://github.com/burn-rs/burn/tree/main/burn-tensor-testgen"
version = "0.8.0"

[lib]
proc-macro = true

[dependencies]
syn = {workspace = true}
quote = {workspace = true}
proc-macro2 = {workspace = true}
quote = {workspace = true}
syn = {workspace = true}
7 changes: 2 additions & 5 deletions burn-tensor/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
[package]
authors = ["nathanielsimard <nathaniel.simard.42@gmail.com>"]
categories = ["science", "no-std", "embedded", "wasm"]
description = """
This library provides multiple tensor implementations hidden behind
an easy to use API that supports reverse mode automatic differentiation.
"""
description = "Tensor library with user-friendly APIs and automatic differentiation support"
edition = "2021"
keywords = ["deep-learning", "machine-learning", "tensor", "pytorch", "ndarray"]
license = "MIT/Apache-2.0"
license = "MIT OR Apache-2.0"
name = "burn-tensor"
readme = "README.md"
repository = "https://github.com/burn-rs/burn/tree/main/burn-tensor"
Expand Down
29 changes: 14 additions & 15 deletions burn-train/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,33 +1,32 @@
[package]
name = "burn-train"
version = "0.8.0"
authors = ["nathanielsimard <nathaniel.simard.42@gmail.com>"]
description = "Training crate for burn"
repository = "https://github.com/burn-rs/burn/tree/main/burn-train"

readme = "README.md"
keywords = ["deep-learning", "machine-learning", "tensor", "pytorch", "ndarray"]
categories = ["science"]
license = "MIT/Apache-2.0"
description = "Training crate for the Burn framework"
edition = "2021"
keywords = ["deep-learning", "machine-learning", "tensor", "pytorch", "ndarray"]
license = "MIT OR Apache-2.0"
name = "burn-train"
readme = "README.md"
repository = "https://github.com/burn-rs/burn/tree/main/burn-train"
version = "0.8.0"

[dependencies]
burn-core = { path = "../burn-core", version = "0.8.0" }
burn-core = {path = "../burn-core", version = "0.8.0"}

# Console
indicatif = "0.17.5"
log4rs = { workspace = true }
log = { workspace = true }
log = {workspace = true}
log4rs = {workspace = true}

# Metrics
nvml-wrapper = "0.9.0"
textplots = "0.8.0"
rgb = "0.8.36"
terminal_size = "0.2.6"
textplots = "0.8.0"

# Utilities
derive-new = { workspace = true }
serde = { workspace = true, features = ["std", "derive"] }
derive-new = {workspace = true}
serde = {workspace = true, features = ["std", "derive"]}

[dev-dependencies]
burn-ndarray = { path ="../burn-ndarray", version = "0.8.0" }
burn-ndarray = {path = "../burn-ndarray", version = "0.8.0"}
18 changes: 9 additions & 9 deletions burn-wgpu/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
[package]
authors = ["nathanielsimard <nathaniel.simard.42@gmail.com>"]
categories = ["science"]
description = "WGPU backend for burn"
description = "WGPU backend for the Burn framework"
edition = "2021"
keywords = ["deep-learning", "machine-learning", "data"]
license = "MIT/Apache-2.0"
keywords = ["deep-learning", "machine-learning", "gpu", "wgpu", "webgpu"]
license = "MIT OR Apache-2.0"
name = "burn-wgpu"
readme = "README.md"
repository = "https://github.com/burn-rs/burn/tree/main/burn-wgpu"
version = "0.8.0"

[features]
default = ["async"]
async = []
default = ["async"]

[dependencies]
burn-tensor = {path = "../burn-tensor", version = "0.8.0"}
burn-common = {path = "../burn-common", version = "0.8.0"}
derive-new = {workspace = true}
burn-tensor = {path = "../burn-tensor", version = "0.8.0"}
bytemuck = {workspace = true}
rand = {workspace = true}
derive-new = {workspace = true}
log = {workspace = true}
num-traits = {workspace = true}
rand = {workspace = true}
spin = {workspace = true}
log = {workspace = true}

# WGPU stuff
wgpu = {workspace = true}
futures-intrusive = {workspace = true}
pollster = {workspace = true}
wgpu = {workspace = true}

[dev-dependencies]
burn-autodiff = {path = "../burn-autodiff", version = "0.8.0", default-features = false, features = [
Expand Down
7 changes: 3 additions & 4 deletions burn/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,22 +1,21 @@
[package]
authors = ["nathanielsimard <nathaniel.simard.42@gmail.com>"]
categories = ["science", "no-std", "embedded", "wasm"]
description = "BURN: Burn Unstoppable Rusty Neurons"
description = "Flexible and Comprehensive Deep Learning Framework in Rust"
edition = "2021"
keywords = ["deep-learning", "machine-learning", "tensor", "pytorch", "ndarray"]
license = "MIT/Apache-2.0"
license = "MIT OR Apache-2.0"
name = "burn"
readme = "README.md"
repository = "https://github.com/burn-rs/burn"

version = "0.8.0"

[features]
default = ["std", "train"]
experimental-named-tensor = ["burn-core/experimental-named-tensor"]
std = [
"burn-core/std",
]
experimental-named-tensor = ["burn-core/experimental-named-tensor"]
train = ["std", "burn-train"] # Training requires std

[dependencies]
Expand Down
Loading

0 comments on commit 834c7ec

Please sign in to comment.