Skip to content

Commit

Permalink
chore(license): set MIT license to all crates and workspace (#1215)
Browse files Browse the repository at this point in the history
* chore(license): set MIT license to all crates and workspace
  • Loading branch information
mchenani authored Nov 4, 2024
1 parent 71b47a2 commit 5f3bdee
Show file tree
Hide file tree
Showing 12 changed files with 14 additions and 2 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ resolver = "2"

[workspace.package]
version = "0.1.0"
license = "MIT"

[workspace.dependencies]
anyhow = "1.0"
Expand Down
1 change: 1 addition & 0 deletions bindings_ffi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
edition = "2021"
name = "xmtpv3"
version.workspace = true
license.workspace = true

[lib]
crate-type = ["lib", "cdylib", "staticlib"]
Expand Down
3 changes: 2 additions & 1 deletion mls_validation_service/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
[package]
edition = "2021"
name = "mls_validation_service"
version = "0.1.0"
version = "0.1.0" # Intentionally decoupled from the Workspace versioning
build = "build.rs"
license.workspace = true

[[bin]] # Bin to run the Validation Service
name = "mls-validation-service"
Expand Down
1 change: 1 addition & 0 deletions xmtp_api_grpc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
edition = "2021"
name = "xmtp_api_grpc"
version.workspace = true
license.workspace = true

[dependencies]
async-stream.workspace = true
Expand Down
1 change: 1 addition & 0 deletions xmtp_api_http/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
edition = "2021"
name = "xmtp_api_http"
version.workspace = true
license.workspace = true

[lib]
crate-type = ["cdylib", "rlib"]
Expand Down
1 change: 1 addition & 0 deletions xmtp_cryptography/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ edition = "2021"
name = "xmtp_cryptography"
rust-version = "1.70"
version.workspace = true
license.workspace = true

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu", "wasm32-unknown-unknown", "aarch64-apple-darwin"]
Expand Down
1 change: 1 addition & 0 deletions xmtp_id/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
edition = "2021"
name = "xmtp_id"
version.workspace = true
license.workspace = true

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu", "wasm32-unknown-unknown", "aarch64-apple-darwin"]
Expand Down
3 changes: 2 additions & 1 deletion xmtp_mls/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
[package]
edition = "2021"
name = "xmtp_mls"
version = "0.1.0"
version.workspace = true
license.workspace = true

[package.metadata.docs.rs]
all-features = true
Expand Down
1 change: 1 addition & 0 deletions xmtp_proto/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
edition = "2021"
name = "xmtp_proto"
version.workspace = true
license.workspace = true

[dependencies]
futures = { workspace = true }
Expand Down
1 change: 1 addition & 0 deletions xmtp_user_preferences/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
edition = "2021"
name = "xmtp_user_preferences"
version.workspace = true
license.workspace = true

[dependencies]
base64.workspace = true
Expand Down
1 change: 1 addition & 0 deletions xmtp_v2/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ edition = "2021"
name = "xmtp_v2"
rust-version = "1.64"
version.workspace = true
license.workspace = true

[dependencies]
aes-gcm = "0.10.1"
Expand Down
1 change: 1 addition & 0 deletions xtask/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "xtask"
edition = "2021"
version.workspace = true
license.workspace = true

[dependencies]
color-eyre = "0.6"
Expand Down

0 comments on commit 5f3bdee

Please sign in to comment.