diff --git a/.cargo/config b/.cargo/config new file mode 100644 index 00000000..bbfd3f48 --- /dev/null +++ b/.cargo/config @@ -0,0 +1,7 @@ +paths = [ + "serde", + "serde_codegen", + "serde_codegen_internals", + "serde_macros", + "serde_test", +] diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 00000000..c91af696 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,45 @@ +# Contributing to Serde + +Serde welcomes contribution from everyone. Here are the guidelines if you are +thinking of helping us: + +## Contributions + +Contributions to Serde or its dependencies should be made in the form of GitHub +pull requests. Each pull request will be reviewed by a core contributor +(someone with permission to land patches) and either landed in the main tree or +given feedback for changes that would be required. All contributions should +follow this format, even those from core contributors. + +Should you wish to work on an issue, please claim it first by commenting on +the GitHub issue that you want to work on it. This is to prevent duplicated +efforts from contributors on the same issue. + +## Pull Request Checklist + +- Branch from the master branch and, if needed, rebase to the current master + branch before submitting your pull request. If it doesn't merge cleanly with + master you may be asked to rebase your changes. + +- Commits should be as small as possible, while ensuring that each commit is + correct independently (i.e., each commit should compile and pass tests). + +- If your patch is not getting reviewed or you need a specific person to review + it, you can @-reply a reviewer asking for a review in the pull request or a + comment, or you can ask for a review in `#serde` on `irc.mozilla.org`. + +- Add tests relevant to the fixed bug or new feature. + +## Conduct + +In all Serde-related forums, we follow the [Rust Code of +Conduct](https://www.rust-lang.org/conduct.html). For escalation or moderation +issues, please contact Erick (erick.tryzelaar@gmail.com) instead of the Rust +moderation team. + +## Communication + +Beyond opening tickets on the +[serde-rs/serde](https://github.com/serde-rs/serde) project, Serde contributors +frequent the `#serde` channel on +[`irc.mozilla.org`](https://wiki.mozilla.org/IRC). diff --git a/examples/.cargo/config b/examples/.cargo/config deleted file mode 100644 index 19551331..00000000 --- a/examples/.cargo/config +++ /dev/null @@ -1,5 +0,0 @@ -paths = [ - "../serde", - "../serde_codegen", - "../serde_macros", -] diff --git a/serde_codegen/Cargo.toml b/serde_codegen/Cargo.toml index eaebaa33..2b9300fb 100644 --- a/serde_codegen/Cargo.toml +++ b/serde_codegen/Cargo.toml @@ -32,6 +32,6 @@ aster = { version = "^0.21.1", default-features = false } clippy = { version = "^0.*", optional = true } quasi = { version = "^0.15.0", default-features = false } quasi_macros = { version = "^0.15.0", optional = true } -serde_codegen_internals = { version = "^0.3.0", path = "../serde_codegen_internals", default-features = false } +serde_codegen_internals = { version = "^0.3.0", default-features = false } syntex = { version = "^0.38.0", optional = true } syntex_syntax = { version = "^0.38.0", optional = true } diff --git a/serde_macros/Cargo.toml b/serde_macros/Cargo.toml index cb642805..b5f67038 100644 --- a/serde_macros/Cargo.toml +++ b/serde_macros/Cargo.toml @@ -18,15 +18,15 @@ nightly-testing = ["clippy", "serde/nightly-testing", "serde_codegen/nightly-tes [dependencies] clippy = { version = "^0.*", optional = true } -serde_codegen = { version = "^0.7.14", path = "../serde_codegen", default-features = false, features = ["nightly"] } +serde_codegen = { version = "^0.7.14", default-features = false, features = ["nightly"] } [dev-dependencies] clippy = "^0.0.78" compiletest_rs = "^0.2.0" fnv = "1.0" rustc-serialize = "^0.3.16" -serde = { version = "^0.7.14", path = "../serde" } -serde_test = { version = "^0.7.14", path = "../serde_test" } +serde = "0.7.14" +serde_test = "0.7.14" [[test]] name = "test" diff --git a/serde_test/Cargo.toml b/serde_test/Cargo.toml index 60021564..b97aa8ff 100644 --- a/serde_test/Cargo.toml +++ b/serde_test/Cargo.toml @@ -11,4 +11,4 @@ keywords = ["serde", "serialization"] include = ["Cargo.toml", "src/**/*.rs"] [dependencies] -serde = { version = "0.7.14", path = "../serde" } +serde = "0.7.14" diff --git a/testing/Cargo.toml b/testing/Cargo.toml index 4eb83a2a..24b638fc 100644 --- a/testing/Cargo.toml +++ b/testing/Cargo.toml @@ -14,13 +14,13 @@ build = "build.rs" nightly-testing = ["clippy", "serde/nightly-testing", "serde_codegen/nightly-testing"] [build-dependencies] -serde_codegen = { version = "*", path = "../serde_codegen", features = ["with-syntex"] } +serde_codegen = { version = "*", features = ["with-syntex"] } [dev-dependencies] fnv = "1.0" rustc-serialize = "^0.3.16" -serde = { version = "*", path = "../serde" } -serde_test = { version = "*", path = "../serde_test" } +serde = "*" +serde_test = "*" [dependencies] clippy = { version = "^0.*", optional = true }