diff --git a/Cargo.toml b/Cargo.toml index c140df6..436ab71 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,21 +1,22 @@ [workspace] members = [ - "crates/auth", - "crates/domain", - "crates/domain-model", - "crates/domain-handlers", - "crates/frontend-options", - "crates/validation", "server", "app", "migration-tool", "set-password", + "crates/*", ] - default-members = ["server"] - resolver = "2" +[workspace.package] +authors = ["Valentin Tolmer "] +documentation = "https://github.com/lldap/lldap" +edition = "2024" +homepage = "https://github.com/lldap/lldap" +license = "GPL-3.0-only" +repository = "https://github.com/lldap/lldap" + [profile.release] lto = true diff --git a/app/Cargo.toml b/app/Cargo.toml index 648e987..ee060c7 100644 --- a/app/Cargo.toml +++ b/app/Cargo.toml @@ -1,13 +1,13 @@ [package] -authors = ["Valentin Tolmer "] +name = "lldap_app" +version = "0.6.2-alpha" description = "Frontend for LLDAP" edition = "2021" -homepage = "https://github.com/lldap/lldap" -license = "GPL-3.0-only" -name = "lldap_app" -repository = "https://github.com/lldap/lldap" -version = "0.6.2-alpha" include = ["src/**/*", "queries/**/*", "Cargo.toml", "../schema.graphql"] +authors.workspace = true +homepage.workspace = true +license.workspace = true +repository.workspace = true [dependencies] anyhow = "1" diff --git a/crates/auth/Cargo.toml b/crates/auth/Cargo.toml index dc6c729..79f1b65 100644 --- a/crates/auth/Cargo.toml +++ b/crates/auth/Cargo.toml @@ -1,12 +1,12 @@ [package] -authors = ["Valentin Tolmer "] +name = "lldap_auth" +version = "0.6.0" description = "Authentication protocol for LLDAP" edition = "2021" -homepage = "https://github.com/lldap/lldap" -license = "GPL-3.0-only" -name = "lldap_auth" -repository = "https://github.com/lldap/lldap" -version = "0.6.0" +authors.workspace = true +homepage.workspace = true +license.workspace = true +repository.workspace = true [features] default = ["opaque_server", "opaque_client"] diff --git a/crates/domain-handlers/Cargo.toml b/crates/domain-handlers/Cargo.toml index 2b0a344..fee6fda 100644 --- a/crates/domain-handlers/Cargo.toml +++ b/crates/domain-handlers/Cargo.toml @@ -1,8 +1,11 @@ [package] -authors = ["Valentin Tolmer "] name = "lldap_domain_handlers" version = "0.1.0" edition = "2021" +authors.workspace = true +homepage.workspace = true +license.workspace = true +repository.workspace = true [features] test = [] diff --git a/crates/domain-model/Cargo.toml b/crates/domain-model/Cargo.toml index 77bc5a7..b3354c8 100644 --- a/crates/domain-model/Cargo.toml +++ b/crates/domain-model/Cargo.toml @@ -1,8 +1,11 @@ [package] -authors = ["Valentin Tolmer "] name = "lldap_domain_model" version = "0.1.0" edition = "2021" +authors.workspace = true +homepage.workspace = true +license.workspace = true +repository.workspace = true [features] test = [] diff --git a/crates/domain/Cargo.toml b/crates/domain/Cargo.toml index 136b1cf..24d8493 100644 --- a/crates/domain/Cargo.toml +++ b/crates/domain/Cargo.toml @@ -1,11 +1,14 @@ [package] +name = "lldap_domain" +version = "0.1.0" authors = [ "Valentin Tolmer ", "Simon Broeng Jensen ", ] -name = "lldap_domain" -version = "0.1.0" edition = "2021" +homepage.workspace = true +license.workspace = true +repository.workspace = true [features] test = [] diff --git a/crates/frontend-options/Cargo.toml b/crates/frontend-options/Cargo.toml index a42d5a3..6b39d77 100644 --- a/crates/frontend-options/Cargo.toml +++ b/crates/frontend-options/Cargo.toml @@ -1,12 +1,12 @@ [package] -authors = ["Valentin Tolmer "] description = "Validation logic for LLDAP" edition = "2021" -homepage = "https://github.com/lldap/lldap" -license = "GPL-3.0-only" -name = "lldap_validation" -repository = "https://github.com/lldap/lldap" -version = "0.6.0" +homepage.workspace = true +license.workspace = true +repository.workspace = true diff --git a/migration-tool/Cargo.toml b/migration-tool/Cargo.toml index 081c45d..3b9fd74 100644 --- a/migration-tool/Cargo.toml +++ b/migration-tool/Cargo.toml @@ -1,12 +1,12 @@ [package] -authors = ["Valentin Tolmer "] +name = "lldap_migration_tool" +version = "0.4.2" description = "CLI migration tool to go from OpenLDAP to LLDAP" edition = "2021" -homepage = "https://github.com/lldap/lldap" -license = "GPL-3.0-only" -name = "lldap_migration_tool" -repository = "https://github.com/lldap/lldap" -version = "0.4.2" +authors.workspace = true +homepage.workspace = true +license.workspace = true +repository.workspace = true [dependencies] anyhow = "*" diff --git a/server/Cargo.toml b/server/Cargo.toml index aac70a7..edad8c4 100644 --- a/server/Cargo.toml +++ b/server/Cargo.toml @@ -1,14 +1,14 @@ [package] -authors = ["Valentin Tolmer "] -categories = ["authentication", "command-line-utilities"] -description = "Super-simple and lightweight LDAP server" -edition = "2021" -homepage = "https://github.com/lldap/lldap" -keywords = ["cli", "ldap", "graphql", "server", "authentication"] -license = "GPL-3.0-only" name = "lldap" -repository = "https://github.com/lldap/lldap" version = "0.6.2-alpha" +description = "Super-simple and lightweight LDAP server" +categories = ["authentication", "command-line-utilities"] +edition = "2021" +keywords = ["cli", "ldap", "graphql", "server", "authentication"] +authors.workspace = true +homepage.workspace = true +license.workspace = true +repository.workspace = true [dependencies] actix = "0.13" diff --git a/set-password/Cargo.toml b/set-password/Cargo.toml index 0cfc294..143ec75 100644 --- a/set-password/Cargo.toml +++ b/set-password/Cargo.toml @@ -1,12 +1,12 @@ [package] -authors = ["Valentin Tolmer "] +name = "lldap_set_password" +version = "0.1.0" description = "CLI tool to set a user password in LLDAP" edition = "2021" -homepage = "https://github.com/lldap/lldap" -license = "GPL-3.0-only" -name = "lldap_set_password" -repository = "https://github.com/lldap/lldap" -version = "0.1.0" +authors.workspace = true +homepage.workspace = true +license.workspace = true +repository.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html