Skip to content

Commit

Permalink
bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
nitsky committed Jul 1, 2021
1 parent 516ea79 commit 5438211
Show file tree
Hide file tree
Showing 29 changed files with 82 additions and 95 deletions.
34 changes: 17 additions & 17 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 1 addition & 14 deletions crates/build/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,13 @@ pub enum Arch {
Wasm32,
}

pub const ARCHS: [Arch; 2] = [Arch::X8664, Arch::AArch64];

impl std::str::FromStr for Arch {
type Err = Error;
fn from_str(s: &str) -> Result<Self, Self::Err> {
match s {
"x86_64" => Ok(Arch::X8664),
"aarch64" => Ok(Arch::AArch64),
"wasm32" => Ok(Arch::Wasm32),
_ => Err(anyhow!("invalid arch")),
}
}
Expand Down Expand Up @@ -42,18 +41,6 @@ pub enum Target {
Wasm32UnknownUnknown,
}

pub const TARGETS: [Target; 9] = [
Target::X8664UnknownLinuxGnu,
Target::AArch64UnknownLinuxGnu,
Target::X8664UnknownLinuxMusl,
Target::AArch64UnknownLinuxMusl,
Target::X8664AppleDarwin,
Target::AArch64AppleDarwin,
Target::X8664PcWindowsMsvc,
Target::X8664PcWindowsGnu,
Target::Wasm32UnknownUnknown,
];

impl std::str::FromStr for Target {
type Err = Error;
fn from_str(s: &str) -> Result<Self, Self::Err> {
Expand Down
2 changes: 1 addition & 1 deletion crates/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ edition = "2018"
license = "MIT"
name = "tangram_cli"
publish = false
version = "0.4.0"
version = "0.5.0"

[[bin]]
name = "tangram"
Expand Down
26 changes: 13 additions & 13 deletions crates/core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ license = "MIT"
name = "tangram_core"
publish = true
repository = "https://github.com/tangramxyz/tangram"
version = "0.4.0"
version = "0.5.0"

[lib]
path = "lib.rs"
Expand All @@ -28,18 +28,18 @@ rand = "0.8"
rand_xoshiro = "0.6"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tangram_features = { version = "0.4", path = "../features" }
tangram_finite = { version = "0.4", path = "../finite" }
tangram_id = { version = "0.4", path = "../id" }
tangram_kill_chip = { version = "0.4", path = "../kill_chip" }
tangram_linear = { version = "0.4", path = "../linear" }
tangram_metrics = { version = "0.4", path = "../metrics" }
tangram_model = { version = "0.4", path = "../model" }
tangram_progress_counter = { version = "0.4", path = "../progress_counter" }
tangram_table = { version = "0.4", path = "../table" }
tangram_text = { version = "0.4", path = "../text" }
tangram_tree = { version = "0.4", path = "../tree" }
tangram_zip = { version = "0.4", path = "../zip" }
tangram_features = { version = "=0.5.0", path = "../features" }
tangram_finite = { version = "=0.5.0", path = "../finite" }
tangram_id = { version = "=0.5.0", path = "../id" }
tangram_kill_chip = { version = "=0.5.0", path = "../kill_chip" }
tangram_linear = { version = "=0.5.0", path = "../linear" }
tangram_metrics = { version = "=0.5.0", path = "../metrics" }
tangram_model = { version = "=0.5.0", path = "../model" }
tangram_progress_counter = { version = "=0.5.0", path = "../progress_counter" }
tangram_table = { version = "=0.5.0", path = "../table" }
tangram_text = { version = "=0.5.0", path = "../text" }
tangram_tree = { version = "=0.5.0", path = "../tree" }
tangram_zip = { version = "=0.5.0", path = "../zip" }

[target.wasm32-unknown-unknown.dependencies]
getrandom = { version = "0.2", features = ["js"] }
10 changes: 5 additions & 5 deletions crates/features/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ license = "MIT"
name = "tangram_features"
publish = true
repository = "https://github.com/tangramxyz/tangram"
version = "0.4.0"
version = "0.5.0"

[lib]
path = "lib.rs"
Expand All @@ -21,7 +21,7 @@ itertools = "0.10"
ndarray = { version = "0.15", features = ["rayon"] }
num = "0.4"
serde = { version = "1", features = ["derive"] }
tangram_metrics = { version = "0.4", path = "../metrics" }
tangram_table = { version = "0.4", path = "../table" }
tangram_text = { version = "0.4", path = "../text" }
tangram_zip = { version = "0.4", path = "../zip" }
tangram_metrics = { version = "=0.5.0", path = "../metrics" }
tangram_table = { version = "=0.5.0", path = "../table" }
tangram_text = { version = "=0.5.0", path = "../text" }
tangram_zip = { version = "=0.5.0", path = "../zip" }
2 changes: 1 addition & 1 deletion crates/finite/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ license = "MIT"
name = "tangram_finite"
publish = true
repository = "https://github.com/tangramxyz/tangram"
version = "0.4.0"
version = "0.5.0"

[lib]
path = "lib.rs"
Expand Down
2 changes: 1 addition & 1 deletion crates/id/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ license = "MIT"
name = "tangram_id"
publish = true
repository = "https://github.com/tangramxyz/tangram"
version = "0.4.0"
version = "0.5.0"

[lib]
path = "lib.rs"
Expand Down
2 changes: 1 addition & 1 deletion crates/kill_chip/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ license = "MIT"
name = "tangram_kill_chip"
publish = true
repository = "https://github.com/tangramxyz/tangram"
version = "0.4.0"
version = "0.5.0"

[lib]
path = "lib.rs"
14 changes: 7 additions & 7 deletions crates/linear/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ license = "MIT"
name = "tangram_linear"
publish = true
repository = "https://github.com/tangramxyz/tangram"
version = "0.4.0"
version = "0.5.0"

[lib]
path = "lib.rs"
Expand Down Expand Up @@ -54,9 +54,9 @@ num = "0.4"
rayon = "1.5"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tangram_features = { version = "0.4", path = "../features" }
tangram_kill_chip = { version = "0.4", path = "../kill_chip" }
tangram_metrics = { version = "0.4", path = "../metrics" }
tangram_progress_counter = { version = "0.4", path = "../progress_counter" }
tangram_table = { version = "0.4", path = "../table" }
tangram_zip = { version = "0.4", path = "../zip" }
tangram_features = { version = "=0.5.0", path = "../features" }
tangram_kill_chip = { version = "=0.5.0", path = "../kill_chip" }
tangram_metrics = { version = "=0.5.0", path = "../metrics" }
tangram_progress_counter = { version = "=0.5.0", path = "../progress_counter" }
tangram_table = { version = "=0.5.0", path = "../table" }
tangram_zip = { version = "=0.5.0", path = "../zip" }
4 changes: 2 additions & 2 deletions crates/metrics/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ license = "MIT"
name = "tangram_metrics"
publish = true
repository = "https://github.com/tangramxyz/tangram"
version = "0.4.0"
version = "0.5.0"

[lib]
path = "lib.rs"
Expand All @@ -20,4 +20,4 @@ insta = "1"
itertools = "0.10"
ndarray = { version = "0.15", features = ["rayon"] }
num = "0.4"
tangram_zip = { version = "0.4", path = "../zip" }
tangram_zip = { version = "=0.5.0", path = "../zip" }
8 changes: 4 additions & 4 deletions crates/model/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ license = "MIT"
name = "tangram_model"
publish = true
repository = "https://github.com/tangramxyz/tangram"
version = "0.4.0"
version = "0.5.0"

[lib]
path = "lib.rs"
Expand All @@ -18,6 +18,6 @@ anyhow = { version = "1", features = ["backtrace"] }
buffalo = "0.1"
fnv = "1"
num = "0.4"
tangram_linear = { version = "0.4", path = "../linear" }
tangram_text = { version = "0.4", path = "../text" }
tangram_tree = { version = "0.4", path = "../tree" }
tangram_linear = { version = "=0.5.0", path = "../linear" }
tangram_text = { version = "=0.5.0", path = "../text" }
tangram_tree = { version = "=0.5.0", path = "../tree" }
2 changes: 1 addition & 1 deletion crates/progress_counter/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ license = "MIT"
name = "tangram_progress_counter"
publish = true
repository = "https://github.com/tangramxyz/tangram"
version = "0.4.0"
version = "0.5.0"

[lib]
path = "lib.rs"
Expand Down
6 changes: 3 additions & 3 deletions crates/table/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ license = "MIT"
name = "tangram_table"
publish = true
repository = "https://github.com/tangramxyz/tangram"
version = "0.4.0"
version = "0.5.0"

[lib]
path = "lib.rs"
Expand All @@ -23,5 +23,5 @@ fast-float = "0.2"
fnv = "1"
ndarray = { version = "0.15", features = ["rayon"] }
num = "0.4"
tangram_progress_counter = { version = "0.4", path = "../progress_counter" }
tangram_zip = { version = "0.4", path = "../zip" }
tangram_progress_counter = { version = "=0.5.0", path = "../progress_counter" }
tangram_zip = { version = "=0.5.0", path = "../zip" }
2 changes: 1 addition & 1 deletion crates/text/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ license = "MIT"
name = "tangram_text"
publish = true
repository = "https://github.com/tangramxyz/tangram"
version = "0.4.0"
version = "0.5.0"

[lib]
path = "lib.rs"
Expand Down
Loading

0 comments on commit 5438211

Please sign in to comment.